Bump to latest upstream version.

This commit is contained in:
Jon Disnard 2014-02-12 01:57:50 -06:00
parent a2459ef6fc
commit 6e5843a34d

View File

@ -1,14 +1,14 @@
%global udevdir %(pkg-config --variable=udevdir udev)
Name: libgphoto2
Version: 2.5.2
Release: 5%{?dist}
Version: 2.5.3
Release: 6%{?dist}
Summary: Library for accessing digital cameras
Group: Development/Libraries
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
License: GPLv2+ and GPLv2
URL: http://www.gphoto.org/
Source0: http://downloads.sourceforge.net/gphoto/libgphoto2-%{version}.tar.bz2
Source0: http://downloads.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2
Patch1: gphoto2-pkgcfg.patch
Patch2: gphoto2-storage.patch
Patch3: gphoto2-ixany.patch
@ -56,21 +56,21 @@ use libgphoto2.
%patch4 -p1 -b .device-return
for i in AUTHORS ChangeLog COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'`; do
mv ${i} ${i}.old
iconv -f ISO-8859-1 -t UTF-8 < ${i}.old > ${i}
touch -r ${i}.old ${i} || :
rm -f ${i}.old
mv ${i} ${i}.old
iconv -f ISO-8859-1 -t UTF-8 < ${i}.old > ${i}
touch -r ${i}.old ${i} || :
rm -f ${i}.old
done
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
udevscriptdir='%{udevdir}' \
--with-drivers=all \
--with-doc-dir=%{_docdir}/%{name} \
--disable-static \
--disable-rpath
udevscriptdir='%{udevdir}' \
--with-drivers=all \
--with-doc-dir=%{_docdir}/%{name} \
--disable-static \
--disable-rpath
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -143,6 +143,9 @@ rm -rf %{buildroot}%{_defaultdocdir}/%{name}
%{_mandir}/man3/*
%changelog
* Wed Feb 12 2014 Jon Disnard <jdisnard@gmail.com> - 2.5.3-6
- Bump to latest upstream version.
* Wed Aug 28 2013 Tim Waugh <twaugh@redhat.com> - 2.5.2-5
- Fixed documentation issue due to unversioned doc dirs (bug #1001263).