gimp-separatePlus/gimp-separate+.spec

77 lines
2.3 KiB
RPMSpec
Raw Normal View History

%define gimpver 2.0
%define _gimppluginsdir /usr/lib/gimp/%{gimpver}/plug-ins
Name: gimp-separate+
Version: 0.5.8
Release: 2mamba
Summary: A plugin providing rudimentary CMYK support for The GIMP
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://cue.yellowmagic.info/softwares/separate.htm
# Real download (ugly) URL:
# 'http://sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fseparate-plus%2F47873%2Fseparate%2B-0.5.8.zip'
Source: http://sourceforge.jp/projects/separate-plus/downloads/47873/separate+-%{version}.zip
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libbabl-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libgegl-devel
BuildRequires: libgimp-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjpeg-devel
BuildRequires: libjson-glib-devel
BuildRequires: liblcms-devel
BuildRequires: libpango-devel
BuildRequires: libtiff-devel
## AUTOBUILDREQ-END
Requires: gimp >= %{gimpver}
%description
Separate+ is a GIMP plug-in that convert an RGB image to CMYK format.
%prep
%setup -q -n separate+-%{version}
%build
%make TIFF_LIB="-ltiff -lm"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALLDIR=%{buildroot}%{_gimppluginsdir}
mkdir -p %{buildroot}%{_datadir}/color/icc
cp sRGB/sRGB_type2.icc %{buildroot}%{_datadir}/color/icc/
cp abstract-profiles/*.icc %{buildroot}%{_datadir}/color/icc/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_gimppluginsdir}/separate
%{_gimppluginsdir}/separate_import
%{_gimppluginsdir}/icc_colorspace
%{_datadir}/color/icc/*.icc
%doc COPYING README README_ICC_COLORSPACE
%changelog
* Mon Oct 30 2023 Automatic Build System <autodist@mambasoft.it> 0.5.8-2mamba
- automatic rebuild by autodist
* Sun Mar 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.8-1mamba
- update to 0.5.8
* Wed Mar 05 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.5.0-1mamba
- package created by autospec