]> git.pld-linux.org Git - packages/kf5-kdelibs4support.git/blame - kf5-kdelibs4support.spec
- updated to 5.106.0
[packages/kf5-kdelibs4support.git] / kf5-kdelibs4support.spec
CommitLineData
36a395e5
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
e5ed8fd7 4%define kdeframever 5.106
7f914c4a 5%define qtver 5.15.2
50880573
AM
6%define kfname kdelibs4support
7#
6a4244d9 8Summary: KDELibs 4 Support
50880573 9Name: kf5-%{kfname}
e5ed8fd7 10Version: 5.106.0
10a96fc9 11Release: 1
6a4244d9
WF
12License: LGPL v2.1+
13Group: X11/Libraries
1300a205 14Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/portingAids/%{kfname}-%{version}.tar.xz
e5ed8fd7 15# Source0-md5: 16d7628e6576c9acb742bff169dec14d
6a4244d9
WF
16URL: http://www.kde.org/
17BuildRequires: NetworkManager-devel >= 0.7.0
18BuildRequires: Qt5Concurrent-devel
19BuildRequires: Qt5Core-devel >= 5.2.0
20BuildRequires: Qt5DBus-devel
21BuildRequires: Qt5Designer-devel
22BuildRequires: Qt5Gui-devel >= 5.3.1
23BuildRequires: Qt5Network-devel
24BuildRequires: Qt5PrintSupport-devel
25BuildRequires: Qt5Svg-devel
26BuildRequires: Qt5Test-devel
27BuildRequires: Qt5Widgets-devel
28BuildRequires: Qt5X11Extras-devel >= 5.2.0
29BuildRequires: Qt5Xml-devel >= 5.3.1
30BuildRequires: cmake >= 2.8.12
31BuildRequires: gettext-devel
32BuildRequires: kf5-attica-devel >= %{version}
33BuildRequires: kf5-extra-cmake-modules >= 1.0.0
34BuildRequires: kf5-karchive-devel >= %{version}
35BuildRequires: kf5-kauth-devel >= %{version}
36BuildRequires: kf5-kbookmarks-devel >= %{version}
37BuildRequires: kf5-kcodecs-devel >= %{version}
38BuildRequires: kf5-kcompletion-devel >= %{version}
39BuildRequires: kf5-kconfig-devel >= %{version}
40BuildRequires: kf5-kconfigwidgets-devel >= %{version}
41BuildRequires: kf5-kcoreaddons-devel >= %{version}
42BuildRequires: kf5-kcrash-devel >= %{version}
43BuildRequires: kf5-kdbusaddons-devel >= %{version}
ed7c4353 44BuildRequires: kf5-kded-devel >= %{version}
6a4244d9
WF
45BuildRequires: kf5-kdesignerplugin-devel >= %{version}
46BuildRequires: kf5-kdoctools-devel >= %{version}
ed7c4353 47BuildRequires: kf5-kemoticons-devel >= %{version}
6a4244d9
WF
48BuildRequires: kf5-kglobalaccel-devel >= %{version}
49BuildRequires: kf5-kguiaddons-devel >= %{version}
50BuildRequires: kf5-ki18n-devel >= %{version}
51BuildRequires: kf5-kiconthemes-devel >= %{version}
57c980d2 52BuildRequires: kf5-kinit-devel >= %{version}
6a4244d9 53BuildRequires: kf5-kio-devel >= %{version}
57c980d2 54BuildRequires: kf5-kitemmodels-devel >= %{version}
6a4244d9
WF
55BuildRequires: kf5-kitemviews-devel >= %{version}
56BuildRequires: kf5-kjobwidgets-devel >= %{version}
57BuildRequires: kf5-knotifications-devel >= %{version}
58BuildRequires: kf5-kparts-devel >= %{version}
59BuildRequires: kf5-kservice-devel >= %{version}
60BuildRequires: kf5-ktextwidgets-devel >= %{version}
61BuildRequires: kf5-kunitconversion-devel >= %{version}
62BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
63BuildRequires: kf5-kwindowsystem-devel >= %{version}
64BuildRequires: kf5-kxmlgui-devel >= %{version}
65BuildRequires: kf5-solid-devel >= %{version}
66BuildRequires: kf5-sonnet-devel >= %{version}
3c594a46 67BuildRequires: ninja
6a4244d9
WF
68BuildRequires: openssl-devel
69BuildRequires: rpmbuild(macros) >= 1.164
70BuildRequires: tar >= 1:1.22
71BuildRequires: xorg-lib-libX11-devel
72BuildRequires: xorg-lib-libX11-devel
73BuildRequires: xz
74BuildRequires: zlib-devel
772fa9ba 75Requires: ca-certificates
6a4244d9
WF
76BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
77
78%define qt5dir %{_libdir}/qt5
79
80%description
81This framework provides code and utilities to ease the transition from
82kdelibs 4 to KDE Frameworks 5. This includes CMake macros and C++
83classes whose functionality has been replaced by code in CMake, Qt and
84other frameworks.
85
86Code should aim to port away from this framework eventually. The API
87documentation of the classes in this framework and the notes at
88<http://community.kde.org/Frameworks/Porting_Notes> should help with
89this.
90
91Note that some of the classes in this framework, especially
92KStandardDirs, may not work correctly unless any libraries and other
93software using the KDELibs 4 Support framework are installed to the
94same location as KDELibs4Support, although it may be sufficient to set
95the KDEDIRS environment variable correctly.
96
97%package devel
50880573
AM
98Summary: Header files for %{kfname} development
99Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
6a4244d9
WF
100Group: X11/Development/Libraries
101Requires: %{name} = %{version}-%{release}
31bf030d
JR
102Requires: kf5-kcrash-devel >= %{version}
103Requires: kf5-kdesignerplugin-devel >= %{version}
57c980d2
JR
104Requires: kf5-kemoticons-devel >= %{version}
105Requires: kf5-kguiaddons-devel >= %{version}
106Requires: kf5-kiconthemes-devel >= %{version}
107Requires: kf5-kinit-devel >= %{version}
108Requires: kf5-kitemmodels-devel >= %{version}
109Requires: kf5-kparts-devel >= %{version}
110Requires: kf5-kunitconversion-devel >= %{version}
6a4244d9
WF
111
112%description devel
50880573 113Header files for %{kfname} development.
6a4244d9
WF
114
115%description devel -l pl.UTF-8
50880573 116Pliki nagłówkowe dla programistów używających %{kfname}.
6a4244d9
WF
117
118%prep
50880573 119%setup -q -n %{kfname}-%{version}
6a4244d9
WF
120
121%build
122install -d build
123cd build
124%cmake \
3c594a46 125 -G Ninja \
36a395e5 126 %{!?with_tests:-DBUILD_TESTING=OFF} \
3c594a46 127 -DHTML_INSTALL_DIR=%{_kdedocdir} \
50880573 128 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
6a4244d9 129 ../
3c594a46 130%ninja_build
6a4244d9 131
36a395e5
WF
132%if %{with tests}
133ctest
134%endif
135
136
6a4244d9
WF
137%install
138rm -rf $RPM_BUILD_ROOT
3c594a46 139%ninja_install -C build
6a4244d9 140
772fa9ba 141ln -sf /etc/certs/ca-certificates.crt $RPM_BUILD_ROOT%{_datadir}/kf5/kssl/ca-bundle.crt
3c594a46
WF
142rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr
143rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr@latin
772fa9ba 144
5577ed09 145%find_lang kdelibs4support --all-name --with-kde
50880573 146
6a4244d9
WF
147%clean
148rm -rf $RPM_BUILD_ROOT
149
150%post -p /sbin/ldconfig
151%postun -p /sbin/ldconfig
152
50880573 153%files -f kdelibs4support.lang
6a4244d9
WF
154%defattr(644,root,root,755)
155%doc README.md
156/etc/xdg/colors/40.colors
157/etc/xdg/colors/Oxygen.colors
158/etc/xdg/colors/Rainbow.colors
159/etc/xdg/colors/Royal.colors
160/etc/xdg/colors/Web.colors
161/etc/xdg/kdebug.areas
162/etc/xdg/kdebugrc
163/etc/xdg/ksslcalist
164%attr(755,root,root) %{_bindir}/kdebugdialog5
165%attr(755,root,root) %{_bindir}/kf5-config
77895797 166%attr(755,root,root) %{_libexecdir}/kf5/filesharelist
00fc73a1 167%attr(755,root,root) %{_libexecdir}/kf5/fileshareset
2c99af08 168%ghost %{_libdir}/libKF5KDELibs4Support.so.5
50880573 169%attr(755,root,root) %{_libdir}/libKF5KDELibs4Support.so.*.*.*
6a4244d9
WF
170%attr(755,root,root) %{_libdir}/qt5/plugins/designer/kf5deprecatedwidgets.so
171%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_ssl.so
172%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/networkstatus.so
173%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/metainfo.so
174%{_datadir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.Inhibit.xml
175%{_datadir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.xml
176%{_datadir}/dbus-1/interfaces/kf5_org.kde.Solid.Networking.Client.xml
177%{_datadir}/dbus-1/interfaces/kf5_org.kde.Solid.PowerManagement.PolicyAgent.xml
6a4244d9
WF
178%{_datadir}/kf5/kdoctools/customization/catalog4.xml
179%{_datadir}/kf5/kdoctools/customization/dtd/kdex.dtd
772fa9ba 180%dir %{_datadir}/kf5/kssl
6a4244d9 181%{_datadir}/kf5/kssl/ca-bundle.crt
772fa9ba
AM
182%{_datadir}/kf5/locale/countries
183%{_datadir}/kf5/locale/currency
6a4244d9
WF
184%{_datadir}/kf5/widgets/pics/kdatetimewidget.png
185%{_datadir}/kf5/widgets/pics/kdatewidget.png
186%{_datadir}/kf5/widgets/pics/kdialog.png
187%{_datadir}/kf5/widgets/pics/kdoublenuminput.png
188%{_datadir}/kf5/widgets/pics/keditlistbox.png
189%{_datadir}/kf5/widgets/pics/kintnuminput.png
190%{_datadir}/kf5/widgets/pics/kintspinbox.png
191%{_datadir}/kf5/widgets/pics/kpushbutton.png
192%{_datadir}/kf5/widgets/pics/krestrictedline.png
193%{_datadir}/kf5/widgets/pics/ktextbrowser.png
194%{_datadir}/kservices5/kcm_ssl.desktop
6a4244d9
WF
195%{_datadir}/kservices5/qimageioplugins/bmp.desktop
196%{_datadir}/kservices5/qimageioplugins/gif.desktop
197%{_datadir}/kservices5/qimageioplugins/ico.desktop
198%{_datadir}/kservices5/qimageioplugins/jpeg.desktop
199%{_datadir}/kservices5/qimageioplugins/mng.desktop
200%{_datadir}/kservices5/qimageioplugins/pbm.desktop
201%{_datadir}/kservices5/qimageioplugins/pgm.desktop
202%{_datadir}/kservices5/qimageioplugins/png.desktop
203%{_datadir}/kservices5/qimageioplugins/ppm.desktop
204%{_datadir}/kservices5/qimageioplugins/svg+xml-compressed.desktop
205%{_datadir}/kservices5/qimageioplugins/svg+xml.desktop
206%{_datadir}/kservices5/qimageioplugins/tiff.desktop
207%{_datadir}/kservices5/qimageioplugins/wbmp.desktop
208%{_datadir}/kservices5/qimageioplugins/webp.desktop
209%{_datadir}/kservices5/qimageioplugins/xbm.desktop
210%{_datadir}/kservices5/qimageioplugins/xpm.desktop
211%{_datadir}/kservicetypes5/kdatatool.desktop
212%{_datadir}/kservicetypes5/kfilewrite.desktop
213%{_datadir}/kservicetypes5/kscan.desktop
214%{_datadir}/kservicetypes5/qimageio_plugin.desktop
6a4244d9
WF
215%{_localedir}/kf5_all_languages
216%{_mandir}/man1/kf5-config.1*
3c594a46
WF
217%lang(ca) %{_mandir}/ca/man1/kf5-config.1*
218%lang(de) %{_mandir}/de/man1/kf5-config.1*
219%lang(es) %{_mandir}/es/man1/kf5-config.1*
419c8901 220%lang(fr) %{_mandir}/fr/man1/kf5-config.1*
3c594a46
WF
221%lang(it) %{_mandir}/it/man1/kf5-config.1*
222%lang(nl) %{_mandir}/nl/man1/kf5-config.1*
223%lang(pt) %{_mandir}/pt/man1/kf5-config.1*
224%lang(pt_BR) %{_mandir}/pt_BR/man1/kf5-config.1*
225%lang(sv) %{_mandir}/sv/man1/kf5-config.1*
226%lang(uk) %{_mandir}/uk/man1/kf5-config.1*
6a4244d9
WF
227
228%files devel
229%defattr(644,root,root,755)
230%{_includedir}/KF5/KDELibs4Support
6a4244d9
WF
231%{_libdir}/cmake/KDELibs4
232%{_libdir}/cmake/KF5KDE4Support
233%{_libdir}/cmake/KF5KDELibs4Support
2c99af08 234%{_libdir}/libKF5KDELibs4Support.so
This page took 0.484298 seconds and 4 git commands to generate.