rpms/renrot/devel .cvsignore, 1.2, 1.3 renrot.spec, 1.1, 1.2 sources, 1.2, 1.3

Andy Shevchenko (andriy) fedora-extras-commits at redhat.com
Mon Jun 12 08:22:02 UTC 2006


Author: andriy

Update of /cvs/extras/rpms/renrot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26714

Modified Files:
	.cvsignore renrot.spec sources 
Log Message:
update to 0.21


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/renrot/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	3 Jun 2006 15:39:03 -0000	1.2
+++ .cvsignore	12 Jun 2006 08:22:02 -0000	1.3
@@ -1 +1 @@
-renrot-0.20.tar.gz
+renrot-0.21.tar.gz


Index: renrot.spec
===================================================================
RCS file: /cvs/extras/rpms/renrot/devel/renrot.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- renrot.spec	3 Jun 2006 15:39:03 -0000	1.1
+++ renrot.spec	12 Jun 2006 08:22:02 -0000	1.2
@@ -1,6 +1,6 @@
 Name:		renrot
-Version:	0.20
-Release:	2%{?dist}
+Version:	0.21
+Release:	1%{?dist}
 License:	GPL or Artistic
 Group:		Applications/Multimedia
 Summary:	A program to rename and rotate files according to EXIF tags
@@ -8,7 +8,7 @@
 Source0:	ftp://ftp.dn.farlep.net/pub/misc/renrot/%{name}-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
-BuildRequires:	perl(Image::ExifTool) >= 5.61
+BuildRequires:	perl(Image::ExifTool) >= 5.72
 BuildRequires:	perl(Getopt::Long) >= 2.34
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:	libjpeg >= 6b
@@ -26,7 +26,7 @@
 configuration file.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}
 
 %build
 %{__perl} Makefile.PL PREFIX=%{_prefix}
@@ -39,9 +39,11 @@
 # Fix renrot permissions
 chmod 755 $RPM_BUILD_ROOT%{_bindir}/renrot
 
-# install rc-file
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
-install -m644 renrot.rc $RPM_BUILD_ROOT%{_sysconfdir}/renrot.rc
+# install sample confuration files
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+install -m644 etc/copyright.tag $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+install -m644 etc/renrot.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+install -m644 etc/tags.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
 
 # Remove some unwanted files
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -50,15 +52,30 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%triggerin -- renrot < 0.21-0.2.rc2
+if [ -f %{_sysconfdir}/renrot.rc ]; then
+    /bin/mkdir -p %{_sysconfdir}/%{name}
+    /bin/mv -fb %{_sysconfdir}/renrot.rc %{_sysconfdir}/%{name}/renrot.conf
+fi
+
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS README ChangeLog NEWS TODO
 %lang(ru) %doc README.russian
 %{_bindir}/renrot
 %{_mandir}/man1/*.1*
-%config(noreplace) %{_sysconfdir}/renrot.rc
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/copyright.tag
+%config(noreplace) %{_sysconfdir}/%{name}/renrot.conf
+%config(noreplace) %{_sysconfdir}/%{name}/tags.conf
 
 %changelog
+* Mon Jun 12 2006 Andy Shevchenko <andriy at asplinux.com.ua> 0.21-1
+- update to 0.21
+
+* Wed Jun 07 2006 Andy Shevchenko <andriy at asplinux.com.ua>
+- relocate configuration to %_sysconfdir/%name
+
 * Sat Jun 03 2006 Andy Shevchenko <andriy at asplinux.com.ua> 0.20-2
 - remove BR: perl
 - fix renrot permissions


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/renrot/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	3 Jun 2006 15:39:03 -0000	1.2
+++ sources	12 Jun 2006 08:22:02 -0000	1.3
@@ -1 +1 @@
-b3261caa8ed7a6c87add693310feb9b9  renrot-0.20.tar.gz
+c9f4dfd42429a01080182e880bbce921  renrot-0.21.tar.gz




More information about the fedora-extras-commits mailing list