ALT Linux repos
S: | 0.6.24-alt1 |
5.0: | 0.6.17-alt1 |
4.1: | 0.6.16-alt3 |
4.0: | 0.6.16-alt2 |
3.0: | 0.6.12-alt3 |
+updates: | 0.6.16-alt0.M30.1 |
Group :: System/Libraries
RPM: libexif
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define soname 12
%def_disable static
Name: libexif
Version: 0.6.16
Release: alt2
Summary: libexif is a library for parsing, editing, and saving EXIF data
License: LGPLv2+
Group: System/Libraries
Url: http://libexif.sourceforge.net
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2
Patch0: libexif-0.6.12-gcc4.patch
# fixed in libexif CVS
Patch1: libexif-0.6.12-odd.patch
Patch2: libexif-0.6.12-recurse.patch
Patch3: libexif-0.6.16-pkgconfig.patch
Patch4: libexif-0.6.13-doxygen.patch
Patch5: libexif-0.6.16-fix-infinite-recursion-flaw.patch
Patch6: libexif-0.6.16-fix-integer-overflow.patch
# Automatically added by buildreq on Tue Jun 12 2007
BuildRequires: cvs doxygen gcc-c++
%package devel
Summary: Development file for %name library
Group: Development/C
Requires: %name = %version-%release
%package devel-static
Summary: Static %name library
Group: Development/C
Requires: %name-devel = %version-%release
%description
libexif is a library for parsing, editing, and saving EXIF data. It is
intended to replace lots of redundant implementations in command-line
utilities and programs with GUIs.
%description devel
libexif is a library for parsing, editing, and saving EXIF data. It is
intended to replace lots of redundant implementations in command-line
utilities and programs with GUIs.
%description devel-static
libexif is a library for parsing, editing, and saving EXIF data. It is
intended to replace lots of redundant implementations in command-line
utilities and programs with GUIs.
%prep
%setup -q
%patch3 -p1 -b .pkgconfig
#patch4 -p1 -b .doxygen
%patch5 -p1
%patch6 -p1
subst 's,-g \(-Wall\),\1,g' configure
%build
autoreconf -fisv
%configure %{subst_enable static}
%make_build
%install
%makeinstall
%find_lang --output=%name.lang %name-%soname
rm -rf %buildroot%_datadir/doc/%name
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name.lang
%doc README ChangeLog
%_libdir/*.so.*
%files devel
%_includedir/%name
%_libdir/*.so
%_libdir/pkgconfig/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here
%def_disable static
Name: libexif
Version: 0.6.16
Release: alt2
Summary: libexif is a library for parsing, editing, and saving EXIF data
License: LGPLv2+
Group: System/Libraries
Url: http://libexif.sourceforge.net
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2
Patch0: libexif-0.6.12-gcc4.patch
# fixed in libexif CVS
Patch1: libexif-0.6.12-odd.patch
Patch2: libexif-0.6.12-recurse.patch
Patch3: libexif-0.6.16-pkgconfig.patch
Patch4: libexif-0.6.13-doxygen.patch
Patch5: libexif-0.6.16-fix-infinite-recursion-flaw.patch
Patch6: libexif-0.6.16-fix-integer-overflow.patch
# Automatically added by buildreq on Tue Jun 12 2007
BuildRequires: cvs doxygen gcc-c++
%package devel
Summary: Development file for %name library
Group: Development/C
Requires: %name = %version-%release
%package devel-static
Summary: Static %name library
Group: Development/C
Requires: %name-devel = %version-%release
%description
libexif is a library for parsing, editing, and saving EXIF data. It is
intended to replace lots of redundant implementations in command-line
utilities and programs with GUIs.
%description devel
libexif is a library for parsing, editing, and saving EXIF data. It is
intended to replace lots of redundant implementations in command-line
utilities and programs with GUIs.
%description devel-static
libexif is a library for parsing, editing, and saving EXIF data. It is
intended to replace lots of redundant implementations in command-line
utilities and programs with GUIs.
%prep
%setup -q
%patch3 -p1 -b .pkgconfig
#patch4 -p1 -b .doxygen
%patch5 -p1
%patch6 -p1
subst 's,-g \(-Wall\),\1,g' configure
%build
autoreconf -fisv
%configure %{subst_enable static}
%make_build
%install
%makeinstall
%find_lang --output=%name.lang %name-%soname
rm -rf %buildroot%_datadir/doc/%name
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name.lang
%doc README ChangeLog
%_libdir/*.so.*
%files devel
%_includedir/%name
%_libdir/*.so
%_libdir/pkgconfig/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here