]> git.pld-linux.org Git - packages/ka5-kdenetwork-filesharing.git/blame - ka5-kdenetwork-filesharing.spec
- updated to 22.04.0
[packages/ka5-kdenetwork-filesharing.git] / ka5-kdenetwork-filesharing.spec
CommitLineData
78bb78a1
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
ac78c0aa 4%define kdeappsver 22.04.0
1638213a 5%define kframever 5.56.0
986f5069
WF
6%define qtver 5.9.0
7%define kaname kdenetwork-filesharing
8Summary: KDENetwork file sharing
9Name: ka5-%{kaname}
ac78c0aa 10Version: 22.04.0
986f5069
WF
11Release: 1
12License: GPL v2+/LGPL v2.1+
13Group: X11/Libraries
8bfbaf82 14Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
ac78c0aa 15# Source0-md5: 7a8b3344cf7db7c78e12a15d1c0dfacb
986f5069
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= 5.11.1
19BuildRequires: Qt5Widgets-devel
20BuildRequires: cmake >= 2.8.12
21BuildRequires: gettext-devel
1638213a
WF
22BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
23BuildRequires: kf5-kdoctools-devel >= %{kframever}
24BuildRequires: kf5-ki18n-devel >= %{kframever}
25BuildRequires: kf5-kio-devel >= %{kframever}
26BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever}
26e92950 27BuildRequires: ninja
986f5069
WF
28BuildRequires: qt5-build >= %{qtver}
29BuildRequires: rpmbuild(macros) >= 1.164
30BuildRequires: tar >= 1:1.22
31BuildRequires: xz
32BuildRequires: zlib-devel
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36kcontrol filesharing config module for SMB.
37
fc2aa5b9
WF
38%description -l pl.UTF-8
39Moduł do konfiguracji współdzielenia plików przez SMB.
40
986f5069
WF
41%prep
42%setup -q -n %{kaname}-%{version}
43
44%build
45install -d build
46cd build
47%cmake \
26e92950 48 -G Ninja \
78bb78a1 49 %{!?with_tests:-DBUILD_TESTING=OFF} \
1638213a 50 -DHTML_INSTALL_DIR=%{_kdedocdir} \
986f5069
WF
51 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
52 ..
26e92950 53%ninja_build
986f5069 54
78bb78a1
WF
55%if %{with tests}
56ctest
57%endif
58
59
986f5069
WF
60%install
61rm -rf $RPM_BUILD_ROOT
26e92950 62%ninja_install -C build
986f5069
WF
63
64%find_lang %{kaname} --all-name --with-kde
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files -f %{kaname}.lang
70%defattr(644,root,root,755)
8bfbaf82
WF
71%attr(755,root,root) %{_prefix}/libexec/kauth/authhelper
72%{_datadir}/dbus-1/system-services/org.kde.filesharing.samba.service
73%{_datadir}/dbus-1/system.d/org.kde.filesharing.samba.conf
74%{_datadir}/metainfo/org.kde.kdenetwork-filesharing.metainfo.xml
75%{_datadir}/polkit-1/actions/org.kde.filesharing.samba.policy
388de771 76%{_libdir}/qt5/plugins/kf5/propertiesdialog/sambausershareplugin.so
This page took 0.119663 seconds and 4 git commands to generate.