From 6013eee59237a92e071c03b9305a91940b6906ff Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 05:10:44 +0000 Subject: [PATCH] auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson - 1.1.25 Fri Aug 11 2000 Jonathan Blandford - Up Epoch and release Tue Aug 08 2000 Matt Wilson - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson - rebuild against new libpng Mon Jul 31 2000 Matt Wilson - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector - automatic rebuild Sat Jul 01 2000 Matt Wilson - 1.1.24 Sat Jun 17 2000 Matt Wilson - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson - 1.1.22 Mon Apr 24 2000 Matt Wilson - 1.1.20 Fri Apr 14 2000 Matt Wilson - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean - Version 1.1.15 Wed Dec 22 1999 Gregory McLean - Version 1.1.14 - Added some auto %files section generation scriptlets --- .cvsignore | 1 + gimp.spec | 334 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 336 insertions(+) create mode 100644 gimp.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b7ab299 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gimp-1.1.25.tar.bz2 diff --git a/gimp.spec b/gimp.spec new file mode 100644 index 0000000..613b70e --- /dev/null +++ b/gimp.spec @@ -0,0 +1,334 @@ +%define subver 1.1 +%define microver 25 +%define ver %{subver}.%{microver} + +Summary: The GNU Image Manipulation Program +Name: gimp +Version: %{ver} +Release: 1 +Epoch: 1 +Copyright: GPL, LGPL +Group: Applications/Multimedia +URL: http://www.gimp.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: gimp-data-min +Obsoletes: gimp-libgimp +Requires: gtk+ >= 1.2.0 +Source0: ftp://ftp.gimp.org/pub/gimp/unstable/v%{version}/%{name}-%{version}.tar.bz2 +Source1: gimp.desktop +Source2: gimp.png +Patch0: gimp-1.1.23-perlpath.patch +Patch1: gimp-1.1.24-libaa.patch +Patch2: gimp-1.1.25-va_arg.patch + +%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 Web pages. 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. + +Install the GIMP if you need a powerful image manipulation +program. You may also want to install other GIMP packages: +gimp-libgimp if you're going to use any GIMP plug-ins and +gimp-data-extras, which includes various extra files for the GIMP. + +%package devel +Summary: GIMP plugin and extension development kit +Group: Applications/Multimedia +Requires: gtk+-devel +%description devel +The gimp-devel package contains the static libraries and header files +for writing GNU Image Manipulation Program (GIMP) plug-ins and +extensions. + +Install gimp-devel if you're going to create plug-ins and/or +extensions for the GIMP. You'll also need to install gimp-limpgimp +and gimp, and you may want to install gimp-data-extras. + +%package perl +Summary: GIMP perl extensions and plugins. +Group: Applications/Multimedia +Requires: gimp +Requires: perl + +%description perl +The gimp-perl package contains all the perl extensions and perl plugins. + +%prep +%setup -q +%patch0 -p1 -b .perlpath +%patch1 -p1 -b .libaa +%patch2 -p1 -b .va_arg + +%build +%ifarch %ix86 +RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffast-math" +%endif +%ifarch alpha +MYARCH_FLAGS="--host=alpha-redhat-linux" +%endif + +autoconf +if [ ! -f configure ]; then + CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --quiet $MYARCH_FLAGS --prefix=%{_prefix} +else + LIBAA="disable" CFLAGS="$RPM_OPT_FLAGS" %configure +fi + +if [ "$SMP" != "" ]; then + (make "MAKE=make -k -j $SMP"; exit 0) + make +else + make +fi + +%install +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_infodir} $RPM_BUILD_ROOT/%{_includedir} \ + $RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir} \ + $RPM_BUILD_ROOT/%{_libdir}/gimp/%{subver}/plug-ins + +# makeinstall macro won't work here - libexec is overriden +make prefix=$RPM_BUILD_ROOT/%{_prefix} \ + bindir=$RPM_BUILD_ROOT/%{_bindir} \ + libdir=$RPM_BUILD_ROOT/%{_libdir} \ + mandir=$RPM_BUILD_ROOT/%{_mandir} \ + infodir=$RPM_BUILD_ROOT/%{_infodir} \ + datadir=$RPM_BUILD_ROOT/%{_datadir} \ + includedir=$RPM_BUILD_ROOT/%{_includedir} \ + gimpplugindir=$RPM_BUILD_ROOT/%{_libdir}/gimp/%{subver} \ + gimpdatadir=$RPM_BUILD_ROOT/%{_datadir}/gimp/%{subver} \ + PREFIX=$RPM_BUILD_ROOT/%{_prefix} \ + INSTALLMAN3DIR=$RPM_BUILD_ROOT/usr/lib/perl5/man \ + INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \ + install + +# Strip the executables +strip $RPM_BUILD_ROOT/%{_bindir}/gimp +# Only strip execuable files and leave scripts alone. +strip `file $RPM_BUILD_ROOT/%{_libdir}/gimp/%{subver}/plug-ins/* | grep ELF | cut -d':' -f 1` + +# Compress down the online documentation. +if [ -d $RPM_BUILD_ROOT/%{_mandir} ]; then + find $RPM_BUILD_ROOT/%{_mandir} -type f -exec gzip -9nf {} \; +fi + +# +# This perl madness will drive me batty +# +eval perl '-V:archname' +find $RPM_BUILD_ROOT/%{_prefix}/lib/perl5 -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v perllocal.pod > gimp-perl + +# +# Plugins and modules change often (grab the executeable ones) +# +echo "%defattr (0755, root, root)" > gimp-plugin-files +find $RPM_BUILD_ROOT/%{_libdir}/gimp/%{subver} -type f -exec file {} \; | grep -v perl | cut -d':' -f 1 | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v /usr/lib/gimp/1.1/modules/.*\.a$ >>gimp-plugin-files + +# +# Now pull the perl ones out. +# +echo "%defattr (0755, root, root)" > gimp-perl-plugin-files +echo "%dir %{_libdir}/gimp/%{subver}/plug-ins" >> gimp-perl-plugin-files +find $RPM_BUILD_ROOT/%{_libdir}/gimp/%{subver} -type f -exec file {} \; | grep perl | cut -d':' -f 1 | sed "s@^$RPM_BUILD_ROOT@@g" >>gimp-perl-plugin-files + +# +# Auto detect the lang files. +# +if [ -f /usr/lib/rpm/find-lang.sh ] ; then + /usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT %{name} + /usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT gimp-std-plugins + /usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT gimp-script-fu + cat %{name}.lang gimp-std-plugins.lang gimp-script-fu.lang > gimp-all.lang +fi + +# +# Tips +# +echo "%defattr (644, root, root, 555)" >gimp-tips-files +echo "%{_datadir}/gimp/%{subver}/tips/gimp_tips.txt" >> gimp-tips-files +for I in `ls $RPM_BUILD_ROOT/%{_datadir}/gimp/%{subver}/tips/gimp*.[a-z]*.txt | sed "s@^$RPM_BUILD_ROOT/@@g"`; do + tip_lang=`basename $I | cut -d'.' -f2` + echo "%lang($tip_lang) $I" >> gimp-tips-files +done + +# +# Build the master filelists generated from the above mess. +# +cat gimp-plugin-files gimp-all.lang gimp-tips-files > gimp.files +echo "%defattr (555, root, root, 555)" > gimp-perl-files +cat gimp-perl gimp-perl-plugin-files >> gimp-perl-files + +# install desktop entry +mkdir -p %{buildroot}/etc/X11/applnk/Graphics +mkdir -p %{buildroot}/%{_datadir}/mc/templates +install -m 644 $RPM_SOURCE_DIR/gimp.desktop %{buildroot}/%{_sysconfdir}/X11/applnk/Graphics +install -m 644 $RPM_SOURCE_DIR/gimp.desktop %{buildroot}/%{_datadir}/mc/templates +mkdir -p %{buildroot}/usr/share/pixmaps +install -m 644 $RPM_SOURCE_DIR/gimp.png %{buildroot}/%{_datadir}/pixmaps + +%clean +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files -f gimp.files +%defattr (0644, root, root, 0755) +%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO +%doc docs/*.txt docs/*.eps ABOUT-NLS README.i18n README.perl README.win32 TODO +%attr(-,root,root) %config(missingok) /%{_sysconfdir}/X11/applnk/Graphics/gimp.desktop +%attr(-,root,root) %config(missingok) /%{_datadir}/mc/templates/gimp.desktop +%{_datadir}/pixmaps/gimp.png + +%dir %{_datadir}/gimp/%{subver} +%dir %{_datadir}/gimp/%{subver}/tips +%dir %{_libdir}/gimp/%{subver} +%dir %{_libdir}/gimp/%{subver}/modules +%dir %{_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}/help/ +%{_datadir}/gimp/%{subver}/palettes/ +%{_datadir}/gimp/%{subver}/patterns/ +%{_datadir}/gimp/%{subver}/scripts/ + +%{_datadir}/gimp/%{subver}/gimprc +%{_datadir}/gimp/%{subver}/gimprc_user +%{_datadir}/gimp/%{subver}/gtkrc +%{_datadir}/gimp/%{subver}/unitrc +%{_datadir}/gimp/%{subver}/gimp_logo.ppm +%{_datadir}/gimp/%{subver}/gimp_splash.ppm +%{_datadir}/gimp/%{subver}/ps-menurc + +%defattr (0755, root, root) +%{_datadir}/gimp/%{subver}/user_install + +%{_libdir}/libgimp-%{subver}.so.%{microver}.0.0 +%{_libdir}/libgimp-%{subver}.so.%{microver} +%{_libdir}/libgimpui-%{subver}.so.%{microver}.0.0 +%{_libdir}/libgimpui-%{subver}.so.%{microver} +%{_libdir}/libgck-%{subver}.so.%{microver}.0.0 +%{_libdir}/libgck-%{subver}.so.%{microver} + +%{_bindir}/gimp +%{_bindir}/embedxpm +%{_bindir}/gimpdoc +%{_bindir}/xcftopnm + +%defattr (0644, root, root) +%{_mandir}/man1/gimp.1* +%{_mandir}/man5/gimprc.5* + +%files devel +%defattr (0755, root, root, 0755) +%{_bindir}/gimptool +%{_bindir}/gimp-config +%{_libdir}/*.so +%{_libdir}/*.la +%dir %{_libdir}/gimp/%{subver}/modules +%{_libdir}/gimp/%{subver}/modules/*.la + +%defattr (0644, root, root, 0755) +%{_datadir}/aclocal/gimp.m4 +%{_libdir}/*.a +%{_libdir}/gimp/%{subver}/modules/*.a +%{_includedir}/libgimp/ +%{_includedir}/gck/ +%{_mandir}/man1/gimptool.1* + +%files perl -f gimp-perl-files + +%changelog +* Mon Aug 21 2000 Matt Wilson +- 1.1.25 + +* Fri Aug 11 2000 Jonathan Blandford +- Up Epoch and release + +* Tue Aug 8 2000 Matt Wilson +- fixed directory mode on %%{_defaultdocdir}/gimp-%%{version} + +* Wed Aug 2 2000 Matt Wilson +- rebuild against new libpng + +* Mon Jul 31 2000 Matt Wilson +- muck with modules filelist generation to avoid getting files owned by + two packages + +* Mon Jul 17 2000 Matt Wilson +- disable aa plugin +- moved the group back to Applications/Multimedia +- added desktop entry back into the file list + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Fri Jul 1 2000 Matt Wilson +- 1.1.24 + +* Sat Jun 17 2000 Matt Wilson +- use root, not bin for the default owner. + +* Fri Jun 16 2000 Preston Brown +- add back missing system .desktop entry + +* Sat Jun 10 2000 Matt Wilson +- rebuilt against fixed gcc + +* Mon Jun 5 2000 Matt Wilson +- defattr for gimp-perl + +* Sun Jun 4 2000 Matt Wilson +- drop out all of \.a$ from the main package list + +* Sat Jun 3 2000 Matt Wilson +- 1.1.23 +- use __NO_MATH_INLINES for now on ix86 +- massive FHS surgery + +* Tue May 16 2000 Matt Wilson +- 1.1.22 + +* Mon Apr 24 2000 Matt Wilson +- 1.1.20 + +* Fri Apr 14 2000 Matt Wilson +- include subdirs in the help find +- remove gimp-help-files generation +- both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins +- both gimp and gimp-devel own prefix/lib/gimp/1.1/modules + +* Thu Apr 13 2000 Matt Wilson +- 1.1.19 +- get all .mo files + +* Wed Jan 19 2000 Gregory McLean +- Version 1.1.15 + +* Wed Dec 22 1999 Gregory McLean +- Version 1.1.14 +- Added some auto %files section generation scriptlets + + diff --git a/sources b/sources index e69de29..9f8a465 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2df4bd78cb0e00b3c304b76ee62b7b2f gimp-1.1.25.tar.bz2