Name: fslint
Summary: utility to find and clean "lint" on a filesystem
Version: 1.22
Release: 0
License: GPL
Group: System Environment/Base
URL: http://www.pixelbeat.org/fslint/
Description: FSlint is a utility to find and clean "lint" on a filesystem.
It is written in Python, using pyGtk and libGlade.
The build was not successful.
The build was not successful.
The spec file used by the build system currently has the following contents:
# $Id$
# Authority: dag
%define dfi %(which desktop-file-install &>/dev/null; echo $?)
%define real_name FSlint
Summary: utility to find and clean "lint" on a filesystem
Name: fslint
Version: 1.22
Release: 0%{?dist}
License: GPL
Group: System Environment/Base
URL: http://www.pixelbeat.org/fslint/
Source: http://www.iol.ie/~padraiga/fslint/%{real_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires: python, pygtk, pygtk-libglade, textutils >= 2.0.21
%description
FSlint is a utility to find and clean "lint" on a filesystem.
It is written in Python, using pyGtk and libGlade.
%prep
%setup -n %{real_name}-%{version}
%{__perl} -pi.orig -e 's|^liblocation=.*$|liblocation="%{_datadir}/fslint"|' FSlint
%build
%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 FSlint %{buildroot}%{_bindir}/fslint
%{__ln_s} -f %{_bindir}/fslint %{_bindir}/FSlint
%{__install} -Dp -m0755 FSlint %{buildroot}%{_bindir}/FSlint
%{__install} -Dp -m0644 fslint_icon.png %{buildroot}%{_datadir}/pixmaps/fslint_icon.png
%{__install} -Dp -m0644 fslint_icon.png %{buildroot}%{_datadir}/fslint/fslint_icon.png
%{__install} -Dp -m0644 fslint.glade %{buildroot}%{_datadir}/fslint/fslint.glade
%{__install} -d -m0755 %{buildroot}%{_datadir}/fslint/fslint/{fstool,rmlint}
%{__install} -p -m0755 fslint/{find*,fsl*,get*,zipdir} %{buildroot}%{_datadir}/fslint/fslint/
%{__install} -p -m0755 fslint/fstool/* %{buildroot}%{_datadir}/fslint/fslint/fstool/
%{__install} -p -m0755 fslint/rmlint/* %{buildroot}%{_datadir}/fslint/fslint/rmlint/
%if %{dfi}
%{__install} -Dp -m0644 fslint.desktop %{buildroot}%{_datadir}/gnome/apps/Applications/fslint.desktop
%else
%{__install} -d -m0755 %{buildroot}%{_datadir}/applications
desktop-file-install --vendor %{desktop_vendor} \
--add-category X-Red-Hat-Base \
--add-category Application \
--add-category Utility \
--dir %{buildroot}%{_datadir}/applications \
fslint.desktop
%endif
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc doc/*
%{_bindir}/*
%{_datadir}/fslint/
%{_datadir}/pixmaps/*
%if %{dfi}
%{_datadir}/gnome/apps/Applications/*.desktop
%else
%{_datadir}/applications/*.desktop
%endif
%changelog
* Wed Jul 30 2003 Dag Wieers <dag@wieers.com> - 1.22
- Initial package. (using DAR)