rpms/cinepaint/devel cinepaint.spec,1.2,1.3
Chauvet (kwizart)
fedora-extras-commits at redhat.com
Sun Aug 26 01:54:44 UTC 2007
Author: kwizart
Update of /cvs/extras/rpms/cinepaint/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27190
Modified Files:
cinepaint.spec
Log Message:
- Fix unused-direct-shlib-dependencies
- Multilibs compliant
- Update License field
Index: cinepaint.spec
===================================================================
RCS file: /cvs/extras/rpms/cinepaint/devel/cinepaint.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cinepaint.spec 16 Jul 2007 07:46:25 -0000 1.2
+++ cinepaint.spec 26 Aug 2007 01:54:12 -0000 1.3
@@ -6,11 +6,11 @@
Name: cinepaint
Version: %(echo %{cinever} |sed 's|-|.|')
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: CinePaint is a tool for manipulating images
Group: Applications/Multimedia
-License: GPL
+License: GPLv2+ and LGPLv2+ and MIT
URL: http://www.cinepaint.org/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{cinever}.tar.gz
Patch0: cinepaint-0.22-0-icc_helfer_fltk.patch
@@ -42,6 +42,7 @@
#BuildRequires: oyranos-devel # Not reviewed yet
Requires: freefont
+Requires: %{name}-libs = %{version}-%{release}
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
@@ -54,10 +55,21 @@
used to add flying arrows. It's also being used by pro photographers who need
greater color fidelity than is available in other tools.
+%package libs
+Summary: Libraries for %{name}
+Group: System Environment/Libraries
+
+%description libs
+CinePaint is used for motion picture frame-by-frame retouching, dirt removal,
+wire rig removal, render repair, background plates, and 3d model textures.
+It's been used on many feature films, including The Last Samurai where it was
+used to add flying arrows. It's also being used by pro photographers who need
+greater color fidelity than is available in other tools.
+
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
Requires: automake
Requires: pkgconfig
Requires: gtk2-devel
@@ -101,6 +113,9 @@
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+# clean unused-direct-shlib-dependencies
+sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
+
make %{?_smp_mflags}
%install
@@ -130,25 +145,23 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post libs -p /sbin/ldconfig
+
%post
-/sbin/ldconfig
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+%postun libs -p /sbin/ldconfig
+
%postun
-/sbin/ldconfig
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%files -f %{name}.lang
%defattr(-,root,root,-)
-%doc AUTHORS COPYING NEWS README *.libhalf
+%doc AUTHORS COPYING NEWS README
%exclude %{_bindir}/cinepainttool
%{_bindir}/*
-%{_libdir}/*.so.*
%{_mandir}/man1/*
-
-%{_libdir}/%{name}/
-
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}/
@@ -159,6 +172,12 @@
%{python_sitearch}/*
%endif
+%files libs
+%defattr(-, root, root,-)
+%doc *.libhalf
+%{_libdir}/%{name}/
+%{_libdir}/*.so.*
+
%files devel
%defattr(-, root, root,-)
%{_bindir}/cinepainttool
@@ -169,6 +188,11 @@
%changelog
+* Sat Aug 18 2007 kwizart < kwizart at gmail.com > - 0.22.1-3
+- Fix unused-direct-shlib-dependencies
+- Multilibs compliant
+- Update License field
+
* Mon Jul 16 2007 kwizart < kwizart at gmail.com > - 0.22.1-2
- Add BR ftgl-devel
More information about the fedora-extras-commits
mailing list