[packages/kf5-kcontacts] - Initial version - ka5-kcontacts is now kf5-kcontacts.

lmasko lmasko at pld-linux.org
Sun Jan 10 23:24:18 CET 2021


commit dafe4e812b30fb4c82eb24be3b726bc549b64210
Author: Łukasz Maśko <lmasko at pld-linux.org>
Date:   Sun Jan 10 23:23:28 2021 +0100

    - Initial version - ka5-kcontacts is now kf5-kcontacts.

 kf5-kcontacts.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
---
diff --git a/kf5-kcontacts.spec b/kf5-kcontacts.spec
new file mode 100644
index 0000000..f9d368c
--- /dev/null
+++ b/kf5-kcontacts.spec
@@ -0,0 +1,85 @@
+%define		kdeframever	5.77
+%define		qtver		5.15.0
+%define		kfname		kcontacts
+Summary:	kcontacts
+Name:		kf5-%{kfname}
+Version:    5.77.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5:	2c9da8790a2557b330d803698d91b65f
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	Qt5Gui-devel
+BuildRequires:	Qt5Test-devel >= %{qtver}
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	gettext-devel
+BuildRequires:	kf5-extra-cmake-modules >= %{version}
+BuildRequires:	kf5-kcodecs-devel >= %{version}
+BuildRequires:	kf5-kconfig-devel >= %{version}
+BuildRequires:	kf5-kcoreaddons-devel >= %{version}
+BuildRequires:	kf5-ki18n-devel >= %{version}
+BuildRequires:	ninja
+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
+Address book API based on KDE Frameworks.
+
+%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 %{kfname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+
+%prep
+%setup -q -n %{kfname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake -G Ninja \
+	-DHTML_INSTALL_DIR=%{_kdedocdir} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	..
+%ninja_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%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)
+%{_datadir}/qlogging-categories5/kcontacts.categories
+%{_datadir}/qlogging-categories5/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/kf5-kcontacts.git/commitdiff/dafe4e812b30fb4c82eb24be3b726bc549b64210



More information about the pld-cvs-commit mailing list