libexif/libexif.spec
Marcus Meissner 94f1fbe937 - updated to 0.6.20
* New translations: bs, tr
  * Updated translations: be, cs, da, de, en_GB, en_CA, it, ja, nl, pl, pt_BR,
    pt, ru, sk, sq, sr, sv, vi, zh_CN
  * Fixed some problems in the write-exif.c example program
  * Stop listing -lm as a required library for dynamic linking in libexif.pc
  * Turned on the --enable-silent-rules configure option
  * Changed a lot of strings to make the case of the text more consistent
  * exif_entry_dump() now displays the correct tag name for GPS tags
  * Fixed some invalid format specifiers that caused problems on some platforms
  * Display rational numbers with the right number of significant figures
- remove "la" files
  * Enhanced support of Canon and Olympus makernotes
- fixed endless loop problem in exif_content_remove_entry()
- rpmlint fixes

OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=9
2010-12-17 14:43:21 +00:00

107 lines
2.4 KiB
RPMSpec

#
# spec file for package libexif (Version 0.6.19)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libexif
BuildRequires: doxygen pkg-config
Url: http://libexif.sourceforge.net
License: LGPLv2.1+
Group: System/Libraries
Summary: An EXIF Tag Parsing Library for Digital Cameras
Version: 0.6.20
Release: 3
# bug437293
%ifarch ppc64
Obsoletes: libexif-64bit
%endif
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
%description
This library is used to parse EXIF information from JPEGs created by
digital cameras.
Authors:
--------
Lutz Müller <lutz@users.sourceforge.net>
Curtis Galloway <curtisg@users.sourceforge.net>
%package devel
License: LGPLv2.1+
Group: Development/Libraries/C and C++
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
Requires: %{name} = %{version} glibc-devel
# bug437293
%ifarch ppc64
Obsoletes: libexif-devel-64bit
%endif
#
%description devel
This library is used to parse EXIF information from JPEGs created by
digital cameras.
Authors:
--------
Lutz Müller <lutz@users.sourceforge.net>
Curtis Galloway <curtisg@users.sourceforge.net>
%prep
%setup -q
%build
%configure --with-pic\
--disable-static \
--with-doc-dir=%{_docdir}/%{name}
%{__make} %{?jobs:-j%jobs}
%check
make check
%install
%makeinstall
%find_lang %{name}-12
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}-12.lang
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%changelog