aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andy@smile.org.ua>2012-07-15 19:07:44 +0000
committerAndy Shevchenko <andy@smile.org.ua>2012-07-15 19:07:44 +0000
commitad4627fa583d19e973ff0737ebb6a68b7bfbb8e4 (patch)
tree27e80f3663b504af91d32889e2b2f9f443824fe5
parentf8bae68a3a08ef61e26e5bc60a51e43a3c18a4a3 (diff)
downloadrenrot-ad4627fa583d19e973ff0737ebb6a68b7bfbb8e4.tar.gz
renrot-ad4627fa583d19e973ff0737ebb6a68b7bfbb8e4.tar.bz2
rpm: sync specfile from Fedora
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> git-svn-id: file:///svnroot/renrot/trunk@605 fe2816f4-e837-0410-b10a-f608c9d244a1
-rw-r--r--renrot.spec30
1 files changed, 19 insertions, 11 deletions
diff --git a/renrot.spec b/renrot.spec
index a25b246..3c422bd 100644
--- a/renrot.spec
+++ b/renrot.spec
@@ -3,20 +3,19 @@
Name: renrot
Version: 1.1.0
-Release: 1%{?dotrc}%{?dist}
+Release: 3%{?dotrc}%{?dist}
License: Artistic 2.0
Group: Applications/Multimedia
Summary: A program to rename and rotate files according to EXIF tags
URL: http://puszcza.gnu.org.ua/projects/renrot/
Source0: ftp://download.gnu.org.ua/pub/release/renrot/%{name}-%{version}%{?rcver}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
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
-Requires(hint): perl(Image::Magick)
+Requires: /usr/bin/jpegtran
+#Requires(hint): perl(Image::Magick)
%description
Renrot renames files according the DateTimeOriginal and FileModifyDate
@@ -38,7 +37,6 @@ configuration file.
make
%install
-rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT%{_prefix}
# Fix renrot permissions
@@ -55,9 +53,6 @@ install -m644 etc/tags.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} \;
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%triggerin -- renrot < 0.21-0.2.rc2
if [ -f %{_sysconfdir}/renrot.rc ]; then
/bin/mkdir -p %{_sysconfdir}/%{name}
@@ -65,7 +60,6 @@ if [ -f %{_sysconfdir}/renrot.rc ]; then
fi
%files
-%defattr(-,root,root,-)
%doc AUTHORS README ChangeLog NEWS TODO
%lang(ru) %doc README.russian
%{_bindir}/renrot
@@ -77,18 +71,32 @@ fi
%config(noreplace) %{_sysconfdir}/%{name}/tags.conf
%changelog
-* Sun Jun 01 2008 Andy Shevchenko <andy@smile.org.ua>
+* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 1.1-3
+- Perl mass rebuild
+- Dropping now obsolete Buildroot and defattr
+- Commenting Requires(hint) out since fedpkg refuses to work with it
+
+* Thu Jul 01 2010 Adam Tkac <atkac redhat com> - 1.1-2
+- Require /usr/bin/jpegtran instead of libjpeg; compatible with both
+ libjpeg and libjpeg-turbo
+
+* Mon Oct 06 2008 Andy Shevchenko <andy@smile.org.ua> - 1.1-0.3.rc3
+- update to 1.1rc3
- change License to Artistic 2.0 accordingly to mainstream
- update URLs
- require (optional) Image::Magick
+* Tue Sep 04 2007 Andy Shevchenko <andy@smile.org.ua> 0.25-3.1
+- Fix License tag
+- Add BuildRequires: perl(ExtUtils::MakeMaker)
+
* Tue Aug 22 2006 Andy Shevchenko <andy@smile.org.ua>
- add colors.conf
* Wed Jun 07 2006 Andy Shevchenko <andriy@asplinux.com.ua>
- relocate configuration to %_sysconfdir/%name
-* Sat Jun 03 2006 Andy Shevchenko <andriy@asplinux.com.ua>
+* Sat Jun 03 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.20-2
- remove BR: perl
- fix renrot permissions

Return to:

Send suggestions and report system problems to the System administrator.