info:ImageMagick.spec -devel

Wojtek Slusarczyk wojtek w SHADOW.EU.ORG
Wto, 1 Wrz 1998, 21:03:04 CEST


Kolejny spec, tym razem ImageMagick:

Summary:     image display, conversion, and manipulation under X
Summary(de): Darstellen, Konvertieren und Bearbeiten von Grafiken unter X
Summary(fr): Visualisation, conversion, et manipulation d'images sous X.
Summary(tr): X altýnda resim gösterme, çevirme ve deđiţiklik yapma
Summary(pl): Narzędzie do wyświetlania, konwersji i manipulacji pod X'ami
Name:        ImageMagick
Version:     4.0.7
Release:     4d
Copyright:   freeware
Group:       X11/Applications/Graphics
Source:      ftp://ftp.wizards.dupont.com/pub/ImageMagick/%{name}-%{version}.tar.gz
URL:         http://www.wizards.dupont.com/cristy/ImageMagick.html
Requires:    freetype >= 1.1 perl >= 5.005
Buildroot:   /tmp/%{name}-%{version}-%{release}-root

%description
ImageMagick is an image display, conversion, and manipulation tool.
It runs under X windows.  It is very powerful in terms of it's 
ability to allow the user to edit images.  It can handle many 
different formats as well.

%description -l pl
ImageMagic jest narzędziem do manipulacji, konwersji i wyświetlania.
Jest uruchamiany wyłącznie pod X'ami. Jest to narzędzie potężne ;)
i użyteczne podczas pracy z wieloma formatami graficznymi.

%description -l de
ImageMagick ist ein Tool zur Bildanzeige, -konvertierung und 
-manipulation, das unter X-Windows läuft. Es ist enorm leitungsfähig 
in Bezug auf die Grafikmanipulationsfunktionen, die es dem Anwender 
bietet, und auf die Vielfalt der unterstützten Formate.

%description -l fr
ImageMagick est un outil d'affichage, de conversion et de manipulation
d'images. Il tourne sous X Window et est trčs puissant en termes
de capacité d'édition des images. Il peut aussi gérer de nombreux
formats différents.

%description -l fr
ImageMagick est un outil d'affichage, de conversion et de manipulation
d'images. Il tourne sous X Window et est trčs puissant en termes
de capacité d'édition des images. Il peut aussi gérer de nombreux
formats différents.

%description -l tr
ImageMagick bir resim gösterme, çevirme ve deđiţiklik yapma programýdýr. X
Window pencereleme sistemi altýnda çalýţýr. Kullanýcýya resimler üzerinde
deđiţiklik yapma açýsýndan pek çok olanak sunar. Bir çok resim biçimini
rahatlýkla kullanabilir.

%package  devel
Summary:  static libraries and header files for ImageMagick development
Group:    X11/Libraries
Requires: %{name} = %{version}
Summary(pl): Biblioteki statyczne i pliki nagłówków dla ImageMagick'a

%description devel
This is the ImageMagick development package.  It includes the static
libraries and header files for use in developing your own applications
that make use of the ImageMagick code and/or APIs.

%description -l pl devel
To jest pakiet zawierający pliki nagłówków i biblioteki statyczne, przydatne 
do programowania z wykorzystaniem ImageMagick'a.

%description -l de devel
Dies ist das ImageMagick-Entwicklerpaket. Es enthält die statischen
Libraries und Header-Dateien zum Entwickeln von Anwendungen,
die ImageMagick-Code und/oder -APIs nutzen.

%description -l fr devel
Paquetage de développement ImageMagick. Contient les bibliothčques
statiques et les en-tętes utilisés pour créer vos propres applications
utilisant le code d'ImageMagick et/ou ses APIs.

%description -l tr devel
Bu paket, ImageMagick uygulama arayüzünü kullanan programlar geliţtirmek
için gereken baţlýk dosyalarýný ve kitaplýklarý içerir.

