From d46d8332415051405fa4d16cf3cd1ebbf90a3eed Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:34:10 +0100 Subject: [PATCH] update to 2.45 [release 2.45-1mamba;Mon Mar 03 2014] --- README.md | 2 ++ fslint.spec | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 fslint.spec diff --git a/README.md b/README.md index 9cca1d1..51735a8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # fslint +FSlint is a utility to find and clean various forms of unwanted extraneous files on a computer file system. This excess of unnecessary files is referred to as lint. FSlint will help find unwanted or problematic lint in your files or file names. The most common forms of lint FSlint finds are duplicate files, empty directories, and improper names. FSlint has multiple tools to perform a multitude of tasks in both the graphical interface and command line modes. + diff --git a/fslint.spec b/fslint.spec new file mode 100644 index 0000000..5ddd773 --- /dev/null +++ b/fslint.spec @@ -0,0 +1,93 @@ +Name: fslint +Version: 2.45 +Release: 1mamba +Summary: A utility to find and clean various forms of unwanted extraneous files on a computer file system +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Fabio Giani +URL: http://www.pixelbeat.org/fslint/ +# Source tarball created from: +# svn checkout http://fslint.googlecode.com/svn/trunk/ fslint +Source: http://www.pixelbeat.org/fslint/fslint-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: cpio +BuildRequires: findutils +BuildRequires: pygtk +BuildRequires: python +## AUTOBUILDREQ-END +BuildRequires: gettext +BuildRequires: desktop-file-utils +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +FSlint is a utility to find and clean various forms of unwanted extraneous files on a computer file system. This excess of unnecessary files is referred to as lint. FSlint will help find unwanted or problematic lint in your files or file names. The most common forms of lint FSlint finds are duplicate files, empty directories, and improper names. FSlint has multiple tools to perform a multitude of tasks in both the graphical interface and command line modes. + +%prep +%setup -q -n %{name}-%{version} +%{__perl} -pi -e 's|^liblocation=.*$|liblocation="%{_datadir}/%{name}" #RPM edit|' fslint-gui +%{__perl} -pi -e 's|^locale_base=.*$|locale_base=None #RPM edit|' fslint-gui + +%build +# Not. + +%install +rm -rf $RPM_BUILD_ROOT +install -Dpm 755 fslint-gui $RPM_BUILD_ROOT%{_bindir}/fslint-gui +install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}/{fstool,supprt} +install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}/supprt/rmlint +install -dm 755 $RPM_BUILD_ROOT%{_mandir}/man1 +install -pm 644 fslint.glade fslint_icon.png \ + $RPM_BUILD_ROOT%{_datadir}/%{name} +install -dm 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps +ln -s ../%{name}/fslint_icon.png $RPM_BUILD_ROOT%{_datadir}/pixmaps +install -pm 755 fslint/{find*,fslint,zipdir} \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/fslint +install -pm 755 fslint/fstool/* \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/fslint/fstool +install -pm 644 fslint/supprt/fslver \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/fslint/supprt +install -pm 755 fslint/supprt/get* \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/fslint/supprt +install -pm 755 fslint/supprt/md5sum_approx \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/fslint/supprt +install -pm 755 fslint/supprt/rmlint/* \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/fslint/supprt/rmlint + +cp -a man/* \ + $RPM_BUILD_ROOT%{_mandir}/man1/ + +make -C po DESTDIR=$RPM_BUILD_ROOT LOCALEDIR=%{_datadir}/locale install + +desktop-file-install \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + --mode 644 \ + %{name}.desktop + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc doc/* +%{_mandir}/man1/fslint* +%{_bindir}/fslint-gui +%{_datadir}/%{name} +%{_datadir}/applications/*%{name}.desktop +%{_datadir}/pixmaps/fslint_icon.png + +%changelog +* Mon Mar 03 2014 Silvan Calarco 2.45-1mamba +- update to 2.45 + +* Sun Feb 27 2011 Fabio Giani 2.42-1mamba +- package created by autospec + + + + + +