]> git.pld-linux.org Git - packages/kf5-kservice.git/blame - kf5-kservice.spec
updated build and runtime deps
[packages/kf5-kservice.git] / kf5-kservice.spec
CommitLineData
8ae22ea6 1%define kdeframever 5.80
6869a2c8 2%define qtver 5.14.0
06de5425 3%define kfname kservice
575424c3
WF
4
5Summary: Plugin framework for desktop services
06de5425 6Name: kf5-%{kfname}
8ae22ea6 7Version: 5.80.0
93b09db2 8Release: 1
575424c3
WF
9License: LGPL v2.1+
10Group: X11/Libraries
06de5425 11Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
8ae22ea6 12# Source0-md5: f30039362e00dfcf27eb58f5bb854c74
575424c3 13URL: http://www.kde.org/
06de5425
AM
14BuildRequires: Qt5Concurrent-devel >= %{qtver}
15BuildRequires: Qt5Core-devel >= %{qtver}
16BuildRequires: Qt5DBus-devel >= %{qtver}
06de5425 17BuildRequires: Qt5Test-devel >= %{qtver}
06de5425 18BuildRequires: Qt5Xml-devel >= %{qtver}
6869a2c8
JP
19BuildRequires: bison >= 3.4.1
20BuildRequires: cmake >= 3.5
21BuildRequires: flex
431a1db7 22BuildRequires: kf5-extra-cmake-modules >= %{version}
575424c3
WF
23BuildRequires: kf5-kconfig-devel >= %{version}
24BuildRequires: kf5-kcoreaddons-devel >= %{version}
25BuildRequires: kf5-kcrash-devel >= %{version}
26BuildRequires: kf5-kdbusaddons-devel >= %{version}
27BuildRequires: kf5-kdoctools-devel >= %{version}
28BuildRequires: kf5-ki18n-devel >= %{version}
7764050e 29BuildRequires: ninja
575424c3 30BuildRequires: rpmbuild(macros) >= 1.164
73de18b4
ER
31BuildRequires: tar >= 1:1.22
32BuildRequires: xz
6869a2c8
JP
33Requires: Qt5DBus >= %{qtver}
34Requires: Qt5Xml >= %{qtver}
7cabe58e 35Requires: kf5-dirs
6869a2c8
JP
36Requires: kf5-kconfig >= %{version}
37Requires: kf5-kcoreaddons >= %{version}
38Requires: kf5-kcrash >= %{version}
39Requires: kf5-kdbusaddons >= %{version}
40Requires: kf5-ki18n >= %{version}
575424c3
WF
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%define qt5dir %{_libdir}/qt5
44
45%description
46KService provides a plugin framework for handling desktop services.
47Services can be applications or libraries. They can be bound to MIME
48types or handled by application specific code.
49
50%package devel
06de5425
AM
51Summary: Header files for %{kfname} development
52Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
575424c3
WF
53Group: X11/Development/Libraries
54Requires: %{name} = %{version}-%{release}
6869a2c8 55Requires: cmake >= 3.5
9e80cb3e
JP
56Requires: kf5-kconfig-devel >= %{version}
57Requires: kf5-kcoreaddons-devel >= %{version}
575424c3
WF
58
59%description devel
06de5425 60Header files for %{kfname} development.
575424c3
WF
61
62%description devel -l pl.UTF-8
06de5425 63Pliki nagłówkowe dla programistów używających %{kfname}.
575424c3
WF
64
65%prep
06de5425 66%setup -q -n %{kfname}-%{version}
575424c3
WF
67
68%build
69install -d build
70cd build
7764050e 71%cmake -G Ninja \
06de5425 72 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
575424c3 73 ../
7764050e 74%ninja_build
575424c3
WF
75
76%install
77rm -rf $RPM_BUILD_ROOT
7764050e 78%ninja_install -C build
575424c3 79
06de5425 80%find_lang %{kfname}5
575424c3
WF
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%post -p /sbin/ldconfig
86%postun -p /sbin/ldconfig
87
06de5425 88%files -f %{kfname}5.lang
575424c3
WF
89%defattr(644,root,root,755)
90%doc README.md
91/etc/xdg/menus/applications.menu
575424c3 92%attr(755,root,root) %{_bindir}/kbuildsycoca5
8ae22ea6 93%ghost %{_libdir}/libKF5Service.so.5
a10baf6f 94%attr(755,root,root) %{_libdir}/libKF5Service.so.*.*
575424c3
WF
95%{_datadir}/kservicetypes5/application.desktop
96%{_datadir}/kservicetypes5/kplugininfo.desktop
a4723766 97%{_mandir}/man8/desktoptojson.8*
575424c3 98%{_mandir}/man8/kbuildsycoca5.8*
a4723766
WF
99%lang(ca) %{_mandir}/ca/man8/desktoptojson.8*
100%lang(ca) %{_mandir}/ca/man8/kbuildsycoca5.8*
101%lang(de) %{_mandir}/de/man8/desktoptojson.8*
102%lang(de) %{_mandir}/de/man8/kbuildsycoca5.8*
103%lang(es) %{_mandir}/es/man8/desktoptojson.8*
104%lang(es) %{_mandir}/es/man8/kbuildsycoca5.8*
105%lang(it) %{_mandir}/it/man8/desktoptojson.8*
106%lang(it) %{_mandir}/it/man8/kbuildsycoca5.8*
107%lang(nl) %{_mandir}/nl/man8/desktoptojson.8*
108%lang(nl) %{_mandir}/nl/man8/kbuildsycoca5.8*
109%lang(pt) %{_mandir}/pt/man8/desktoptojson.8*
110%lang(pt) %{_mandir}/pt/man8/kbuildsycoca5.8*
111%lang(pt_BR) %{_mandir}/pt_BR/man8/desktoptojson.8*
112%lang(pt_BR) %{_mandir}/pt_BR/man8/kbuildsycoca5.8*
113%lang(sv) %{_mandir}/sv/man8/desktoptojson.8*
114%lang(sv) %{_mandir}/sv/man8/kbuildsycoca5.8*
115%lang(uk) %{_mandir}/uk/man8/desktoptojson.8*
116%lang(uk) %{_mandir}/uk/man8/kbuildsycoca5.8*
8704d646 117%lang(id) %{_mandir}/id/man8/desktoptojson.8*
93b09db2 118%{_datadir}/qlogging-categories5/kservice.categories
a28dc5dc
WF
119%lang(fr) %{_mandir}/fr/man8/kbuildsycoca5.8*
120%{_datadir}/qlogging-categories5/kservice.renamecategories
575424c3
WF
121
122%files devel
123%defattr(644,root,root,755)
124%{_includedir}/KF5/KService
125%{_includedir}/KF5/kservice_version.h
126%{_libdir}/cmake/KF5Service
8ae22ea6 127%{_libdir}/libKF5Service.so
575424c3 128%{qt5dir}/mkspecs/modules/qt_KService.pri
This page took 0.099512 seconds and 4 git commands to generate.