From 43822c99b680d9c34f5261a7794f305f5ff6f633 Mon Sep 17 00:00:00 2001 From: Trond Danielsen Date: Sat, 5 May 2007 08:21:53 +0000 Subject: [PATCH] Initial import of libopenraw. --- .cvsignore | 1 + libopenraw.spec | 126 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 128 insertions(+) create mode 100644 libopenraw.spec diff --git a/.cvsignore b/.cvsignore index e69de29..ce05ac7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libopenraw-0.0.2.tar.gz diff --git a/libopenraw.spec b/libopenraw.spec new file mode 100644 index 0000000..62f3989 --- /dev/null +++ b/libopenraw.spec @@ -0,0 +1,126 @@ +Name: libopenraw +Version: 0.0.2 +Release: 5%{?dist} +Summary: Decode camera RAW files + +Group: System Environment/Libraries +License: LGPL +URL: http://%{name}.freedesktop.org/wiki +Source0: http://%{name}.freedesktop.org/download/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: boost-devel +BuildRequires: libjpeg-devel +BuildRequires: glib2-devel +BuildRequires: gtk2-devel + + +%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 gnome +Summary: GUI components of %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description gnome +The %{name}-gnome package contains gui components of %{name}. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%package gnome-devel +Summary: Development files for %{name}-gnome +Group: Development/Libraries +Requires: %{name}-gnome = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +Requires: pkgconfig + +%description gnome-devel +The %{name}-gnome-devel package contains libraries and header files for +developing applications that use %{name}-gnome. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%post gnome -p /sbin/ldconfig +%postun gnome -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_libdir}/%{name}.so.* + + +%files gnome +%defattr(-,root,root,-) +%{_libdir}/%{name}gnome.so.* + + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/%{name}-1.0 +%{_includedir}/%{name}-1.0/%{name} +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}-1.0.pc + + +%files gnome-devel +%defattr(-,root,root,-) +%{_includedir}/%{name}-1.0/%{name}-gnome +%{_libdir}/%{name}gnome.so +%{_libdir}/pkgconfig/%{name}-gnome-1.0.pc + + +%changelog +* Thu May 03 2007 Trond Danielsen - 0.0.2-5 +- Added unowned directory to list of files. +- Changed license from GPL to LGPL. + +* Wed May 02 2007 Trond Danielsen - 0.0.2-4 +- Moved gui components to a separate package. + +* Tue May 01 2007 Trond Danielsen - 0.0.2-3 +- Added missing BuildRequirement. + +* Mon Apr 30 2007 Trond Danielsen - 0.0.2-2 +- Added missing BuildRequirement. + +* Sun Apr 29 2007 Trond Danielsen - 0.0.2-1 +- Inital version. diff --git a/sources b/sources index e69de29..5e614db 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +eae40ecaa92f69d99b27ae3bad8aa8ae libopenraw-0.0.2.tar.gz