Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37866669
en ru br
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 ver_major 0.6
%define ver_minor 12
%def_disable static

Name: libexif
Version: %ver_major.%ver_minor
Release: alt3

Summary: libexif is a library for parsing, editing, and saving EXIF data
License: LGPL
Group: System/Libraries
Url: http://%name.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

# Automatically added by buildreq on Mon Sep 27 2004

BuildRequires: gcc-c++ libstdc++-devel

%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
%patch0 -p1 -b .gcc4
%patch1 -p1 -b .odd
%patch2 -p1 -b .recurse
%__subst 's,-g \(-Wall\),\1,g' configure.in

%build
%__autoconf
%configure \
%{subst_enable static}

%make_build

%install
%makeinstall

%find_lang --output=%name.lang %name-%ver_minor

%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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin