diff --git a/README.md b/README.md index fb7deab..5d95347 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libopenraw +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. + diff --git a/libopenraw.spec b/libopenraw.spec new file mode 100644 index 0000000..f15fcea --- /dev/null +++ b/libopenraw.spec @@ -0,0 +1,89 @@ +Name: libopenraw +Version: 0.0.9 +Release: 1mamba +Summary: Decode camera RAW files +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: gil +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-1.0/libopenraw +%{_includedir}/libopenraw-1.0/libopenraw/*.h +%dir %{_includedir}/libopenraw-1.0/libopenraw-gnome +%{_includedir}/libopenraw-1.0/libopenraw-gnome/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/libopenraw-1.0.pc +%{_libdir}/pkgconfig/libopenraw-gnome-1.0.pc +%doc ChangeLog NEWS README TODO + +%changelog +* Thu Dec 22 2011 Automatic Build System 0.0.9-1mamba +- update to 0.0.9 + +* Fri May 15 2009 Automatic Build System 0.0.8-1mamba +- automatic update by autodist + +* Mon Mar 02 2009 Silvan Calarco 0.0.6-1mamba +- automatic update by autodist + +* Wed Oct 15 2008 gil 0.0.5-1mamba +- package created by autospec