source: projects/specs/trunk/s/sweeper/sweeper-vl.spec @ 10563

Revision 10563, 1.8 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:    sweeper
2Summary: System cleaner for KDE
3Summary(ja): KDE用システムクリーナー
4Version: 4.14.3
5Release: 2%{?_dist_release}
6
7License: GPLv2
8Group:   Applications/Accessories
9URL:     https://www.kde.org/applications/utilities/sweeper/
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: kdelibs-devel >= %{version}
16BuildRequires: soprano-devel
17
18# when split occurred
19Conflicts: kdeutils < 4.8.0
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25Sweeper helps to clean unwanted traces the user leaves on the system
26and to regain disk space removing unused temporary files.
27
28
29%prep
30%setup -q
31
32
33%build
34mkdir -p %{_target_platform}
35pushd %{_target_platform}
36%cmake \
37    -DCMAKE_BUILD_TYPE=release \
38    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
39    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
40    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
41    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
42    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
43    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
44    ..
45popd
46
47make %{?_smp_mflags} -C %{_target_platform}
48
49
50%install
51rm -rf %{buildroot}
52
53make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
54
55
56%posttrans
57update-desktop-database -q &> /dev/null ||:
58
59%postun
60if [ $1 -eq 0 ] ; then
61  update-desktop-database -q &> /dev/null ||:
62fi
63
64
65%files
66%doc COPYING.LIB
67%{_bindir}/%{name}
68%{_datadir}/applications/kde4/%{name}.desktop
69%{_datadir}/dbus-1/interfaces/org.kde.%{name}.xml
70%{_datadir}/kde4/apps/%{name}
71%{_docdir}/HTML/en/%{name}
72%exclude %{_libdir}/libkerfuffle.so
73
74%changelog
75* Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
76- rebuild with gcc-5.4.0
77
78* Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
79- initila build
Note: See TracBrowser for help on using the repository browser.