rpms/pyrenamer/F-8 pyrenamer.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jean-François Martin (lokthare)
fedora-extras-commits at redhat.com
Fri May 30 21:24:51 UTC 2008
Author: lokthare
Update of /cvs/pkgs/rpms/pyrenamer/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9491/F-8
Modified Files:
.cvsignore sources
Added Files:
pyrenamer.spec
Log Message:
--- NEW FILE pyrenamer.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: pyrenamer
Version: 0.5.0
Release: 4%{?dist}
Summary: A mass file renamer written in PyGTK
Group: Applications/File
License: GPLv2+
URL: http://www.infinicode.org/code/pyrenamer/
Source0: http://www.infinicode.org/code/pyrenamer/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext desktop-file-utils pygtk2-devel GConf2-devel perl(XML::Parser) python-eyed3
Requires: pygtk2 python-eyed3 gnome-python2-gconf pygtk2-libglade
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
%description
With pyRenamer you can change the name of several files at the same time
easily.
- You can use patterns to rename files.
- You can use search & replace to rename files.
- You can use common substitutions.
- You can manually rename selected files.
- You can rename images using their EXIF tags.
- You can rename MP3s using their ID3 tags.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
desktop-file-install --vendor="fedora" \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
fi
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{python_sitelib}/%{name}
%{_sysconfdir}/gconf/schemas/%{name}.schemas
%{_bindir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_docdir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}
%changelog
* Fri May 30 2008 Jean-François Martin <lokthare at gmail.com> 0.5.0-4
- Fix Requires : Add gnome-python2-gconf and pygtk2-libglade
* Wed May 28 2008 Jean-François Martin <lokthare at gmail.com> 0.5.0-3
- Fix BR: Add python-eyed3
- Reorder to match spec file convention
* Tue May 27 2008 Jean-François Martin <lokthare at gmail.com> 0.5.0-2
- Fix BR: Add perl(XML::Parser).
* Tue May 27 2008 Jean-François Martin <lokthare at gmail.com> 0.5.0-1
- First RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyrenamer/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 May 2008 20:14:03 -0000 1.1
+++ .cvsignore 30 May 2008 21:24:06 -0000 1.2
@@ -0,0 +1 @@
+pyrenamer-0.5.0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyrenamer/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 May 2008 20:14:03 -0000 1.1
+++ sources 30 May 2008 21:24:06 -0000 1.2
@@ -0,0 +1 @@
+35d24ebf7aece5fa7367d71a2e507ebc pyrenamer-0.5.0.tar.gz
More information about the fedora-extras-commits
mailing list