From 6e12ad6e31f5e29813c98efd35e0fe1525cdf218 Mon Sep 17 00:00:00 2001 From: Patrick Hemmer Date: Sat, 16 Dec 2017 13:14:22 -0500 Subject: [PATCH] fix centos7 spec URL & split shredder to new package --- pkg/centos/rmlint.spec | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pkg/centos/rmlint.spec b/pkg/centos/rmlint.spec index 7c50f8ea..0e19b8ae 100644 --- a/pkg/centos/rmlint.spec +++ b/pkg/centos/rmlint.spec @@ -5,7 +5,7 @@ Summary: rmlint finds space waste and other broken things on your filesys Group: Applications/System License: GPLv3 URL: http://rmlint.rtfd.org -Source0: https://github.com/sahib/rmlint/archive/rmlint-%{version}.tar.gz +Source0: https://github.com/sahib/rmlint/archive/v%{version}/rmlint-%{version}.tar.gz Requires: glib2 libblkid elfutils-libelf json-glib BuildRequires: scons gettext libblkid-devel elfutils-libelf-devel glib2-devel json-glib-devel @@ -13,6 +13,14 @@ BuildRequires: scons gettext libblkid-devel elfutils-libelf-devel glib2-devel j 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. +%package shredder +Summary: GUI for rmlint +Group: Applications/System +Requires: rmlint + +%description shredder +shredder is a GUI frontend to the rmlint utility. + %prep %setup -q @@ -39,7 +47,16 @@ rm -rf %{buildroot} # %{_libdir}/* # %{_includedir}/* +%files shredder +%{python3_sitelib}/* +%{_datadir}/applications/shredder.desktop +%{_datadir}/glib-2.0/schemas/* +%{_datadir}/icons/hicolor/scalable/apps/shredder.svg + %changelog +* Sat Dec 16 2017 Patrick Hemmer - 2.6.1 +- Fix source URL. +- Split shredder into subpackage. * Fri Oct 27 2017 Vince Mele - 2.6.1 - Update to version 2.6.1. Remove python-sphinx3 dependency. - Use setup -q.