2003-07-15 Niall Power <[email protected]>
authorniall
Tue, 15 Jul 2003 09:00:49 +0000
changeset 561 beb0e7e55e5b
parent 560 00e32c653a52
child 562 c5a57d0fb564
2003-07-15 Niall Power <[email protected]> * gimp.spec: add (unsupported app)
ChangeLog
gimp.spec
--- a/ChangeLog	Tue Jul 15 08:02:50 2003 +0000
+++ b/ChangeLog	Tue Jul 15 09:00:49 2003 +0000
@@ -1,3 +1,7 @@
+2003-07-15  Niall Power  <[email protected]>
+
+	* gimp.spec: add (unsupported app)
+
 2003-07-15  Mark McLoughlin  <[email protected]>
 
 	* gnome-panel.spec: add patch and bump version.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gimp.spec	Tue Jul 15 09:00:49 2003 +0000
@@ -0,0 +1,176 @@
+%define subver 1.3
+%define microver 16
+
+Name:         gimp
+License:      GPL, LGPL
+Group:        System/GUI/GNOME
+Version:      %{subver}.%{microver}
+Release:      0
+Distribution: Mercury
+Vendor:       Sun Microsytems Inc.
+Summary:      The GIMP (GNU Image Manipulation Program)
+Source:       ftp://ftp.gimp.org/pub/gimp/v1.3/v1.3.16/gimp-%{version}.tar.bz2
+URL:          http://www.gimp.org
+BuildRoot:    %{_tmppath}/%{name}-%{version}-build
+Docdir:       %{_defaultdocdir}/doc
+Autoreqprov:  on
+
+%define glib2_version 2.2.1
+%define gtk2_version 2.2.2
+%define libmng_version 1.0.4
+%define libgimpprint_version 4.3.3
+%define libpng_version 1.2.4
+%define libjpeg_version 6.2.0
+%define libungif_version 4.1.0
+%define slang_version 1.4.5
+
+BuildRequires: glib2-devel >= %{glib2_version}
+BuildRequires: gtk2-devel >= %{gtk2_version}
+BuildRequires: libgimpprint-devel >= %{libgimpprint_version}
+BuildRequires: libmng-devel >= %{libmng_version}
+BuildRequires: libpng-devel >= %{libpng_version}
+BuildRequires: libjpeg-devel >= %{libjpeg_version}
+BuildRequires: libungif >= %{libungif_version}
+BuildRequires: slang-devel >= %{slang_version}
+
+Requires: glib2 >= %{glib2_version}
+Requires: gtk2 >= %{gtk2_version}
+
+%description
+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 webpages. The GIMP has many of
+the tools and filters you would expect to find in similar commercial
+offerings, and some interesting extras as well. The GIMP provides a
+large image manipulation toolbox, including channel operations and
+layers, effects, sub-pixel imaging and anti-aliasing, and conversions,
+all with multi-level undo.
+
+The GIMP includes a scripting facility, but many of the included
+scripts rely on fonts that we cannot distribute. The GIMP FTP site
+has a package of fonts that you can install by yourself, which
+includes all the fonts needed to run the included scripts. Some of
+the fonts have unusual licensing requirements; all the licenses are
+documented in the package. Get
+ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz and
+ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you are so
+inclined. Alternatively, choose fonts which exist on your system
+before running the scripts.
+
+%package devel
+Summary: The GIMP plug-in and extension development kit.
+Group: Applications/Multimedia
+Requires: 	gtk2-devel >= %{gtk2_version}
+Requires:	gimp = %{version}
+%description devel
+The gimp-devel package contains the static libraries and header files
+for writing GNU Image Manipulation Program (GIMP) plug-ins and
+extensions.
+
+
+%prep
+%setup
+
+%build
+
+CFLAGS="$RPM_OPT_FLAGS"			\
+./configure --prefix=%{_prefix}		\
+	    --sysconfdir=%{_sysconfdir} \
+	    --libexecdir=%{_libexecdir} \
+	    --localstatedir=/var/lib	\
+	    --mandir=%{_mandir}		\
+	    --enable-mp			\
+	    --enable-gtk-doc		\
+	    --enable-default-binary	    
+make 
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+ln -s %{_datadir}/gimp/%{subver}/misc/gimp.desktop %{_datadir}/applications/gimp-%{subver}.desktop
+ln -s %{_datadir}/gimp/%{subver}/misc/gimp.applications %{_datadir}/application-registry/gimp-%{subver}.applications
+ln -s %{_datadir}/gimp/%{subver}/misc/gimp.keys %{_datadir}/mime-info/gimp-%{subver}.keys
+/sbin/ldconfig
+
+%postun
+rm -f %{_datadir}/applications/gimp-%{subver}.desktop
+rm -f %{_datadir}/application-registry/gimp-%{subver}.applications
+rm -f %{_datadir}/mime-info/gimp-%{subver}.keys
+/sbin/ldconfig
+
+%files
+%defattr (-, root, root)
+
+%doc %{_datadir}/gtk-doc/html/
+
+%{_bindir}/gimp-%{subver}
+%{_bindir}/gimp-remote*
+
+%{_libdir}/lib*-%{subver}.so.%{microver}
+%{_libdir}/lib*-%{subver}.so.%{microver}.0.0
+%{_libdir}/pkgconfig/gimp-%{subver}.pc
+%{_libdir}/pkgconfig/gimpui-%{subver}.pc
+
+%dir %{_datadir}/gimp/%{subver}
+%dir %{_libdir}/gimp/%{subver}
+%dir %{_libdir}/gimp/%{subver}/environ
+%dir %{_libdir}/gimp/%{subver}/modules
+%dir %{_libdir}/gimp/%{subver}/plug-ins
+%{_libdir}/gimp/%{subver}/environ/*
+%{_libdir}/gimp/%{subver}/modules/*.so
+%{_libdir}/gimp/%{subver}/plug-ins/*
+
+%{_datadir}/gimp/%{subver}/brushes/
+%{_datadir}/gimp/%{subver}/fractalexplorer/
+%{_datadir}/gimp/%{subver}/gfig/
+%{_datadir}/gimp/%{subver}/gflare/
+%{_datadir}/gimp/%{subver}/gimpressionist/
+%{_datadir}/gimp/%{subver}/gradients/
+%{_datadir}/gimp/%{subver}/images/
+%{_datadir}/gimp/%{subver}/misc/
+%{_datadir}/gimp/%{subver}/palettes/
+%{_datadir}/gimp/%{subver}/patterns/
+%{_datadir}/gimp/%{subver}/scripts/
+%{_datadir}/gimp/%{subver}/themes/
+%{_datadir}/gimp/%{subver}/tips/
+
+%{_datadir}/locale
+
+%{_sysconfdir}/gimp/%{subver}/gimprc
+%{_sysconfdir}/gimp/%{subver}/gtkrc_user
+%{_sysconfdir}/gimp/%{subver}/ps-menurc
+%{_sysconfdir}/gimp/%{subver}/sessionrc
+%{_sysconfdir}/gimp/%{subver}/templaterc
+%{_sysconfdir}/gimp/%{subver}/unitrc
+
+%defattr (0644, root, root)
+%{_mandir}/man1/gimp-%{subver}.1*
+%{_mandir}/man1/gimp-remote*
+%{_mandir}/man1/gimptool*
+%{_mandir}/man5/gimprc-%{subver}.5*
+
+%files devel
+
+%defattr (0755, root, root, 0755)
+%{_bindir}/gimptool-%{subver}
+%{_libdir}/*.so
+%{_libdir}/*.la
+%dir %{_libdir}/gimp/%{subver}/modules
+%{_libdir}/gimp/%{subver}/modules/*.la
+
+%defattr (0644, root, root, 0755)
+%{_datadir}/aclocal/gimp-1.4.m4
+%{_libdir}/*.a
+%{_libdir}/gimp/%{subver}/modules/*.a
+%{_includedir}/gimp-%{subver}/
+%{_mandir}/man1/gimptool-%{subver}.1*
+
+
+
+%changelog
+* Mon Jul 14 2003 - [email protected]
+- initial spec file created