File libiptcdata.spec of Package libiptcdata

#
# spec file for package libiptcdata
#
# Copyright (c) 2013 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/
#


Name:           libiptcdata
Version:        1.0.4
Release:        0
Url:            http://libiptcdata.sourceforge.net/
Summary:        IPTC Metadata Tag Manipulation Library
License:        LGPL-2.1+
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  pkg-config
Requires:       libiptcdata0
Recommends:     %{name}-lang

%description
libiptcdata is a library for parsing, editing, and saving IPTC data.

libiptcdata is a library for manipulating the International Press
Telecommunications Council (IPTC) metadata stored within multimedia
files such as images. This metadata can include captions and keywords,
often used by popular photo management applications. The library
provides routines for parsing, viewing, modifying, and saving this
metadata. The libiptcdata package also includes a command line utility,
iptc, for editing IPTC data in JPEG files. The library implements the
IPTC Information Interchange Model according to its specification.



Authors:
--------
    David Moore <dcm@acm.org>
    Luka Renko <luka.renko@gmail.com>

%package -n libiptcdata0
Summary:        IPTC Metadata Tag Manipulation Library
Group:          System/Libraries
Requires:       %{name} = %{version}

%description -n libiptcdata0
libiptcdata is a library for parsing, editing, and saving IPTC data.

libiptcdata is a library for manipulating the International Press
Telecommunications Council (IPTC) metadata stored within multimedia
files such as images. This metadata can include captions and keywords,
often used by popular photo management applications. The library
provides routines for parsing, viewing, modifying, and saving this
metadata. The libiptcdata package also includes a command line utility,
iptc, for editing IPTC data in JPEG files. The library implements the
IPTC Information Interchange Model according to its specification.



Authors:
--------
    David Moore <dcm@acm.org>
    Luka Renko <luka.renko@gmail.com>

%package devel
Summary:        IPTC Metadata Tag Manipulation Library
Group:          System/Libraries
Requires:       %{name} = %{version}

%description devel
libiptcdata is a library for parsing, editing, and saving IPTC data.

libiptcdata is a library for manipulating the International Press
Telecommunications Council (IPTC) metadata stored within multimedia
files such as images. This metadata can include captions and keywords,
often used by popular photo management applications. The library
provides routines for parsing, viewing, modifying, and saving this
metadata. The libiptcdata package also includes a command-line utility,
iptc, for editing IPTC data in JPEG files.

The library implements the IPTC Information Interchange Model according
to its specification.



Authors:
--------
    David Moore <dcm@acm.org>
    Luka Renko <luka.renko@gmail.com>

%package doc
Summary:        IPTC Metadata Tag Manipulation Library
Group:          System/Libraries

%description doc
libiptcdata is a library for parsing, editing, and saving IPTC data.

libiptcdata is a library for manipulating the International Press
Telecommunications Council (IPTC) metadata stored within multimedia
files such as images. This metadata can include captions and keywords,
often used by popular photo management applications. The library
provides routines for parsing, viewing, modifying, and saving this
metadata. The libiptcdata package also includes a command-line utility,
iptc, for editing IPTC data in JPEG files.

The library implements the IPTC Information Interchange Model according
to its specification.



Authors:
--------
    David Moore <dcm@acm.org>
    Luka Renko <luka.renko@gmail.com>

%lang_package
%prep
%setup

%build
%configure --disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
%find_lang %{name}
%find_lang iptc %{name}.lang
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +

%clean
rm -rf $RPM_BUILD_ROOT

%post -n libiptcdata0 -p /sbin/ldconfig

%postun -n libiptcdata0 -p /sbin/ldconfig

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
%{_bindir}/*

%files -n libiptcdata0
%defattr (-, root, root)
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_prefix}/include/*

%files doc
%defattr (-, root, root)
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/*

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by