]> git.pld-linux.org Git - packages/ka5-kaddressbook.git/blame - ka5-kaddressbook.spec
- updated to 23.08.3
[packages/ka5-kaddressbook.git] / ka5-kaddressbook.spec
CommitLineData
33adbdbe
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
c181c256 4%define kdeappsver 23.08.3
45437c95
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
baacc1f0
WF
7%define kaname kaddressbook
8Summary: KAddressbook
9Name: ka5-%{kaname}
c181c256 10Version: 23.08.3
c2902ed2 11Release: 1
baacc1f0
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Libraries
e6f75ea1 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
c181c256 15# Source0-md5: e7a73490d4b1116ecbb126c94f0a7c96
baacc1f0
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5DBus-devel
19BuildRequires: Qt5Gui-devel
20BuildRequires: Qt5PrintSupport-devel
21BuildRequires: Qt5Test-devel
22BuildRequires: Qt5Widgets-devel
34276416 23BuildRequires: cmake >= 3.20
baacc1f0
WF
24BuildRequires: gettext-devel
25BuildRequires: gpgme-c++-devel >= 1.8.0
26BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
27BuildRequires: ka5-akonadi-search-devel >= %{kdeappsver}
28BuildRequires: ka5-grantleetheme-devel >= %{kdeappsver}
baacc1f0
WF
29BuildRequires: ka5-kontactinterface-devel >= %{kdeappsver}
30BuildRequires: ka5-kpimtextedit-devel >= %{kdeappsver}
31BuildRequires: ka5-libkdepim-devel >= %{kdeappsver}
32BuildRequires: ka5-libkleo-devel >= %{kdeappsver}
33BuildRequires: ka5-pimcommon-devel >= %{kdeappsver}
99b66999
WF
34BuildRequires: kf5-extra-cmake-modules >= %{kframever}
35BuildRequires: kf5-kcmutils-devel >= %{kframever}
36BuildRequires: kf5-kcrash-devel >= %{kframever}
37BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
38BuildRequires: kf5-kdoctools-devel >= %{kframever}
39BuildRequires: kf5-kiconthemes-devel >= %{kframever}
40BuildRequires: kf5-prison-devel >= %{kframever}
3d407295 41BuildRequires: kuserfeedback-devel
baacc1f0
WF
42BuildRequires: ninja
43BuildRequires: qt5-build >= %{qtver}
44BuildRequires: rpmbuild(macros) >= 1.164
45BuildRequires: shared-mime-info
46BuildRequires: tar >= 1:1.22
47BuildRequires: xz
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
51KAddressBook stores all the personal details of your family, friends
52and other contacts.
53
54Features
55
8c6d715b
WF
56• Imports and exports to nearly every address book standard •
57Reads .vcf format files, and can import and export vCards and csv
58format files • Can use multiple LDAPservers • Configurable filters
59and powerful search capabilities • Integrates with other Kontact
60components, e.g. exporting Birthday reminders to KOrganizer •
61Capable of groupware integration • Powered by Akonadi
baacc1f0 62
38e08344 63%description -l pl.UTF-8
9df1517f
WF
64KAddressBook potrafi zachować szczegóły osobiste Twojej rodziny,
65przyjaciół i inne kontakty.
38e08344
WF
66
67Właściwości
68
9df1517f 69• Importuje i eksportuje do niemalże każdego standardu książki
8c6d715b
WF
70adresowej • Czyta pliki formatu .vcf, może importować i
71eksportować pliki vCards i csv. • Może używać wielu serwerów
72LDAP • Konfigurowalne filtry i duże możliwości wyszukiwania •
73Integruje się z innymi komponentami Kontact, np. eksportując
74przypomnienia o urodzinach do KOrganizera • Możliwość integracji
75z groupware • "Napędzane" przez Akonadi
38e08344 76
a4d857b0
WF
77%package devel
78Summary: Header files for %{kaname} development
79Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
80Group: X11/Development/Libraries
81Requires: %{name} = %{version}-%{release}
82
83%description devel
84Header files for %{kaname} development.
85
86%description devel -l pl.UTF-8
87Pliki nagłówkowe dla programistów używających %{kaname}.
88
baacc1f0
WF
89%prep
90%setup -q -n %{kaname}-%{version}
91
92%build
baacc1f0 93%cmake \
34276416 94 -B build \
baacc1f0 95 -G Ninja \
33adbdbe 96 %{!?with_tests:-DBUILD_TESTING=OFF} \
99b66999 97 -DHTML_INSTALL_DIR=%{_kdedocdir} \
34276416
WF
98 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
99%ninja_build -C build
baacc1f0 100
33adbdbe 101%if %{with tests}
34276416 102ctest --test-dir build
33adbdbe
WF
103%endif
104
105
baacc1f0
WF
106%install
107rm -rf $RPM_BUILD_ROOT
108%ninja_install -C build
109
110%find_lang %{kaname} --all-name --with-kde
111
112%clean
113rm -rf $RPM_BUILD_ROOT
114
115%post -p /sbin/ldconfig
116%postun -p /sbin/ldconfig
117
118%files -f %{kaname}.lang
119%defattr(644,root,root,755)
baacc1f0 120%attr(755,root,root) %{_bindir}/kaddressbook
baacc1f0 121%attr(755,root,root) %{_libdir}/qt5/plugins/kaddressbookpart.so
baacc1f0
WF
122%{_desktopdir}/kaddressbook-importer.desktop
123%{_desktopdir}/org.kde.kaddressbook.desktop
124%{_iconsdir}/hicolor/128x128/apps/kaddressbook.png
125%{_iconsdir}/hicolor/16x16/apps/kaddressbook.png
126%{_iconsdir}/hicolor/22x22/apps/kaddressbook.png
127%{_iconsdir}/hicolor/32x32/apps/kaddressbook.png
128%{_iconsdir}/hicolor/48x48/apps/kaddressbook.png
129%{_iconsdir}/hicolor/64x64/apps/kaddressbook.png
130%{_iconsdir}/hicolor/scalable/apps/kaddressbook.svg
131%{_datadir}/kaddressbook
baacc1f0 132%{_datadir}/metainfo/org.kde.kaddressbook.appdata.xml
a4d857b0
WF
133%{_datadir}/qlogging-categories5/kaddressbook.categories
134%{_datadir}/qlogging-categories5/kaddressbook.renamecategories
a4d857b0 135%{_desktopdir}/kaddressbook-view.desktop
8c6d715b 136%dir %{_libdir}/qt5/plugins/pim5/kcms/kaddressbook
c14ab881
WF
137%attr(755,root,root) %{_libdir}/qt5/plugins/pim5/kcms/kaddressbook/kaddressbook_config_plugins.so
138%attr(755,root,root) %{_libdir}/qt5/plugins/pim5/kontact/kontact_kaddressbookplugin.so
139%attr(755,root,root) %{_libdir}/qt5/plugins/pim5/kcms/kaddressbook/kaddressbook_config_userfeedback.so
140%ghost %{_libdir}/libKPim5AddressbookImportExport.so.5
141%attr(755,root,root) %{_libdir}/libKPim5AddressbookImportExport.so.*.*.*
142%ghost %{_libdir}/libkaddressbookprivate.so.5
143%attr(755,root,root) %{_libdir}/libkaddressbookprivate.so.*.*.*
a4d857b0
WF
144
145%files devel
146%defattr(644,root,root,755)
a4d857b0 147%{_libdir}/qt5/mkspecs/modules/qt_KAddressbookImportExport.pri
c14ab881 148%{_includedir}/KPim5/KAddressBookImportExport
c14ab881
WF
149%{_libdir}/cmake/KPim5AddressbookImportExport
150%{_libdir}/cmake/KPimAddressbookImportExport
151%{_libdir}/libKPim5AddressbookImportExport.so
This page took 0.609221 seconds and 4 git commands to generate.