Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created rmlint.spec for CentOS7 #257

Merged
merged 1 commit into from Nov 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
55 changes: 55 additions & 0 deletions pkg/centos/rmlint.spec
@@ -0,0 +1,55 @@
Name: rmlint
Version: 2.6.1
Release: 0%{?dist}
Summary: rmlint finds space waste and other broken things on your filesystem and offers to remove it.
Group: Applications/System
License: GPLv3
URL: http://rmlint.rtfd.org
Source0: https://github.com/sahib/rmlint/archive/rmlint-%{version}.tar.gz
Requires: glib2 libblkid elfutils-libelf json-glib
BuildRequires: scons gettext libblkid-devel elfutils-libelf-devel glib2-devel json-glib-devel

%description
rmlint finds space waste and other broken things and offers to remove it. It is
especially an extremely fast tool to remove duplicates from your filesystem.

%prep
%setup -q

%build scons config; scons -j4 --prefix=%{buildroot}/usr --actual-prefix=/usr --libdir=lib64

%install

# Build rmlint, install it into BUILDROOT/<name>-<version>/,
# but take care rmlint thinks it's installed to /usr (--actual_prefix)
scons install -j4 --prefix=%{buildroot}/usr --actual-prefix=/usr --libdir=lib64

# Find all rmlint.mo files and put them in rmlint.lang
%find_lang %{name}
%clean
rm -rf %{buildroot}

# List all files that will be in the packaget
%files -f %{name}.lang
%doc README.rst COPYING
%{_bindir}/*
%{_mandir}/man1/*

# Not used yet:
# %{_libdir}/*
# %{_includedir}/*

%changelog
* Fri Oct 27 2017 Vince Mele <vincentmele@gmail.com> - 2.6.1
- Update to version 2.6.1. Remove python-sphinx3 dependency.
- Use setup -q.
* Sun May 10 2015 Christopher Pahl <sahib@online.de> - 2.2.0
- Update version to 2.2.0
* Sun Jan 12 2015 Christopher Pahl <sahib@online.de> - 2.0.0
- Fix rpm for lib separation.
* Sat Dec 20 2014 Christopher Pahl <sahib@online.de> - 2.0.0
- Use autosetup instead of setup -q
* Fri Dec 19 2014 Christopher Pahl <sahib@online.de> - 2.0.0
- Updated wrong dependency list
* Mon Dec 01 2014 Christopher Pahl <sahib@online.de> - 2.0.0
- Initial release of RPM package