Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:test
rmlint
rmlint.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rmlint.spec of Package rmlint
# # spec file for package rmlint # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _name shredder Name: rmlint Version: @SERVICE@ Release: 0 Summary: Extremely fast tool to remove duplicates and other lint from your filesystem License: GPL-3.0-only Group: Productivity/File utilities URL: https://github.com/sahib/rmlint Source: %{name}-%{version}.tar.xz # Needed for typelib() - Requires. BuildRequires: gobject-introspection BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: python3-Sphinx BuildRequires: scons BuildRequires: update-desktop-files BuildRequires: pkgconfig(blkid) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libelf) BuildRequires: pkgconfig(pygobject-3.0) BuildRequires: pkgconfig(sqlite3) Requires: gdk-pixbuf-loader-rsvg Requires: gsettings-backend-dconf Requires: python3-cairo Requires: python3-gobject Requires: python3-gobject-Gdk Requires: python3-gobject-cairo Recommends: %{name}-lang Recommends: python3-colorlog %glib2_gsettings_schema_requires %description `rmlint` finds space waste and other broken things on your filesystem and offers to remove it. Features: Finds - Duplicate Files and duplicate directories. - Nonstripped binaries (i.e. binaries with debug symbols) - Paranoia mode for those who do not trust hashsums. - Broken symbolic links. - Empty files and directories. - Files with broken user or/and group ID. %lang_package %prep %autosetup find gui/ -type f -name "*.py" -exec sed -i '/^#!/s/env.*py.*/python3/' {} \; %build %install scons config VERBOSE=1 --prefix=%{buildroot}%{_prefix} --actual-prefix=%{_prefix} CFLAGS="%{optflags}" scons %{?_smp_mflags} VERBOSE=1 --prefix=%{buildroot}%{_prefix} --actual-prefix=%{_prefix} install %suse_update_desktop_file -r %{_name} System Filesystem rm -fv %{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled grep -rl '^#!' %{buildroot}%{python3_sitelib}/%{_name} | xargs chmod 0755 %find_lang %{name} %files %doc CHANGELOG.md README.rst %{_bindir}/%{name} %{python3_sitelib}/%{_name} %{python3_sitelib}/Shredder-*-py%{py3_ver}.egg-info %{_datadir}/applications/%{_name}.desktop %{_datadir}/glib-2.0/schemas/org.gnome.Shredder.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{_name}.svg %{_mandir}/man?/%{name}.?%{?ext_man} %license COPYING %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor