rawtherapee/rawtherapee.spec

150 lines
4.9 KiB
RPMSpec
Raw Normal View History

%define ver %{version}-r1-gtk3
Name: rawtherapee
Version: 5.8
Release: 1mamba
Summary: A powerful open source RAW converter
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://rawtherapee.com/
Source: http://rawtherapee.com/shared/source/rawtherapee-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libatkmm-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm-devel
BuildRequires: libgomp-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkmm2-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm-devel
BuildRequires: libpng-devel
BuildRequires: libsigc++-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
BuildRequires: libiptcdata-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
RawTherapee is a cross platform image processing software equipped with the essential tools for high quality and efficient RAW photo development.
%debug_package
%prep
%setup -q -n %{name}-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
mkdir %{buildroot}%{_libdir}
rm %{buildroot}/usr%{_libdir}/*.a
#mv %{buildroot}/usr%{_libdir}/librtengine.so %{buildroot}%{_libdir}/
#mv %{buildroot}/usr%{_libdir}/librtexif.so %{buildroot}%{_libdir}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/rawtherapee
%{_bindir}/rawtherapee-cli
%{_datadir}/metainfo/com.rawtherapee.RawTherapee.appdata.xml
%{_datadir}/rawtherapee/dcpprofiles/camera_model_aliases.json
%{_datadir}/rawtherapee/iccprofiles/output/*.icc
%{_datadir}/rawtherapee/images/*.svg
%{_datadir}/rawtherapee/images/rawtherapee.ico
%{_datadir}/rawtherapee/images/rawtherapee_ico.xcf
#%{_libdir}/librtengine.so
#%{_libdir}/librtexif.so
%{_datadir}/applications/rawtherapee.desktop
#%{_datadir}/appdata/rawtherapee.appdata.xml
%{_datadir}/icons/hicolor/*/apps/rawtherapee.png
%dir %{_datadir}/rawtherapee
%{_datadir}/rawtherapee/camconst.json
%dir %{_datadir}/rawtherapee/dcpprofiles
%{_datadir}/rawtherapee/dcpprofiles/*.dcp
%{_datadir}/rawtherapee/iccprofiles/input/*.icc
#%{_datadir}/rawtherapee/iccprofiles/output/*.icc
#%{_datadir}/rawtherapee/iccprofiles/output/*.icm
%dir %{_datadir}/rawtherapee/images
%{_datadir}/rawtherapee/images/*.png
#%{_datadir}/rawtherapee/images/Dark/actions/*.png
#%{_datadir}/rawtherapee/images/Dark/devices/*.png
#%{_datadir}/rawtherapee/images/Dark/index.theme
#%{_datadir}/rawtherapee/images/Dark/places/*.png
#%{_datadir}/rawtherapee/images/Light/actions/*.png
#%{_datadir}/rawtherapee/images/Light/devices/*.png
#%{_datadir}/rawtherapee/images/Light/index.theme
#%{_datadir}/rawtherapee/images/Light/places/*.png
%dir %{_datadir}/rawtherapee/languages
%{_datadir}/rawtherapee/languages/*
%{_datadir}/rawtherapee/options
%dir %{_datadir}/rawtherapee/profiles
%{_datadir}/rawtherapee/profiles/*
%{_datadir}/rawtherapee/sounds/*.wav
#%{_datadir}/rawtherapee/themes/*.gtkrc
%{_datadir}/rawtherapee/themes/*.iconset
#%{_datadir}/rawtherapee/themes/gray_textured/*.png
#%{_datadir}/rawtherapee/themes/gray_textured/*.xcf
#%{_datadir}/rawtherapee/themes/slim
%{_datadir}/rawtherapee/iccprofiles/input/*.icm
%{_datadir}/rawtherapee/themes/*.css
%{_datadir}/rawtherapee/themes/images/svg/twb/*.svg
%{_datadir}/rawtherapee/themes/images/twb/*.png
%{_datadir}/rawtherapee/themes/system.iconset
%{_datadir}/doc/rawtherapee/*.txt
%{_mandir}/man1/rawtherapee.1*
%changelog
* Thu Mar 26 2020 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 5.8-1mamba
- update to 5.8
* Thu Apr 13 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 5.0-r1-1mamba
- update to 5.0-r1
* Thu Oct 30 2014 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
- automatic version update by autodist
* Wed May 28 2014 Automatic Build System <autodist@mambasoft.it> 4.1-1mamba
- automatic update by autodist
* Sat Feb 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.12-1mamba
- update to 4.0.12
* Sat Feb 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.11-1mamba
- update to 4.0.11
* Sun Oct 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.9-4mamba
- fixed librtengine and librtexif destination
* Sun Jan 06 2013 openmamba WebBuild System <webbuild@openmamba.org> 4.0.9-3mamba
- fix typo in package group
* Thu Aug 30 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 4.0.9-2mamba
- fixed Summary description
* Wed Aug 29 2012 openmamba WebBuild System <webbuild@openmamba.org> 4.0.9-1mamba
- package created by autospec