]> git.pld-linux.org Git - packages/ka5-sweeper.git/blame - ka5-sweeper.spec
- updated to 18.12.1; ninja
[packages/ka5-sweeper.git] / ka5-sweeper.spec
CommitLineData
622665ae 1%define kdeappsver 18.12.1
c25a5a2c 2%define qtver 5.9.0
85a7f38c
WF
3%define kaname sweeper
4Summary: sweeper
5Name: ka5-%{kaname}
622665ae 6Version: 18.12.1
85a7f38c
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
622665ae 11# Source0-md5: 417353dce4e738140f71c8fcf9c3e16a
85a7f38c 12URL: http://www.kde.org/
c25a5a2c 13BuildRequires: Qt5Core-devel
85a7f38c 14BuildRequires: Qt5Core-devel >= %{qtver}
c25a5a2c
WF
15BuildRequires: Qt5DBus-devel
16BuildRequires: Qt5Gui-devel >= 5.11.1
17BuildRequires: Qt5Widgets-devel
85a7f38c 18BuildRequires: cmake >= 2.8.12
c25a5a2c
WF
19BuildRequires: gettext-devel
20BuildRequires: kf5-extra-cmake-modules >= 5.53.0
21BuildRequires: kf5-kactivities-stats-devel >= 5.23.0
22BuildRequires: kf5-kbookmarks-devel >= 5.23.0
23BuildRequires: kf5-kconfig-devel >= 5.23.0
24BuildRequires: kf5-kconfigwidgets-devel >= 5.23.0
25BuildRequires: kf5-kcoreaddons-devel >= 5.23.0
26BuildRequires: kf5-kcrash-devel >= 5.23.0
27BuildRequires: kf5-kdoctools-devel >= 5.23.0
28BuildRequires: kf5-ki18n-devel >= 5.23.0
29BuildRequires: kf5-kio-devel >= 5.23.0
30BuildRequires: kf5-ktextwidgets-devel >= 5.23.0
31BuildRequires: kf5-kxmlgui-devel >= 5.23.0
622665ae 32BuildRequires: ninja
85a7f38c
WF
33BuildRequires: qt5-build >= %{qtver}
34BuildRequires: rpmbuild(macros) >= 1.164
35BuildRequires: shared-mime-info
36BuildRequires: tar >= 1:1.22
37BuildRequires: xz
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
c25a5a2c
WF
41Sweeper helps to clean unwanted traces the user leaves on the system
42and to regain disk space removing unused temporary files.
43
44Features
45
46- It can remove web-related traces: cookies, history, cache
47- It can remove the image thumbnails cache
48- It can also clean the applications and documents history
85a7f38c
WF
49
50%prep
51%setup -q -n %{kaname}-%{version}
52
53%build
54install -d build
55cd build
56%cmake \
622665ae 57 -G Ninja \
85a7f38c
WF
58 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
59 ..
622665ae 60%ninja_build
85a7f38c
WF
61
62%install
63rm -rf $RPM_BUILD_ROOT
622665ae 64%ninja_install -C build
85a7f38c
WF
65
66%find_lang %{kaname} --all-name --with-kde
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71
72%files -f %{kaname}.lang
73%defattr(644,root,root,755)
74%attr(755,root,root) %{_bindir}/sweeper
75%{_desktopdir}/org.kde.sweeper.desktop
76%{_datadir}/dbus-1/interfaces/org.kde.sweeper.xml
77%{_datadir}/kxmlgui5/sweeper
78%{_datadir}/metainfo/org.kde.sweeper.appdata.xml
This page took 0.08369 seconds and 4 git commands to generate.