1 %define kdeappsver 21.04.3
2 %define kframever 5.56.0
4 %define kaname kaddressbook
9 License: GPL v2+/LGPL v2.1+
11 Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
12 # Source0-md5: 6334efab8f191b9214ede6ef53cb337c
13 URL: http://www.kde.org/
14 BuildRequires: Qt5Core-devel >= %{qtver}
15 BuildRequires: Qt5DBus-devel
16 BuildRequires: Qt5Gui-devel
17 BuildRequires: Qt5PrintSupport-devel
18 BuildRequires: Qt5Test-devel
19 BuildRequires: Qt5Widgets-devel
20 BuildRequires: cmake >= 2.8.12
21 BuildRequires: gettext-devel
22 BuildRequires: gpgme-c++-devel >= 1.8.0
23 BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
24 BuildRequires: ka5-akonadi-search-devel >= %{kdeappsver}
25 BuildRequires: ka5-grantleetheme-devel >= %{kdeappsver}
26 BuildRequires: ka5-kontactinterface-devel >= %{kdeappsver}
27 BuildRequires: ka5-kpimtextedit-devel >= %{kdeappsver}
28 BuildRequires: ka5-libkdepim-devel >= %{kdeappsver}
29 BuildRequires: ka5-libkleo-devel >= %{kdeappsver}
30 BuildRequires: ka5-pimcommon-devel >= %{kdeappsver}
31 BuildRequires: kf5-extra-cmake-modules >= %{kframever}
32 BuildRequires: kf5-kcmutils-devel >= %{kframever}
33 BuildRequires: kf5-kcrash-devel >= %{kframever}
34 BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
35 BuildRequires: kf5-kdoctools-devel >= %{kframever}
36 BuildRequires: kf5-kiconthemes-devel >= %{kframever}
37 BuildRequires: kf5-prison-devel >= %{kframever}
39 BuildRequires: qt5-build >= %{qtver}
40 BuildRequires: rpmbuild(macros) >= 1.164
41 BuildRequires: shared-mime-info
42 BuildRequires: tar >= 1:1.22
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 KAddressBook stores all the personal details of your family, friends
52 • Imports and exports to nearly every address book standard • Reads
53 .vcf format files, and can import and export vCards and csv format
54 files • Can use multiple LDAPservers • Configurable filters and
55 powerful search capabilities • Integrates with other Kontact
56 components, e.g. exporting Birthday reminders to KOrganizer • Capable
57 of groupware integration • Powered by Akonadi
59 %description -l pl.UTF-8
60 KAddressBook potrafi zachować szczegóły osobiste Twojej rodziny, przyjaciół
65 • Importuje i eksportuje do niemalże każdego standardu książki adresowej
66 • Czyta pliki formatu .vcf, może importować i eksportować pliki vCards
68 • Może używać wielu serwerów LDAP
69 • Konfigurowalne filtry i duże możliwości wyszukiwania
70 • Integruje się z innymi komponentami Kontact, np. eksportując
71 przypomnienia o urodzinach do KOrganizera
72 • Możliwość integracji z groupware
73 • "Napędzane" przez Akonadi
76 Summary: Header files for %{kaname} development
77 Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
78 Group: X11/Development/Libraries
79 Requires: %{name} = %{version}-%{release}
82 Header files for %{kaname} development.
84 %description devel -l pl.UTF-8
85 Pliki nagłówkowe dla programistów używających %{kaname}.
88 %setup -q -n %{kaname}-%{version}
95 -DHTML_INSTALL_DIR=%{_kdedocdir} \
96 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
101 rm -rf $RPM_BUILD_ROOT
102 %ninja_install -C build
104 %find_lang %{kaname} --all-name --with-kde
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
112 %files -f %{kaname}.lang
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_bindir}/kaddressbook
115 %ghost %{_libdir}/libkaddressbookprivate.so.5
116 %attr(755,root,root) %{_libdir}/libkaddressbookprivate.so.*.*.*
117 %attr(755,root,root) %{_libdir}/qt5/plugins/kaddressbook_config_plugins.so
118 %attr(755,root,root) %{_libdir}/qt5/plugins/kaddressbookpart.so
119 %{_desktopdir}/kaddressbook-importer.desktop
120 %{_desktopdir}/org.kde.kaddressbook.desktop
121 %{_iconsdir}/hicolor/128x128/apps/kaddressbook.png
122 %{_iconsdir}/hicolor/16x16/apps/kaddressbook.png
123 %{_iconsdir}/hicolor/22x22/apps/kaddressbook.png
124 %{_iconsdir}/hicolor/32x32/apps/kaddressbook.png
125 %{_iconsdir}/hicolor/48x48/apps/kaddressbook.png
126 %{_iconsdir}/hicolor/64x64/apps/kaddressbook.png
127 %{_iconsdir}/hicolor/scalable/apps/kaddressbook.svg
128 %{_datadir}/kaddressbook
129 %attr(755,root,root) %{_datadir}/kconf_update/kaddressbook-15.08-kickoff.sh
130 %{_datadir}/kconf_update/kaddressbook.upd
131 %{_datadir}/kontact/ksettingsdialog/kaddressbook.setdlg
132 %{_datadir}/kservices5/kaddressbook_config_plugins.desktop
133 %{_datadir}/kservices5/kontact/kaddressbookplugin.desktop
134 %{_datadir}/metainfo/org.kde.kaddressbook.appdata.xml
135 %{_datadir}/qlogging-categories5/kaddressbook.categories
136 %{_datadir}/qlogging-categories5/kaddressbook.renamecategories
137 %ghost %{_libdir}/libKPimAddressbookImportExport.so.5
138 %attr(755,root,root) %{_libdir}/libKPimAddressbookImportExport.so.*.*.*
139 %attr(755,root,root) %{_libdir}/qt5/plugins/kontact5/kontact_kaddressbookplugin.so
140 %{_desktopdir}/kaddressbook-view.desktop
143 %defattr(644,root,root,755)
144 %{_includedir}/KPim/KAddressBookImportExport
145 %{_includedir}/KPim/kaddressbookimportexport
146 %{_includedir}/KPim/kaddressbookimportexport_version.h
147 %{_libdir}/cmake/KPimAddressbookImportExport
148 %{_libdir}/libKPimAddressbookImportExport.so
149 %{_libdir}/qt5/mkspecs/modules/qt_KAddressbookImportExport.pri