commit 6952738591859765f3d83ec9c14caca1687a5326
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Thu Nov 20 09:39:41 2014 +0100

    - initial ; no idea where to put /usr/include/KF5

 kde5-attica.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 91 insertions(+)
---
diff --git a/kde5-attica.spec b/kde5-attica.spec
new file mode 100644
index 0000000..9ae2a2f
--- /dev/null
+++ b/kde5-attica.spec
@@ -0,0 +1,91 @@
+#
+# Conditional build:
+#
+%bcond_without tests
+
+%define                _state          stable
+%define                orgname         attica
+%define                kdeframever     5.4
+%define                qt_ver          5.3.2
+
+Summary:       Attica Library - implementation of Open Collaboration Services 
API for Qt
+Summary(pl.UTF-8):     Attica Library - implementacja API Serwisów Otwartej 
Współpracy dla Qt
+Name:          kde5-%{orgname}
+Version:       5.4.0
+Release:       1
+License:       GPL
+Group:         X11/Libraries
+Source0:       
http://download.kde.org/%{_state}/frameworks/%{kdeframever}/%{orgname}-%{version}.tar.xz
+# Source0-md5: 493c08ce82d5ab34bf2efeb1a01349ab
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qt_ver}
+BuildRequires: Qt5Network-devel >= %{qt_ver}
+BuildRequires: Qt5Test-devel >= %{qt_ver}
+BuildRequires: kde5-extra-cmake-modules >= 1.4.0
+%if %{with tests}
+BuildRequires: Qt5Gui-devel >= %{qt_ver}
+BuildRequires: Qt5Widgets-devel >= %{qt_ver}
+%endif
+BuildRequires: rpmbuild(macros) >= 1.600
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Attica is a Qt library that implements the Open Collaboration Services
+API. It grants easy access to the services such as querying
+information about persons and contents.
+
+%description -l pl.UTF-8
+Attica jest biblioteką Qt, która implementuje API Serwisów Otwartej
+Współpracy. Pozwala na łatwy dostęp do serwisów takich jak zapytania o
+informacje o osobach i treściach.
+
+%package devel
+Summary:       Header files for attica library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki attica
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for attica library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki attica.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       ..
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p      /sbin/ldconfig
+%postun        -p      /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libKF5Attica.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libKF5Attica.so.5
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libKF5Attica.so
+%{_includedir}/KF5/Attica
+%{_includedir}/KF5/attica_version.h
+%{_pkgconfigdir}/libKF5Attica.pc
+%{_libdir}/cmake/KF5Attica
+%{_libdir}/qt5/mkspecs/modules/qt_Attica.pri
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde5-attica.git/commitdiff/6952738591859765f3d83ec9c14caca1687a5326

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to