libopenraw/libopenraw.spec

99 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: libopenraw
Version: 0.1.3
Release: 1mamba
Summary: Decode camera RAW files
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://libopenraw.freedesktop.org/wiki
Source: http://libopenraw.freedesktop.org/download/libopenraw-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libjpeg-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libboost-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libopenraw is an ongoing project to provide a free software implementation for camera RAW files decoding. One of the main reason is that dcraw is not suited for easy integration into applications, and there is a need for an easy to use API to build free software digital image processing application.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
libopenraw is an ongoing project to provide a free software implementation for camera RAW files decoding. One of the main reason is that dcraw is not suited for easy integration into applications, and there is a need for an easy to use API to build free software digital image processing application.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
%{_bindir}/gdk-pixbuf-query-loaders \
> %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
exit 0
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libopenraw_pixbuf.a
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libopenraw_pixbuf.la
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libopenraw_pixbuf.so
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libopenraw-*/libopenraw
%{_includedir}/libopenraw-*/libopenraw/*.h
%dir %{_includedir}/libopenraw-*/libopenraw-gnome
%{_includedir}/libopenraw-*/libopenraw-gnome/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/libopenraw-*.pc
%{_libdir}/pkgconfig/libopenraw-gnome-*.pc
%doc ChangeLog NEWS README TODO
%changelog
* Wed May 30 2018 Automatic Build System <autodist@mambasoft.it> 0.1.3-1mamba
- automatic version update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
- automatic version update by autodist
* Fri Dec 02 2016 Automatic Build System <autodist@mambasoft.it> 0.1.0-1mamba
- automatic version update by autodist
* Thu Dec 22 2011 Automatic Build System <autodist@mambasoft.it> 0.0.9-1mamba
- update to 0.0.9
* Fri May 15 2009 Automatic Build System <autodist@mambasoft.it> 0.0.8-1mamba
- automatic update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.6-1mamba
- automatic update by autodist
* Wed Oct 15 2008 gil <puntogil@libero.it> 0.0.5-1mamba
- package created by autospec