[Backports] gimp2-2.2.7-alt0.M24.1 spec

Michael Shigorin =?iso-8859-1?q?mike_=CE=C1_osdn=2Eorg=2Eua?=
Пн Дек 26 00:58:31 MSK 2005


On Sun, Dec 25, 2005 at 10:52:30PM +0300, dm wrote:
> > Сперва собрать в том же hasher libpng3?
> Пробовал, естественно.  Не получилось. Не понимаю, в чём дело.
> hasher  говорит, что пакета libpng-devel нет. При этом пакет
> физически есть и собирался в том же hasher несколькими минутами 
> ранее. Да дело даже не в этом. libpng3-devel есть в Мастере, 
> критических ограничений по номеру версий в спеке нет, по идее, 
> Мастеровский должен подходить. Но не подходит. 

Хм.  Засунул в hsh-2.4 gimp2-2.2.7-alt1.src.rpm:

E: Version >='0.6.12' for 'libexif-devel' was not found

Бэкпортили, ослабляли зависимость Или Как?  Насколько помню,
за libexif много всего цепляется, а там 0.5.12.

...с приложенным спеком собралось (ослабил), проверить не на чем.

-- 
 ---- WBR, Michael Shigorin <mike на altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/
----------- следующая часть -----------
%define ver_major 2.2
%define _name gimp
%define oldver 2.0

Name: gimp2
Version: %ver_major.7
Release: alt0.M24.1

Summary: The GNU Image Manipulation Program
License: GPL, LGPL
Group: Graphics
Url: http://www.gimp.org/

Source: ftp://ftp.gimp.org/pub/gimp/v%ver_major/%_name-%version.tar.bz2
Source10: %_name.png

Obsoletes: gimp
Provides: gimp = %name-%version

%define gtk_ver 2.4.4
%define exif_ver 0.5.12

Requires: lib%name = %version-%release
Requires: libgtk+2 >= %gtk_ver, aalib

BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libexif-devel >= %exif_ver
BuildRequires: libgsf-devel
BuildRequires: XFree86-devel XFree86-libs aalib-devel fontconfig-devel freetype2-devel gcc-c++ glib2-devel gtk-doc libalsa-devel libart_lgpl-devel libatk-devel libcroco-devel libexif-devel libexpat-devel libgimp-print-devel libgtk+2-devel libgtkhtml2-devel libjpeg-devel liblcms-devel libmng-devel libpango-devel libpng-devel librsvg2-devel libstdc++-devel libtiff-devel libwmf-devel libxml2-devel pkgconfig xpm-devel zlib-devel intltool perl-XML-Parser

%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.

This is stable version.

%package -n lib%name
Summary: GIMP libraries
Group: System/Libraries
License: LGPL
Obsoletes: libgimp

%package -n lib%name-devel
Summary: GIMP plugin and extension development kit
Group: Graphics
Requires: gtk2-devel >= 2.4.4, pkgconfig
Requires: lib%name = %version-%release
Obsoletes: libgimp-devel

%description -n lib%name
Libraries used to communicate between The GIMP and other programs which
may function as "GIMP plugins".

%description -n lib%name-devel
Development libraries and header files for writing GIMP plugins and extensions.

%prep
%setup -q -n %_name-%version

%build
%configure 

%make_build

%install
%make_install DESTDIR=%buildroot install

# menu icon
%__install -pD -m644 %SOURCE10 %buildroot%_datadir/pixmaps/%_name.png

# menu file
%__mkdir_p %buildroot%_menudir
%__cat >%buildroot%_menudir/%_name-%ver_major <<__MENU__
?package(%name): command="gimp" icon="%_name.png" \
section="Multimedia/Graphics" title="The GIMP" \
longtitle="The GNU Image Manipulation Program" needs="x11" \
mimetypes="image/gif;image/jpeg;image/png;image/tiff;image/x-xbm;image/x-xpm;\
image/bmp;image/fits;image/pcx;image/pix;image/pnm;"
__MENU__

# remove non-packaged files
find %buildroot%_libdir -name "*.la" | xargs %__rm -f

# Execute find_lang for all components and merge the resulting lists
%find_lang --output=global.lang gimp20 gimp20-libgimp gimp20-std-plug-ins gimp20-script-fu

%post
%update_menus

