[packages/kde5-attica] - new - many TODOs

witekfl witekfl at pld-linux.org
Wed Jul 9 09:29:03 CEST 2014


commit 291cc5318391ef54daf451b540ab203f69cdfeda
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Jul 9 09:28:31 2014 +0200

    - new
    - many TODOs

 kde5-attica.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)
---
diff --git a/kde5-attica.spec b/kde5-attica.spec
new file mode 100644
index 0000000..d481cc6
--- /dev/null
+++ b/kde5-attica.spec
@@ -0,0 +1,87 @@
+# TODO:
+# - proper place for *.pri,
+# - set ECM_MKSPECS_INSTALL_DIR in kde5-extra-cmake-modules
+# - runtime Requires if any
+# - dir /usr/include/KF5 not packaged
+%define         _state          stable
+%define		orgname		attica
+
+Summary:	Attica
+Name:		kde5-attica
+Version:	5.0.0
+Release:	0.1
+License:	LGPL v2.1+
+Group:		X11/Libraries
+Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/%{version}/%{orgname}-%{version}.tar.xz
+# Source0-md5:	73d1d1953b12eda42f6f4010df889b73
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Core-devel
+BuildRequires:	Qt5Gui-devel >= 5.3.1
+BuildRequires:	Qt5Network-devel
+BuildRequires:	Qt5Test-devel
+BuildRequires:	Qt5Widgets-devel >= 5.2.0
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	kde5-extra-cmake-modules >= 1.0.0
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Attica is a Qt library that implements the Open Collaboration Services
+API version 1.6. The REST API is defined here:
+http://freedesktop.org/wiki/Specifications/open-collaboration-services-draft/
+
+It grants easy access to the services such as querying information
+about persons and contents. The library is used in KNewStuff3 as
+content provider. In order to integrate with KDE's Plasma Desktop, a
+platform plugin exists in kdebase.
+
+
+%package devel
+Summary:	Header files for Attica development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających Attica
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for Attica development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających attica.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	-DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
+	../
+%{__make}
+
+%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)
+%doc AUTHORS ChangeLog README.md
+%attr(755,root,root) %{_libdir}/libKF5Attica.so.5.0.0
+%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
+%{_libdir}/cmake/KF5Attica
+%{_pkgconfigdir}/libKF5Attica.pc
+%{_libdir}/qt5/mkspecs/modules/qt_Attica.pri
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde5-attica.git/commitdiff/291cc5318391ef54daf451b540ab203f69cdfeda



More information about the pld-cvs-commit mailing list