73 lines
2.2 KiB
RPMSpec
73 lines
2.2 KiB
RPMSpec
|
%define gimpver 2.0
|
||
|
%define _gimppluginsdir /usr/lib/gimp/%{gimpver}/plug-ins
|
||
|
|
||
|
Name: gimp-separate+
|
||
|
Version: 0.5.8
|
||
|
Release: 1mamba
|
||
|
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
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: gimp
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libatk-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libfontconfig-devel
|
||
|
BuildRequires: libfreetype-devel
|
||
|
BuildRequires: libgdk-pixbuf-devel
|
||
|
BuildRequires: libgimp-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgtk2-devel
|
||
|
BuildRequires: libjpeg-devel
|
||
|
BuildRequires: liblcms-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libtiff-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Requires: gimp >= %{gimpver}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
|
||
|
%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
|
||
|
* 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
|