%postun
%clean_menus

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -f global.lang
%doc AUTHORS ChangeLog* COPYING NEWS README README.i18n
%doc docs/*
%dir %_sysconfdir/%_name/%oldver
%config %_sysconfdir/%_name/%oldver/*
%_bindir/*
%_libdir/%_name/%oldver/plug-ins
%_datadir/%_name
%_mandir/man1/*
%_datadir/pixmaps/%_name.png
%_menudir/%_name-%ver_major

%files -n lib%name
%_libdir/*.so.*
%dir %_libdir/%_name
%dir %_libdir/%_name/%oldver
%_libdir/%_name/%oldver/environ
%dir %_libdir/%_name/%oldver/modules
%_libdir/%_name/%oldver/modules/*.so

%files -n lib%name-devel
%doc %_datadir/gtk-doc/html/*
%_includedir/*
%_libdir/*.so
%dir %_libdir/%_name
%dir %_libdir/%_name/%oldver
%dir %_libdir/%_name/%oldver/modules
%_libdir/pkgconfig/*
%_datadir/aclocal/*
%_mandir/man5/*

%changelog
* Sun Dec 25 2005 Michael Shigorin <mike на altlinux.org> 2.2.7-alt0.M24.1
- feeble attempt at 2.4 backport
- libexif version req lowered from 0.6.12 to 0.5.12

* Wed May 11 2005 Anatoly Yakushin <jaa на altlinux.ru> 2.2.7-alt1
- new stable version

* Mon Apr 25 2005 Anatoly Yakushin <jaa на altlinux.ru> 2.2.6-alt1
- update ru po
- Yuri N. Sedunov has added
  - 2.2.6
  - rebuild against libexif.so.12. 
  - svg support via librsvg2 enabled.
  - requires gtk+ >= 2.2.4
  - fixed source url.

* Sun Mar 13 2005 Anatoly Yakushin <jaa на altlinux.ru> 2.2.4-alt1
- new stable version, minor bugs fixed.

* Tue Jan 11 2005 Anatoly Yakushin <jaa на altlinux.ru> 2.2.2-alt1
- new stable version, minor bugs fixed.

* Mon Jan 10 2005 Anatoly Yakushin <jaa на altlinux.ru> 2.2.1-alt1
- new stable version
- update ru translation

* Sun Nov 21 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.2-alt0.1.pre2
- new developer version

* Tue Nov 09 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.2-alt0.1.pre1
- new developer version 

* Sun Oct 03 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0.5-alt1
- new stable version

* Tue Sep 07 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0.4-alt1
- new stable version

* Sat Jul 24 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0.3-alt2
- fixed bug - don't open and save non latin1 or utf-8 filename 

* Sun Jul 18 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0.3-alt1
- new version
- remove gimp.desktop from src.rpm.
- convert gimp.xpm to gimp.png, install it in /usr/share/pixmaps as menu icon
- remove unusual %%clean section.
- use post{un}_ldconfig macros for libgimp2 subpackage.
- optimize find-lang call.
- allow SMP build.
- clean %%install section
- fix %%files to remove %%_libdir/*.so from libgimp2 subpackage.
- clean .spec using cleanup_spec and manually.
- Special thanks Yuri N. Sedunov aka Aris for his help.

* Thu Jun 24 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0.2-alt1
- new version, bug # 3459 fixed

* Mon May 10 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0.1-alt2
- spec cleanup, po bugs fixed

* Wed Apr 21 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0.1-alt1
- Bugs fixed version GIMP 2.0.1

* Wed Mar 24 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0.0-alt1
- GIMP 2.0.0 new stable build

* Sun Mar 07 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0-alt0.3.pre4
- new version

* Sun Feb  8 2004 Anatoly Yakushin <jaa на altlinux.ru> 2.0-alt0.2.pre3
- add color proof

* Mon Nov 10 2003 Anatoly Yakushin <jaa на altlinux.ru> 1.3.22-alt1
- new version, spec cleanup

* Mon Oct 13 2003 Anatoly Yakushin <jaa на altlinux.ru> 1.3.21-alt1
- new version

* Tue Aug 30 2003 Anatoly Yakushin <jaa на altlinux.ru> 1.3.19-alt1
- new version

* Mon Jun 29 2003 Anatoly Yakushin <jaa на altlinux.ru> 1.3.16-alt1
- new version

* Wed May 28 2003 Anatoly Yakushin <jaa на altlinux.ru> 1.3.14-alt2
- fixed bugs in spec file, add new ru.po

* Sun Apr 13 2003 Anatoly Yakushin <jaa на altlinux.ru> 1.3.14-alt1
- package in Sisyphus

* Mon Mar 24 2003 Anatoly Yakushin <jaa на altlinux.ru> 1.3.13-alt0.1
- version 1.3.13

* Wed Mar 19 2003 Anatoly Yakushin <jaa на altlinux.ru> 1.3.12-alt0.1
- Adapted spec for AltLinux

* Fri Feb 14 2003 Matthias Saou <matthias.saou на est.une.marmotte.net>
- Reinvented the wheel, but packaged 1.3.11.

* Fri Apr 14 2000 Matt Wilson <msw на redhat.com>
- 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 and
  prefix/lib/gimp/1.1/modules

* Thu Apr 13 2000 Matt Wilson <msw на redhat.com>
- 1.1.19
- get all .mo files

* Wed Jan 19 2000 Gregory McLean <gregm на comstar.net>
- Version 1.1.15

* Wed Dec 22 1999 Gregory McLean <gregm на comstar.net>
- Version 1.1.14
- Added some auto %files section generation scriptlets

----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/backports/attachments/20051225/a74f5336/attachment-0003.bin>


Подробная информация о списке рассылки backports