Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
pyrenamer
pyrenamer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pyrenamer.spec of Package pyrenamer
# # spec file for package pyrenamer # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: pyrenamer Version: 0.6.0 Release: 0 Summary: Mass file renamer for GNOME License: GPL-2.0 Group: Productivity/File utilities URL: https://launchpad.net/pyrenamer Source: %{name}-%{version}.tar.gz Patch0: pyrenamer-desktop-suse.patch BuildRequires: fdupes BuildRequires: gconf2-devel BuildRequires: gettext BuildRequires: perl-XML-Parser BuildRequires: python-gtk-devel BuildRequires: update-desktop-files Requires: python-gconf Requires: python-gtk Requires: python-hachoir-metadata Requires: python-hachoir-parser Requires: python-pyexiv2 BuildArch: noarch %{gconf_schemas_requires} %if 0%{?suse_version} < 1500 BuildRequires: python-eyeD3 Requires: python-eyeD3 %endif %description With pyRenamer, the name of several files can be changed at the same time. It supports patterns and search-and-replace to rename files, common substitutions, manual rename of selected files, and renaming of music and image files using their metadata. %prep %setup -q %patch0 -p1 %build %configure make %{?_smp_mflags} %install export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %make_install %find_gconf_schemas %find_lang %{name} %fdupes %{buildroot}%{python_sitelib}/%{name}/ %fdupes -s %{buildroot}/%{_datadir}/%{name}/ %fdupes %{buildroot}/%{_prefix} sed -i '1 s|%{_bindir}/env\ python|%{_bindir}/python2|' %{buildroot}/%{_bindir}/%{name} %pre -f %{name}.schemas_pre %preun -f %{name}.schemas_preun %posttrans -f %{name}.schemas_posttrans %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files -f %{name}.lang %doc AUTHORS ChangeLog NEWS README TODO %license COPYING %{python_sitelib}/%{name} %{_datadir}/GConf/schemas/%{name}.schemas %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/%{name}.1%{ext_man} %{_datadir}/pixmaps/%{name}.png %{_datadir}/%{name} %{_datadir}/doc/pyrenamer %{_datadir}/doc/pyrenamer/treefilebrowser_example.py %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