[packages/ka5-kcontacts] - 18.04.0
witekfl
witekfl at pld-linux.org
Tue May 8 00:45:34 CEST 2018
commit 3b641b91206d3d4811dd29e4d9910b0e09c43621
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Tue May 8 00:45:09 2018 +0200
- 18.04.0
ka5-kcontacts.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
---
diff --git a/ka5-kcontacts.spec b/ka5-kcontacts.spec
new file mode 100644
index 0000000..8766974
--- /dev/null
+++ b/ka5-kcontacts.spec
@@ -0,0 +1,77 @@
+%define kdeappsver 18.04.0
+%define qtver 5.3.2
+%define kaname kcontacts
+Summary: kcontacts
+Name: ka5-%{kaname}
+Version: 18.04.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Applications
+Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 27e24bdc9d01febd86f8757aa458bedc
+URL: http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+kcontacts.
+
+%package devel
+Summary: Header files for %{kaname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kaname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+/etc/xdg/kcontacts.categories
+/etc/xdg/kcontacts.renamecategories
+%ghost %{_libdir}/libKF5Contacts.so.5
+%{_libdir}/libKF5Contacts.so.5.*.*
+%{_datadir}/kf5/kcontacts
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF5/KContacts
+%{_includedir}/KF5/kcontacts_version.h
+%{_libdir}/cmake/KF5Contacts
+%{_libdir}/libKF5Contacts.so
+%{_libdir}/qt5/mkspecs/modules/qt_KContacts.pri
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-kcontacts.git/commitdiff/3b641b91206d3d4811dd29e4d9910b0e09c43621
More information about the pld-cvs-commit
mailing list