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