123 lines
3.4 KiB
RPMSpec
123 lines
3.4 KiB
RPMSpec
|
Name: libraw9
|
||
|
Version: 0.15.4
|
||
|
Release: 2mamba
|
||
|
Summary: A library for reading RAW files obtained from digital photo cameras
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||
|
URL: http://www.libraw.org/
|
||
|
Source: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libgomp-devel
|
||
|
BuildRequires: libjasper-devel
|
||
|
BuildRequires: libjpeg-devel
|
||
|
BuildRequires: liblcms2-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others).
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others).
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%package tools
|
||
|
Group: Applications/Graphics
|
||
|
Summary: Utility applications for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description tools
|
||
|
The %{name}-tools package contains utility applications for %{name}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n LibRaw-%{version}
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
# remove unpackaged files
|
||
|
rm -fr %{buildroot}%{_datadir}/doc
|
||
|
rm -f %{buildroot}%{_libdir}/libraw.a
|
||
|
rm -f %{buildroot}%{_libdir}/libraw_r.a
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libraw.so.*
|
||
|
%{_libdir}/libraw_r.so.*
|
||
|
%doc COPYRIGHT LICENSE*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/libraw/
|
||
|
%{_libdir}/libraw.la
|
||
|
%{_libdir}/libraw.so
|
||
|
%{_libdir}/libraw_r.la
|
||
|
%{_libdir}/libraw_r.so
|
||
|
%{_libdir}/pkgconfig/libraw.pc
|
||
|
%{_libdir}/pkgconfig/libraw_r.pc
|
||
|
%doc Changelog.txt
|
||
|
|
||
|
%files tools
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/4channels
|
||
|
%{_bindir}/dcraw_emu
|
||
|
%{_bindir}/dcraw_half
|
||
|
%{_bindir}/half_mt
|
||
|
%{_bindir}/mem_image
|
||
|
%{_bindir}/multirender_test
|
||
|
%{_bindir}/postprocessing_benchmark
|
||
|
%{_bindir}/raw-identify
|
||
|
%{_bindir}/simple_dcraw
|
||
|
%{_bindir}/unprocessed_raw
|
||
|
|
||
|
%changelog
|
||
|
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.4-2mamba
|
||
|
- legacy package
|
||
|
|
||
|
* Tue Sep 03 2013 Automatic Build System <autodist@mambasoft.it> 0.15.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Jun 20 2013 Automatic Build System <autodist@mambasoft.it> 0.15.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri May 24 2013 Automatic Build System <autodist@mambasoft.it> 0.14.8-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Oct 19 2012 Automatic Build System <autodist@mambasoft.it> 0.14.7-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Oct 30 2011 Davide Madrisan <davide.madrisan@gmail.com> 0.14.3-1mamba
|
||
|
- update to 0.14.3
|
||
|
|
||
|
* Sat Oct 16 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.10.0-1mamba
|
||
|
- update to 0.10.0
|
||
|
|
||
|
* Tue Jan 26 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.8.5-1mamba
|
||
|
- update to 0.8.5
|
||
|
- removed a wrong requirement in libraw-raw
|
||
|
|
||
|
* Mon Oct 06 2008 Davide Madrisan <davide.madrisan@gmail.com> 0.6.1-1mamba
|
||
|
- package created by autospec
|