Accepting request 56404 from GNOME:Apps
Accepted submit request 56404 from user dimstar OBS-URL: https://build.opensuse.org/request/show/56404 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=49
This commit is contained in:
84
gimp.spec
84
gimp.spec
@@ -62,6 +62,7 @@ Source: ftp://ftp.gimp.org/pub/gimp/v2.6/%{name}-%{version}.tar.bz2
|
||||
Source1: macros.gimp
|
||||
# openSUSE palette file
|
||||
Source2: openSUSE.gpl
|
||||
Source99: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: %{name}-branding >= 2.4
|
||||
Recommends: %{name}-plugins-python = %{version} gimp-2.0-scanner-plugin %{name}-help-browser
|
||||
@@ -80,6 +81,46 @@ facility, but many of the included scripts rely on fonts that we cannot
|
||||
distribute.
|
||||
|
||||
|
||||
%package -n libgimp-2_0-0
|
||||
License: GPLv2+
|
||||
Summary: The GNU Image Manipulation Program - Libraries
|
||||
Group: Productivity/Graphics/Bitmap Editors
|
||||
|
||||
%description -n libgimp-2_0-0
|
||||
The GIMP (GNU Image Manipulation Program) is a powerful image
|
||||
composition and editing program, which can be extremely useful for
|
||||
creating logos and other graphics for Web pages. The GIMP offers many
|
||||
of the tools and filters you would expect to find in similar commercial
|
||||
offerings and contains some interesting extras as well. The GIMP
|
||||
provides alarge image manipulation toolbox, including channel
|
||||
operations and layers, effects, subpixel imaging and antialiasing, and
|
||||
conversions- all including multilevel undo. The GIMP offers a scripting
|
||||
facility, but many of the included scripts rely on fonts that we cannot
|
||||
distribute.
|
||||
|
||||
This package provides GIMP libraries.
|
||||
|
||||
|
||||
%package -n libgimpui-2_0-0
|
||||
License: GPLv2+
|
||||
Summary: The GNU Image Manipulation Program - UI Libraries
|
||||
Group: Productivity/Graphics/Bitmap Editors
|
||||
|
||||
%description -n libgimpui-2_0-0
|
||||
The GIMP (GNU Image Manipulation Program) is a powerful image
|
||||
composition and editing program, which can be extremely useful for
|
||||
creating logos and other graphics for Web pages. The GIMP offers many
|
||||
of the tools and filters you would expect to find in similar commercial
|
||||
offerings and contains some interesting extras as well. The GIMP
|
||||
provides alarge image manipulation toolbox, including channel
|
||||
operations and layers, effects, subpixel imaging and antialiasing, and
|
||||
conversions- all including multilevel undo. The GIMP offers a scripting
|
||||
facility, but many of the included scripts rely on fonts that we cannot
|
||||
distribute.
|
||||
|
||||
This package provides GIMP UI libraries.
|
||||
|
||||
|
||||
%package branding-upstream
|
||||
License: GPLv2+
|
||||
Summary: The GNU Image Manipulation Program
|
||||
@@ -135,9 +176,8 @@ distribute.
|
||||
%package devel
|
||||
License: GPLv2+
|
||||
Summary: The GNU Image Manipulation Program
|
||||
Requires: %{name} = %{version}
|
||||
Requires: glib2-devel
|
||||
Requires: gtk2-devel
|
||||
Requires: libgimp-2_0-0 = %{version}
|
||||
Requires: libgimpui-2_0-0 = %{version}
|
||||
Provides: gimp-2.0-devel = %{version}
|
||||
Obsoletes: gimp-unstable-devel < 2.6.0
|
||||
Group: Productivity/Graphics/Bitmap Editors
|
||||
@@ -250,9 +290,13 @@ sed -e "s/@GIMP_APIVER@/%{apiver}/;s/@GIMP_ABIVER@/%{abiver}/" \
|
||||
install -m 644 -c macros.gimp \
|
||||
$RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.gimp
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libgimp-2_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libgimp-2_0-0 -p /sbin/ldconfig
|
||||
|
||||
%post -n libgimpui-2_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgimpui-2_0-0 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@@ -262,8 +306,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc AUTHORS COPYING ChangeLog LICENSE NEWS* README
|
||||
%exclude %{_libdir}/gimp/2.0/plug-ins/help-browser
|
||||
%{_bindir}/gimp
|
||||
%{_bindir}/gimp-*
|
||||
%{_libdir}/*.so.*
|
||||
%{_bindir}/gimp-2.?
|
||||
%{_bindir}/gimp-console
|
||||
%{_bindir}/gimp-console-2.?
|
||||
%{_datadir}/applications/gimp.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/*.png
|
||||
%{_datadir}/icons/hicolor/*/apps/*.svg
|
||||
@@ -278,11 +323,31 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/gimp/2.0/modules
|
||||
%exclude %{_libdir}/gimp/2.0/modules/libcontroller-linux-input.so
|
||||
%dir %{_libdir}/gimp/2.0/plug-ins
|
||||
%doc %{_mandir}/man?/*.*
|
||||
%doc %{_mandir}/man?/gimp.*
|
||||
%doc %{_mandir}/man?/gimp-2.?.*
|
||||
%doc %{_mandir}/man?/gimp-console.*
|
||||
%doc %{_mandir}/man?/gimp-console-2.?.*
|
||||
%doc %{_mandir}/man?/gimprc.*
|
||||
%doc %{_mandir}/man?/gimprc-2.?.*
|
||||
%dir %{_sysconfdir}/gimp
|
||||
%dir %{_sysconfdir}/gimp/2.0
|
||||
%config %{_sysconfdir}/gimp/2.0/*rc
|
||||
|
||||
%files -n libgimp-2_0-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgimp-2.0.so.*
|
||||
%{_libdir}/libgimpbase-2.0.so.*
|
||||
%{_libdir}/libgimpcolor-2.0.so.*
|
||||
%{_libdir}/libgimpconfig-2.0.so.*
|
||||
%{_libdir}/libgimpmath-2.0.so.*
|
||||
%{_libdir}/libgimpmodule-2.0.so.*
|
||||
|
||||
%files -n libgimpui-2_0-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgimpthumb-2.0.so.*
|
||||
%{_libdir}/libgimpui-2.0.so.*
|
||||
%{_libdir}/libgimpwidgets-2.0.so.*
|
||||
|
||||
%files help-browser
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog LICENSE NEWS* README
|
||||
@@ -308,7 +373,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc README.i18n
|
||||
%{_bindir}/gimptool*
|
||||
%{_bindir}/gimptool-2.0
|
||||
%doc %{_mandir}/man?/gimptool-2.0.*
|
||||
%{_datadir}/aclocal/*.m4
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
|
Reference in New Issue
Block a user