]> git.pld-linux.org Git - packages/exif.git/blobdiff - exif.spec
- updated to 0.6.22
[packages/exif.git] / exif.spec
index d20a2198961e715abe561f20d4668f6d1db5e4f6..e9cfe1c8b2c799750e0656aaa53a81561d4434d6 100644 (file)
--- a/exif.spec
+++ b/exif.spec
@@ -1,23 +1,27 @@
 Summary:       Utility to show EXIF information hidden in JPEG files
-Summary(pl.UTF-8):   Narzędzie do wyświetlania danych EXIF ukrytych w plikach JPEG
+Summary(pl.UTF-8):     Narzędzie do wyświetlania danych EXIF ukrytych w plikach JPEG
 Name:          exif
-Version:       0.6.9
-Release:       2
-License:       GPL
+Version:       0.6.22
+%define        tagver  %(echo %{version} | tr . _)
+Release:       1
+License:       GPL v2+
 Group:         Applications/Graphics
-Source0:       http://dl.sourceforge.net/libexif/%{name}-%{version}.tar.gz
-# Source0-md5: 555029098386fa677c461eb249d852d7
-Source1:       %{name}-pl.po
-Patch0:                %{name}-nls.patch
-URL:           http://libexif.sourceforge.net/
-BuildRequires: autoconf >= 2.50
-BuildRequires: automake
-BuildRequires: gettext-devel
-BuildRequires: libexif-devel >= 1:0.6.9
+#Source0Download: https://github.com/libexif/exif/releases
+Source0:       https://github.com/libexif/exif/releases/download/exif-%{tagver}-release/%{name}-%{version}.tar.xz
+# Source0-md5: bc600b12c50fbb26f025819164d963e6
+Patch0:                %{name}-ac.patch
+URL:           https://libexif.github.io/
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.9
+BuildRequires: gettext-tools >= 0.14.1
+BuildRequires: libexif-devel >= 1:0.6.20
 BuildRequires: libtool
 BuildRequires: pkgconfig
-BuildRequires: popt-devel
-Requires:      libexif >= 1:0.6.9
+BuildRequires: popt-devel >= 1.12
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires:      libexif >= 1:0.6.20
+Requires:      popt >= 1.12
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,18 +37,17 @@ do pokazania możliwości libexif.
 %setup -q
 %patch0 -p1
 
-cp %{SOURCE1} po/pl.po
-%{__perl} -pi -e 's/de es fr/de es fr pl/' configure.in
-rm -f po/stamp-po
+%{__rm} po/stamp-po
 
 %build
 %{__gettextize}
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4m
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --disable-silent-rules
 %{__make}
 
 %install
@@ -60,6 +63,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS README ChangeLog
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*.1*
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/exif
+%{_mandir}/man1/exif.1*
This page took 0.07571 seconds and 4 git commands to generate.