]> git.pld-linux.org Git - packages/cinepaint.git/blobdiff - cinepaint.spec
Release 12 (by relup.sh)
[packages/cinepaint.git] / cinepaint.spec
index e51e28b696bacf28973ea571c5c1f2fb78a47e33..81bab58b857082c19020e9848e3f3e3fe939d085 100644 (file)
@@ -7,7 +7,7 @@ Summary:        CinePaint - a motion picture editing tool
 Summary(pl.UTF-8):     CinePaint - narzędzie do obróbki filmów
 Name:          cinepaint
 Version:       1.3
-Release:       7
+Release:       12
 License:       GPL v2+ (with LGPL v2.1+ and MIT parts)
 Group:         X11/Applications/Graphics
 Source0:       http://downloads.sourceforge.net/cinepaint/%{name}-%{version}.tgz
@@ -22,13 +22,18 @@ Patch6:             %{name}-oyranos.patch
 Patch7:                %{name}-format.patch
 Patch8:                %{name}-include.patch
 Patch9:                %{name}-python.patch
-URL:           http://www.cinepaint.org/
+Patch10:       %{name}-extern.patch
+Patch11:       %{name}-no-common.patch
+Patch12:       %{name}-ptr.patch
+Patch13:       %{name}-gcc.patch
+URL:           http://cinepaint.org/
 BuildRequires: OpenEXR-devel >= 1.0.0
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: flex
 BuildRequires: fltk-devel
 BuildRequires: fltk-gl-devel
+BuildRequires: gettext-tools
 %if %{with gtk1}
 BuildRequires: glib-devel
 BuildRequires: gtk+-devel >= 1.2.8
@@ -38,6 +43,7 @@ BuildRequires:        gtk+2-devel >= 2.0.0
 BuildRequires: lcms-devel >= 1.16
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel >= 1.0.0
+BuildRequires: libstdc++-devel
 BuildRequires: libtiff-devel
 BuildRequires: libtool
 BuildRequires: oyranos-devel
@@ -55,7 +61,7 @@ Requires:     OpenEXR >= 1.0.0
 # FreeSans.ttf
 Requires:      fonts-TTF-freefont
 Requires:      lcms >= 1.16
-Obsoletes:     filmgimp
+Obsoletes:     filmgimp < 1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                abiver  1.3.0
@@ -97,7 +103,7 @@ Requires:    gtk+-devel >= 1.2.8
 %else
 Requires:      gtk+2-devel >= 2.0.0
 %endif
-Obsoletes:     filmgimp-devel
+Obsoletes:     filmgimp-devel < 1
 
 %description devel
 Header files for CinePaint libraries.
@@ -110,7 +116,7 @@ Summary:    Static CinePaint libraries
 Summary(pl.UTF-8):     Statyczne biblioteki CinePaint
 Group:         X11/Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
-Obsoletes:     filmgimp-static
+Obsoletes:     filmgimp-static < 1
 
 %description static
 Static CinePaint libraries.
@@ -143,10 +149,16 @@ Wtyczka do drukowania dla CinePainta.
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 
 # dead symlinks
 %{__rm} config.guess config.sub py-compile
 
+%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' plug-ins/pygimp/plug-ins/*.py
+
 %build
 %{__libtoolize}
 %{__aclocal} -I aclocal
@@ -164,6 +176,10 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        m4datadir=%{_aclocaldir}
 
+# referenced by float16.h, but not installed
+install -d $RPM_BUILD_ROOT%{_includedir}/cinepaint/libhalf
+cp -p libhalf/cinepaint_half.h $RPM_BUILD_ROOT%{_includedir}/cinepaint/libhalf
+
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/gimpmodule.{la,a}
 # provided by fonts-TTF-freefont
 %{__rm} $RPM_BUILD_ROOT%{_fontsdir}/FreeSans.ttf
This page took 0.093481 seconds and 4 git commands to generate.