2007-03-27 01:47:55 +00:00
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
Name: libiptcdata
|
2007-05-15 07:25:44 +00:00
|
|
|
Version: 1.0.2
|
2008-05-29 15:59:48 +00:00
|
|
|
Release: 3%{?dist}
|
2007-03-27 01:47:55 +00:00
|
|
|
Summary: IPTC tag library
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
2008-05-29 15:59:48 +00:00
|
|
|
License: LGPLv2+
|
2007-03-27 01:47:55 +00:00
|
|
|
URL: http://libiptcdata.sourceforge.net/
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
libiptcdata is a library for parsing, editing, and saving IPTC data
|
|
|
|
stored inside images. IPTC is a standard for encoding metadata such
|
|
|
|
as captions, titles, locations, etc. in the headers of an image file.
|
|
|
|
libiptcdata also includes a command-line utility for modifying the
|
|
|
|
metadata.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Headers and libraries for libiptcdata application development
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libiptcdata-devel package contains the libraries and include files
|
|
|
|
that you can use to develop libiptcdata applications.
|
|
|
|
|
|
|
|
%package python
|
|
|
|
Summary: Python bindings for libiptcdata
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
BuildRequires: python-devel
|
|
|
|
|
|
|
|
%description python
|
|
|
|
The libiptcdata-python package contains a Python module that allows Python
|
|
|
|
applications to use the libiptcdata API for reading and writing IPTC
|
|
|
|
metadata in images.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-gtk-doc --enable-python --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{python_sitearch}/iptcdata.la
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
# %{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/libiptcdata
|
|
|
|
%{_datadir}/gtk-doc/html/libiptcdata
|
|
|
|
|
|
|
|
%files python
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc python/README
|
|
|
|
%doc python/examples/*
|
|
|
|
%{python_sitearch}/*.so
|
|
|
|
|
|
|
|
%changelog
|
2008-05-29 15:59:48 +00:00
|
|
|
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-3
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-19 01:02:43 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-05-15 07:25:44 +00:00
|
|
|
* Tue May 15 2007 David Moore <dcm@acm.org> 1.0.2-1
|
|
|
|
- New upstream version
|
|
|
|
|
2007-03-27 01:47:55 +00:00
|
|
|
* Fri Mar 23 2007 David Moore <dcm@acm.org> 1.0.1-1
|
|
|
|
- New upstream version
|
|
|
|
|
|
|
|
* Thu Mar 22 2007 David Moore <dcm@acm.org> 1.0.0-2
|
|
|
|
- Fixed URL, removed INSTALL file, fixed python path and timestamps
|
|
|
|
|
|
|
|
* Wed Mar 21 2007 David Moore <dcm@acm.org> 1.0.0-1
|
|
|
|
- Updated spec file to better match Fedora guidelines
|
|
|
|
|
|
|
|
* Sun Jan 28 2007 David Moore <dcm@acm.org>
|
|
|
|
- Added libiptcdata-python package
|
|
|
|
|
|
|
|
* Wed Apr 12 2006 David Moore <dcm@acm.org>
|
|
|
|
- Removed *.mo from spec file since there are no translations yet
|
|
|
|
|
|
|
|
* Mon Feb 28 2005 David Moore <dcm@acm.org>
|
|
|
|
- Initial version
|