rawtherapee/rawtherapee.spec

141 lines
4.5 KiB
RPMSpec
Raw Permalink Normal View History

%define ver %{version}-r1-gtk3
Name: rawtherapee
Version: 5.9
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: libX11-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libatkmm1-devel
BuildRequires: libatomic-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm10-devel
BuildRequires: libcanberra-devel
BuildRequires: libexpat-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm24-devel
BuildRequires: libgomp-devel
BuildRequires: libgtk3-devel
BuildRequires: libgtkmm3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libiptcdata-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: liblensfun-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm1-devel
BuildRequires: libpng-devel
BuildRequires: librsvg-devel
BuildRequires: libsigc++2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libz-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}/applications/rawtherapee.desktop
%{_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
%dir %{_datadir}/rawtherapee
%{_datadir}/rawtherapee/camconst.json
%dir %{_datadir}/rawtherapee/dcpprofiles
%{_datadir}/rawtherapee/dcpprofiles/*.dcp
%{_datadir}/rawtherapee/iccprofiles/input/*.icc
%dir %{_datadir}/rawtherapee/images
%{_datadir}/rawtherapee/images/*.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/*.iconset
%{_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}/icons/hicolor/scalable/apps/rawtherapee.svg
%{_datadir}/icons/hicolor/*/apps/rawtherapee.png
%dir %{_docdir}/rawtherapee
%{_docdir}/rawtherapee/*
%{_mandir}/man1/rawtherapee.1*
%changelog
* Sun Dec 04 2022 Automatic Build System <autodist@mambasoft.it> 5.9-1mamba
- automatic version update by autodist
* 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