2024-01-05 21:21:38 +01:00
|
|
|
%define pkgver %(echo %version|tr _ -)
|
|
|
|
%define icc_examin_ver 0.47
|
|
|
|
Summary: CinePaint is a tool for manipulating images
|
|
|
|
Name: cinepaint
|
|
|
|
Version: 1.0_4
|
2024-01-05 21:21:38 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 21:21:38 +01:00
|
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
|
|
Distribution: openmamba
|
|
|
|
Vendor: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.cinepaint.org
|
|
|
|
Source0: http://downloads.sourceforge.net/project/cinepaint/CinePaint/CinePaint-%{pkgver}/cinepaint-%{pkgver}.tar.gz
|
|
|
|
Source1: http://downloads.sourceforge.net/oyranos/icc_examin-%{icc_examin_ver}.tar.gz
|
|
|
|
Patch0: cinepaint-openexr_pthread.patch
|
|
|
|
Patch1: %{name}-0.22-gcc43.patch
|
|
|
|
Patch2: %{name}-0.22-oyranos19.patch
|
|
|
|
Patch3: %{name}-0.22-gcc44.patch
|
|
|
|
Patch4: %{name}-0.22-1-underquoted.patch
|
|
|
|
Patch5: %{name}-0.22-oyranos19-2.patch
|
|
|
|
Patch6: %{name}-0.22-gcc44-oyranos.patch
|
|
|
|
Patch7: %{name}-0.22-upd_pdf.patch
|
|
|
|
Patch8: %{name}-0.22-ENOY.patch
|
|
|
|
Patch9: %{name}-0.25-oyranos_cms.patch
|
|
|
|
Patch10: %{name}-0.25-oyranos_header.patch
|
|
|
|
Patch11: %{name}-0.25-oyranos_include.patch
|
|
|
|
Patch12: cinepaint-1.0_4-libpng-1.5.patch
|
|
|
|
Patch13: cinepaint-1.0_4-oyranos-0.9.4.patch
|
|
|
|
License: GPL
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: gutenprint-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXft-devel
|
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libXmu-devel
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
BuildRequires: libXt-devel
|
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libelektra-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libfltk-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libilmbase-devel
|
|
|
|
BuildRequires: libjbig-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: liblcms-devel
|
|
|
|
BuildRequires: libltdl-devel
|
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libopenexr-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpthread-stubs-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libyajl-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: oyranos-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:21:38 +01:00
|
|
|
BuildRequires: libelektra-devel >= 0.8.6-1mamba
|
2024-01-05 21:21:38 +01:00
|
|
|
BuildRequires: libpython-devel >= 2.4.3
|
|
|
|
BuildRequires: libftgl-devel
|
|
|
|
BuildRequires: oyranos-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
CinePaint is an image editing tool primarily used for painting and retouching of motion picture frames.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%setup -q -n cinepaint-%{pkgver}
|
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
|
|
|
#-a1
|
|
|
|
#rm -rf plug-ins/icc_examin/icc_examin
|
|
|
|
#cp -pR icc_examin-%{icc_examin_ver} plug-ins/icc_examin/icc_examin
|
|
|
|
%patch0 -p1
|
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
#%patch4 -p1
|
|
|
|
#%patch5 -p1
|
|
|
|
#%patch6 -p1
|
|
|
|
#%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p0
|
|
|
|
%patch10 -p0
|
|
|
|
%patch11 -p0
|
|
|
|
%patch12 -p1
|
|
|
|
%patch13 -p1
|
|
|
|
autoconf -f -i
|
|
|
|
|
|
|
|
%build
|
|
|
|
#:<< _EOF
|
|
|
|
#autoreconf
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -DOYRANOS_NVERSION=110 -DOYRANOS_VERSION=110"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -DOYRANOS_NVERSION=110 -DOYRANOS_VERSION=110"
|
|
|
|
%configure --enable-gtk2
|
|
|
|
%make \
|
|
|
|
PYTHON_INCLUDES=-I%{_includedir}/python/ \
|
|
|
|
LIBS="-lX11"
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}-script-fu
|
|
|
|
%find_lang %{name}-std-plugins
|
|
|
|
cat %{name}-script-fu.lang %{name}-std-plugins.lang >> %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/cinepaint
|
|
|
|
%{_bindir}/cinepaint-remote
|
|
|
|
%{_bindir}/cinepainttool
|
|
|
|
%{_libdir}/libcinepaint.so.*
|
|
|
|
%{_libdir}/libcinepaintHalf.so.*
|
|
|
|
%{_libdir}/libcinepaint_fl_i18n.so.*
|
|
|
|
%dir %{_libdir}/cinepaint/%{pkgver}
|
|
|
|
%dir %{_libdir}/cinepaint/%{pkgver}/extra
|
|
|
|
%{_libdir}/cinepaint/%{pkgver}/extra/*
|
|
|
|
%dir %{_libdir}/cinepaint/%{pkgver}/plug-ins
|
|
|
|
%{_libdir}/cinepaint/%{pkgver}/plug-ins/*
|
|
|
|
%dir %{_datadir}/cinepaint
|
|
|
|
%{_datadir}/cinepaint/*
|
|
|
|
%{_datadir}/aclocal/cinepaint.m4
|
|
|
|
%{_datadir}/applications/cinepaint.desktop
|
|
|
|
%{_datadir}/pixmaps/cinepaint.png
|
|
|
|
%{_mandir}/man1/cinepaint*.1*
|
|
|
|
#/usr/man/man1/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_includedir}/cinepaint
|
|
|
|
%{_includedir}/cinepaint/*
|
|
|
|
%{_libdir}/libcinepaint.a
|
|
|
|
%{_libdir}/libcinepaint.la
|
|
|
|
%{_libdir}/libcinepaint.so
|
|
|
|
%{_libdir}/libcinepaintHalf.a
|
|
|
|
%{_libdir}/libcinepaintHalf.la
|
|
|
|
%{_libdir}/libcinepaintHalf.so
|
|
|
|
%{_libdir}/libcinepaint_fl_i18n.a
|
|
|
|
%{_libdir}/libcinepaint_fl_i18n.la
|
|
|
|
%{_libdir}/libcinepaint_fl_i18n.so
|
|
|
|
%{_libdir}/pkgconfig/cinepaint-gtk.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:21:38 +01:00
|
|
|
* Sun Feb 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0_4-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: libelektra-devel>=0.8.6-1mamba
|
|
|
|
|
2024-01-05 21:21:38 +01:00
|
|
|
* Mon Mar 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0_4-2mamba
|
|
|
|
- rebuilt with openexr 2.1.0
|
|
|
|
|
|
|
|
* Sun Dec 22 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0_4-1mamba
|
|
|
|
- update to 1.0_4
|
|
|
|
|
|
|
|
* Sun Oct 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.1-2mamba
|
|
|
|
- rebuilt with liboyranos 0.1.10 (added patches)
|
|
|
|
- internal icc_examin source updated to 0.47
|
|
|
|
|
|
|
|
* Fri Mar 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22-1mamba
|
|
|
|
- update to 0.22
|
|
|
|
|
|
|
|
* Tue Feb 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21-1qilnx
|
|
|
|
- update to version 0.21 by autospec
|
|
|
|
|
|
|
|
* Mon May 16 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.19-2qilnx
|
|
|
|
- rebuild and moved from devel-contrib repository to devel repository
|
|
|
|
|
|
|
|
* Mon May 3 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.19-0-1qilnx
|
|
|
|
- First Build
|
|
|
|
|