]>
Commit | Line | Data |
---|---|---|
b5ef9b38 | 1 | %define kdeframever 5.86 |
6c4b7b93 WF |
2 | %define qtver 5.9.0 |
3 | %define kfname syndication | |
4 | ||
5 | Summary: syndication | |
6 | Name: kf5-%{kfname} | |
b5ef9b38 | 7 | Version: 5.86.0 |
6c4b7b93 WF |
8 | Release: 1 |
9 | License: LGPL v2.1+ | |
10 | Group: X11/Libraries | |
b5ef9b38 WF |
11 | Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz |
12 | # Source0-md5: bae7c69e324292c3151567eddd838bb3 | |
6c4b7b93 WF |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: Qt5Gui-devel >= 5.11.1 | |
15 | BuildRequires: Qt5Network-devel >= 5.9.0 | |
16 | BuildRequires: Qt5Test-devel | |
17 | BuildRequires: Qt5Widgets-devel >= 5.9.0 | |
18 | BuildRequires: Qt5Xml-devel >= 5.9.0 | |
19 | BuildRequires: cmake >= 2.8.12 | |
49f216ac ŁM |
20 | BuildRequires: kf5-extra-cmake-modules >= %{version} |
21 | BuildRequires: kf5-kcodecs-devel >= %{version} | |
ba978ac4 | 22 | BuildRequires: ninja |
6c4b7b93 WF |
23 | BuildRequires: rpmbuild(macros) >= 1.164 |
24 | BuildRequires: tar >= 1:1.22 | |
25 | BuildRequires: xz | |
26 | Requires: kf5-dirs | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %define qt5dir %{_libdir}/qt5 | |
30 | ||
31 | %description | |
32 | An RSS/Atom parser library. | |
33 | ||
34 | %package devel | |
35 | Summary: Header files for %{kfname} development | |
36 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname} | |
37 | Group: X11/Development/Libraries | |
38 | Requires: %{name} = %{version}-%{release} | |
39 | ||
40 | %description devel | |
41 | Header files for %{kfname} development. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Pliki nagłówkowe dla programistów używających %{kfname}. | |
45 | ||
46 | %prep | |
47 | %setup -q -n %{kfname}-%{version} | |
48 | ||
49 | %build | |
50 | install -d build | |
51 | cd build | |
52 | %cmake \ | |
ba978ac4 | 53 | -G Ninja \ |
6c4b7b93 WF |
54 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
55 | ../ | |
ba978ac4 | 56 | %ninja_build |
6c4b7b93 WF |
57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
ba978ac4 | 60 | %ninja_install -C build |
6c4b7b93 WF |
61 | |
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post -p /sbin/ldconfig | |
66 | %postun -p /sbin/ldconfig | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
70 | %doc README.md | |
0515a3b2 | 71 | %{_datadir}/qlogging-categories5/syndication.categories |
4a78d729 | 72 | %ghost %{_libdir}/libKF5Syndication.so.5 |
6c4b7b93 | 73 | %attr(755,root,root) %{_libdir}/libKF5Syndication.so.5.*.* |
4a78d729 | 74 | %{_datadir}/qlogging-categories5/syndication.renamecategories |
6c4b7b93 WF |
75 | |
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
78 | %{_includedir}/KF5/Syndication | |
79 | %{_includedir}/KF5/syndication_version.h | |
80 | %{_libdir}/cmake/KF5Syndication | |
4a78d729 | 81 | %{_libdir}/libKF5Syndication.so |
6c4b7b93 | 82 | %{_libdir}/qt5/mkspecs/modules/qt_Syndication.pri |