%package  perl
Summary:  libraries and modules for access to ImageMagick from perl
Summary(pl):  Dodatkowe biblioteki i moduły ImageMagick 
Group:    Development/Libraries/Perl
Requires: %{name} = %{version}
%description perl
This is the ImageMagick perl support package.  It perl modules and support
files for access to ImageMagick library from perl without unuseful forking
or such.

%description -l pl perl
Pakiet ten zawiera wspomaganie ImageMagick dla perla.

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
	--prefix=/usr \
	--libdir=/usr/X11R6/lib \
	--includedir=/usr/X11R6/include/X11/magick \
	--enable-shared \
	--enable-lzw \
	--enable-16bit-pixel \
	--with-perl \
	--with-x
make 

%install
rm -fr $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/lib/perl5/%{buildarch}-linux/5.005
install -d $RPM_BUILD_ROOT/usr/lib/perl5/5.00501/man/man3
install -m 644 $RPM_BUILD_DIR/ImageMagick-4.0.7/PerlMagick/blib/man3/Image* $RPM_BUILD_ROOT/usr/lib/perl5/5.00501/man/man3 
make install \
	prefix=$RPM_BUILD_ROOT/usr \
	PREFIX=$RPM_BUILD_ROOT/usr \
	libdir=$RPM_BUILD_ROOT/usr/X11R6/lib \
	includedir=$RPM_BUILD_ROOT/usr/X11R6/include/X11/magick

strip $RPM_BUILD_ROOT/usr/bin/* || :

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc README.txt 
%attr(0755, root, root) /usr/X11R6/lib/lib*.so.*.*
%attr(711, root, root) /usr/bin/*
%attr(644, root,  man) /usr/man/man1/*

%files devel
%defattr(-, root, root)
%doc www ImageMagick.html
%dir /usr/X11R6/include/X11/magick
/usr/X11R6/include/X11/magick/*.h
/usr/X11R6/lib/lib*.a
%attr(0755, root, root) /usr/X11R6/lib/lib*.so

%files perl
%defattr(-, root, root)
/usr/lib/perl5/site_perl/5.005/%{buildarch}-linux-thread/Image/Magick.pm
/usr/lib/perl5/site_perl/5.005/%{buildarch}-linux-thread/auto/Image/Magick/autosplit.ix
/usr/lib/perl5/site_perl/5.005/%{buildarch}-linux-thread/auto/Image/Magick/Magick.bs
/usr/lib/perl5/site_perl/5.005/%{buildarch}-linux-thread/auto/Image/Magick/Magick.so
%attr(644, root, man) /usr/lib/perl5/5.00501/man/man3/Image::Magick.3

%changelog

* Fri Jul 17 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[1.0-4d]
- added pl translation,
- changed permissions of binaries to 711,
- changed permissions of shared libraries to 755.

* Mon Jul 14 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
  [1.0-3]
- build against glibc-2.1

* Sun Jun 14 1998 Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl>
  [1.0-2]
- added Khimenko Victor <khim w sch57.msk.ru> style modyfication for making
  separated subpackage perl stuff and all my old modyfication witch was
  prepared and uploaded to contrib before RH 5.1,
- added "Requires: freetype >= 1.1" for main package.

* Wed Jun 10 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr

* Thu May 07 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr

* Tue Apr 21 1998 Cristian Gafton <gafton w redhat.com>
- updated to 4.0.5

* Wed Apr 08 1998 Cristian Gafton <gafton w redhat.com>
- updated to 4.0.4
- added BuildRoot

* Thu Oct 23 1997 Donnie Barnes <djb w redhat.com>
- updated from 3.8.3 to 3.9.1
- removed PNG patch (appears to be fixed)

* Wed Oct 15 1997 Erik Troan <ewt w redhat.com>
- build against new libpng

* Thu Jul 10 1997 Erik Troan <ewt w redhat.com>
- built against glibc

* Thu Mar 20 1997 Michael Fulbright <msf w redhat.com>
- updated to version 3.8.3.
- updated source and url tags.


Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu



Więcej informacji o liście dyskusyjnej pld-devel-pl