/[packages]/cauldron/fslint/current/SPECS/fslint.spec
ViewVC logotype

Contents of /cauldron/fslint/current/SPECS/fslint.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 748935 - (show annotations) (download)
Wed Oct 15 03:09:05 2014 UTC (6 years, 11 months ago) by umeabot
File size: 2132 byte(s)
Second Mageia 5 Mass Rebuild
1 Name: fslint
2 Version: 2.44
3 Release: %mkrel 3
4 Summary: An utility to find and clean "lint" on a filesystem
5 Group: File tools
6 License: GPLv2+
7 URL: http://www.pixelbeat.org/fslint/
8 Source0: http://www.pixelbeat.org/fslint/%{name}-%{version}.tar.gz
9 BuildArch: noarch
10 BuildRequires: gettext
11 BuildRequires: desktop-file-utils
12 Requires: python >= 0:2.0, pygtk2.0, pygtk2.0-libglade, cpio
13
14 %description
15 FSlint is a toolkit to find all redundant disk usage (duplicate files
16 for e.g.). It includes a GUI as well as a command line interface.
17
18
19 %prep
20 %setup -q
21 %{__perl} -pi -e 's|^liblocation=.*$|liblocation="%{_datadir}/%{name}" #RPM edit|' fslint-gui
22 %{__perl} -pi -e 's|^locale_base=.*$|locale_base=None #RPM edit|' fslint-gui
23
24
25 %build
26 # Not.
27
28
29 %install
30 install -Dpm 755 fslint-gui %buildroot%{_bindir}/fslint-gui
31 install -dm 755 %buildroot%{_datadir}/%{name}/%{name}/{fstool,supprt}
32 install -dm 755 %buildroot%{_datadir}/%{name}/%{name}/supprt/rmlint
33 install -dm 755 %buildroot%{_mandir}/man1
34 install -pm 644 fslint.glade fslint_icon.png \
35 %buildroot%{_datadir}/%{name}
36 install -dm 755 %buildroot%{_datadir}/pixmaps
37 ln -s %{_datadir}/%{name}/fslint_icon.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
38 install -pm 755 fslint/{find*,fslint,zipdir} \
39 %buildroot%{_datadir}/%{name}/fslint
40 install -pm 755 fslint/fstool/* \
41 %buildroot%{_datadir}/%{name}/fslint/fstool
42 install -pm 644 fslint/supprt/fslver \
43 %buildroot%{_datadir}/%{name}/fslint/supprt
44 install -pm 755 fslint/supprt/get* \
45 %buildroot%{_datadir}/%{name}/fslint/supprt
46 install -pm 755 fslint/supprt/rmlint/* \
47 %buildroot%{_datadir}/%{name}/fslint/supprt/rmlint
48
49 cp -a man/* \
50 %buildroot%{_mandir}/man1/
51
52 make -C po DESTDIR=%buildroot LOCALEDIR=%{_datadir}/locale install
53
54 desktop-file-install \
55 --vendor author \
56 --dir %buildroot%{_datadir}/applications \
57 --mode 644 \
58 %{name}.desktop
59
60 %find_lang %{name}
61
62
63 %files -f %{name}.lang
64 %doc doc/*
65 %{_mandir}/man1/fslint*
66 %{_bindir}/fslint-gui
67 %{_datadir}/%{name}
68 %{_datadir}/applications/*%{name}.desktop
69 %{_datadir}/pixmaps/fslint_icon.png
70
71
72

  ViewVC Help
Powered by ViewVC 1.1.28