]> git.pld-linux.org Git - packages/kf5-kdelibs4support.git/blame - kf5-kdelibs4support.spec
- updated to 5.113.0
[packages/kf5-kdelibs4support.git] / kf5-kdelibs4support.spec
CommitLineData
36a395e5
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
7464dd4a 4%define kdeframever 5.113
7f914c4a 5%define qtver 5.15.2
50880573
AM
6%define kfname kdelibs4support
7#
6a4244d9 8Summary: KDELibs 4 Support
50880573 9Name: kf5-%{kfname}
7464dd4a 10Version: 5.113.0
d591bd1a 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
7464dd4a 15# Source0-md5: acc3916872c964677778152f0812970c
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
d591bd1a 30BuildRequires: cmake >= 3.16
6a4244d9
WF
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
d591bd1a 122%cmake -B build \
3c594a46 123 -G Ninja \
36a395e5 124 %{!?with_tests:-DBUILD_TESTING=OFF} \
3c594a46 125 -DHTML_INSTALL_DIR=%{_kdedocdir} \
d591bd1a
WF
126 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
127
128%ninja_build -C build
6a4244d9 129
36a395e5 130%if %{with tests}
d591bd1a 131%ninja_build -C build test
36a395e5
WF
132%endif
133
134
6a4244d9
WF
135%install
136rm -rf $RPM_BUILD_ROOT
3c594a46 137%ninja_install -C build
6a4244d9 138
772fa9ba 139ln -sf /etc/certs/ca-certificates.crt $RPM_BUILD_ROOT%{_datadir}/kf5/kssl/ca-bundle.crt
3c594a46
WF
140rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr
141rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr@latin
772fa9ba 142
5577ed09 143%find_lang kdelibs4support --all-name --with-kde
50880573 144
6a4244d9
WF
145%clean
146rm -rf $RPM_BUILD_ROOT
147
148%post -p /sbin/ldconfig
149%postun -p /sbin/ldconfig
150
50880573 151%files -f kdelibs4support.lang
6a4244d9
WF
152%defattr(644,root,root,755)
153%doc README.md
154/etc/xdg/colors/40.colors
155/etc/xdg/colors/Oxygen.colors
156/etc/xdg/colors/Rainbow.colors
157/etc/xdg/colors/Royal.colors
158/etc/xdg/colors/Web.colors
159/etc/xdg/kdebug.areas
160/etc/xdg/kdebugrc
161/etc/xdg/ksslcalist
162%attr(755,root,root) %{_bindir}/kdebugdialog5
163%attr(755,root,root) %{_bindir}/kf5-config
77895797 164%attr(755,root,root) %{_libexecdir}/kf5/filesharelist
00fc73a1 165%attr(755,root,root) %{_libexecdir}/kf5/fileshareset
2c99af08 166%ghost %{_libdir}/libKF5KDELibs4Support.so.5
50880573 167%attr(755,root,root) %{_libdir}/libKF5KDELibs4Support.so.*.*.*
6a4244d9
WF
168%attr(755,root,root) %{_libdir}/qt5/plugins/designer/kf5deprecatedwidgets.so
169%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_ssl.so
170%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/networkstatus.so
171%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/metainfo.so
172%{_datadir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.Inhibit.xml
173%{_datadir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.xml
174%{_datadir}/dbus-1/interfaces/kf5_org.kde.Solid.Networking.Client.xml
175%{_datadir}/dbus-1/interfaces/kf5_org.kde.Solid.PowerManagement.PolicyAgent.xml
6a4244d9
WF
176%{_datadir}/kf5/kdoctools/customization/catalog4.xml
177%{_datadir}/kf5/kdoctools/customization/dtd/kdex.dtd
772fa9ba 178%dir %{_datadir}/kf5/kssl
6a4244d9 179%{_datadir}/kf5/kssl/ca-bundle.crt
772fa9ba
AM
180%{_datadir}/kf5/locale/countries
181%{_datadir}/kf5/locale/currency
6a4244d9
WF
182%{_datadir}/kf5/widgets/pics/kdatetimewidget.png
183%{_datadir}/kf5/widgets/pics/kdatewidget.png
184%{_datadir}/kf5/widgets/pics/kdialog.png
185%{_datadir}/kf5/widgets/pics/kdoublenuminput.png
186%{_datadir}/kf5/widgets/pics/keditlistbox.png
187%{_datadir}/kf5/widgets/pics/kintnuminput.png
188%{_datadir}/kf5/widgets/pics/kintspinbox.png
189%{_datadir}/kf5/widgets/pics/kpushbutton.png
190%{_datadir}/kf5/widgets/pics/krestrictedline.png
191%{_datadir}/kf5/widgets/pics/ktextbrowser.png
192%{_datadir}/kservices5/kcm_ssl.desktop
6a4244d9
WF
193%{_datadir}/kservices5/qimageioplugins/bmp.desktop
194%{_datadir}/kservices5/qimageioplugins/gif.desktop
195%{_datadir}/kservices5/qimageioplugins/ico.desktop
196%{_datadir}/kservices5/qimageioplugins/jpeg.desktop
197%{_datadir}/kservices5/qimageioplugins/mng.desktop
198%{_datadir}/kservices5/qimageioplugins/pbm.desktop
199%{_datadir}/kservices5/qimageioplugins/pgm.desktop
200%{_datadir}/kservices5/qimageioplugins/png.desktop
201%{_datadir}/kservices5/qimageioplugins/ppm.desktop
202%{_datadir}/kservices5/qimageioplugins/svg+xml-compressed.desktop
203%{_datadir}/kservices5/qimageioplugins/svg+xml.desktop
204%{_datadir}/kservices5/qimageioplugins/tiff.desktop
205%{_datadir}/kservices5/qimageioplugins/wbmp.desktop
206%{_datadir}/kservices5/qimageioplugins/webp.desktop
207%{_datadir}/kservices5/qimageioplugins/xbm.desktop
208%{_datadir}/kservices5/qimageioplugins/xpm.desktop
209%{_datadir}/kservicetypes5/kdatatool.desktop
210%{_datadir}/kservicetypes5/kfilewrite.desktop
211%{_datadir}/kservicetypes5/kscan.desktop
212%{_datadir}/kservicetypes5/qimageio_plugin.desktop
6a4244d9
WF
213%{_localedir}/kf5_all_languages
214%{_mandir}/man1/kf5-config.1*
3c594a46
WF
215%lang(ca) %{_mandir}/ca/man1/kf5-config.1*
216%lang(de) %{_mandir}/de/man1/kf5-config.1*
217%lang(es) %{_mandir}/es/man1/kf5-config.1*
419c8901 218%lang(fr) %{_mandir}/fr/man1/kf5-config.1*
3c594a46
WF
219%lang(it) %{_mandir}/it/man1/kf5-config.1*
220%lang(nl) %{_mandir}/nl/man1/kf5-config.1*
221%lang(pt) %{_mandir}/pt/man1/kf5-config.1*
222%lang(pt_BR) %{_mandir}/pt_BR/man1/kf5-config.1*
223%lang(sv) %{_mandir}/sv/man1/kf5-config.1*
224%lang(uk) %{_mandir}/uk/man1/kf5-config.1*
6a4244d9
WF
225
226%files devel
227%defattr(644,root,root,755)
228%{_includedir}/KF5/KDELibs4Support
6a4244d9
WF
229%{_libdir}/cmake/KDELibs4
230%{_libdir}/cmake/KF5KDE4Support
231%{_libdir}/cmake/KF5KDELibs4Support
2c99af08 232%{_libdir}/libKF5KDELibs4Support.so
This page took 0.454099 seconds and 4 git commands to generate.