split off help browser plugin
This commit is contained in:
parent
b2d5993257
commit
bf3cc66d72
34
gimp.spec
34
gimp.spec
@ -19,8 +19,6 @@
|
|||||||
%bcond_without gutenprint
|
%bcond_without gutenprint
|
||||||
# convenience: install convenience symlinks
|
# convenience: install convenience symlinks
|
||||||
%bcond_without convenience
|
%bcond_without convenience
|
||||||
# webkit: use internal WebKit based help browser
|
|
||||||
%bcond_without webkit
|
|
||||||
|
|
||||||
Summary: GNU Image Manipulation Program
|
Summary: GNU Image Manipulation Program
|
||||||
Name: gimp
|
Name: gimp
|
||||||
@ -31,7 +29,7 @@ Version: 2.6.0
|
|||||||
%define age 0
|
%define age 0
|
||||||
%define minorver 600
|
%define minorver 600
|
||||||
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -66,9 +64,7 @@ BuildRequires: poppler-devel >= 0.4.1
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: pygtk2-devel >= 2.10.4
|
BuildRequires: pygtk2-devel >= 2.10.4
|
||||||
BuildRequires: pygobject2-devel
|
BuildRequires: pygobject2-devel
|
||||||
%if %{with webkit}
|
|
||||||
BuildRequires: WebKit-gtk-devel >= 1.0.0
|
BuildRequires: WebKit-gtk-devel >= 1.0.0
|
||||||
%endif
|
|
||||||
%if %{with modular_x}
|
%if %{with modular_x}
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libXmu-devel
|
BuildRequires: libXmu-devel
|
||||||
@ -98,6 +94,8 @@ Requires: gimp-print-plugin
|
|||||||
%endif
|
%endif
|
||||||
Requires: hicolor-icon-theme
|
Requires: hicolor-icon-theme
|
||||||
Requires: xdg-utils
|
Requires: xdg-utils
|
||||||
|
Requires: gimp-libs-%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Provides: gimp-%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
|
||||||
Source0: ftp://ftp.gimp.org/pub/gimp/v%{binver}/gimp-%{version}.tar.bz2
|
Source0: ftp://ftp.gimp.org/pub/gimp/v%{binver}/gimp-%{version}.tar.bz2
|
||||||
Source1: gimp-plugin-mgr.in
|
Source1: gimp-plugin-mgr.in
|
||||||
@ -136,6 +134,16 @@ The gimp-devel package contains the static libraries and header files
|
|||||||
for writing GNU Image Manipulation Program (GIMP) plug-ins and
|
for writing GNU Image Manipulation Program (GIMP) plug-ins and
|
||||||
extensions.
|
extensions.
|
||||||
|
|
||||||
|
%package help-browser
|
||||||
|
Summary: GIMP help browser plug-in
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
License: GPLv2+
|
||||||
|
Requires: gimp-%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description help-browser
|
||||||
|
The gimp-help-browser package contains a lightweight help browser plugin for
|
||||||
|
viewing GIMP online help.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
||||||
@ -152,7 +160,6 @@ build the print plugin: %{with print}
|
|||||||
prefer gutenprint over (external) gimp-print plugin:
|
prefer gutenprint over (external) gimp-print plugin:
|
||||||
%{with gutenprint}
|
%{with gutenprint}
|
||||||
%endif
|
%endif
|
||||||
use internal webkit based help browser: %{with webkit}
|
|
||||||
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
@ -196,15 +203,10 @@ fi
|
|||||||
--without-aa \
|
--without-aa \
|
||||||
%ifos linux
|
%ifos linux
|
||||||
--with-linux-input \
|
--with-linux-input \
|
||||||
%endif
|
|
||||||
%if %{with webkit}
|
|
||||||
--with-webkit \
|
|
||||||
%else
|
|
||||||
--without-webkit \
|
|
||||||
%endif
|
%endif
|
||||||
--with-libtiff --with-libjpeg --with-libpng --with-libmng --with-libexif \
|
--with-libtiff --with-libjpeg --with-libpng --with-libmng --with-libexif \
|
||||||
--with-gtkhtml2 --with-librsvg --with-poppler --with-gnomevfs --with-alsa \
|
--with-gtkhtml2 --with-librsvg --with-poppler --with-gnomevfs --with-alsa \
|
||||||
--with-dbus --with-script-fu
|
--with-webkit --with-dbus --with-script-fu
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -329,6 +331,7 @@ fi
|
|||||||
#%dir %{_libdir}/gimp/%{interfacever}/fonts
|
#%dir %{_libdir}/gimp/%{interfacever}/fonts
|
||||||
%dir %{_libdir}/gimp/%{interfacever}/modules
|
%dir %{_libdir}/gimp/%{interfacever}/modules
|
||||||
%dir %{_libdir}/gimp/%{interfacever}/plug-ins
|
%dir %{_libdir}/gimp/%{interfacever}/plug-ins
|
||||||
|
%exclude %{_libdir}/gimp/%{interfacever}/plug-ins/help-browser
|
||||||
%dir %{_libdir}/gimp/%{interfacever}/python
|
%dir %{_libdir}/gimp/%{interfacever}/python
|
||||||
#%dir %{_libdir}/gimp/%{interfacever}/tool-plug-ins
|
#%dir %{_libdir}/gimp/%{interfacever}/tool-plug-ins
|
||||||
|
|
||||||
@ -433,7 +436,14 @@ fi
|
|||||||
%{_includedir}/gimp-%{interfacever}
|
%{_includedir}/gimp-%{interfacever}
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
|
%files help-browser
|
||||||
|
%defattr (-, root, root, 0755)
|
||||||
|
%{_libdir}/gimp/%{interfacever}/plug-ins/help-browser
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 08 2008 Nils Philippsen <nils@redhat.com> - 2:2.6.0-3
|
||||||
|
- split off help browser plugin
|
||||||
|
|
||||||
* Tue Oct 07 2008 Nils Philippsen <nils@redhat.com> - 2:2.6.0-2
|
* Tue Oct 07 2008 Nils Philippsen <nils@redhat.com> - 2:2.6.0-2
|
||||||
- move gimptool to devel subpackage
|
- move gimptool to devel subpackage
|
||||||
- make gimp-plugin-mgr not require gimptool/pkg-config (#465869)
|
- make gimp-plugin-mgr not require gimptool/pkg-config (#465869)
|
||||||
|
Loading…
Reference in New Issue
Block a user