ImageMagick -> poprawki

Wojtek Slusarczyk wojtek w SHADOW.EU.ORG
Śro, 16 Wrz 1998, 15:00:17 CEST


Hej,
	A oto tak bedzie wygladal ImageMagick dla devela (chyba ..;)


Summary:   image display, conversion, and manipulation under X
Summary(pl): Narzędzia do manipulacji plikami w różnych formatach graficznych.
Name:      ImageMagick
Version:   4.1.0
Release:   1d
URL:       http://www.wizards.dupont.com/cristy/ImageMagick.html
Source:    ftp://ftp.wizards.dupont.com/pub/ImageMagick/%{name}-%{version}.tar.gz
Copyright: freeware
Group:     X11/Applications/Graphics
BuildRoot: /tmp/%{name}-%{version}-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.

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

%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
Pakiet ten zawiera pliki nagłówkowe potrzebne przy kompilowaniu programów
wykorzystującyh blibliotekę ImageMagick. W apkiecie znajduje się również
obszerna dokumentacja niezbęddną przy pisaniu włąsnych programów z 
wykorzystaniem API jakie udostępnia ImageMagick.

%package  static
Summary:     static library for ImageMagick development
Summary(pl): Biblioteka statyczna dla ImageMagick'a
Group:       X11/Libraries
Requires:    %{name}-devel = %{version}

%description static
This package contains static library for use in developing your own
applications that make use of the ImageMagick code and/or APIs.

%description -l pl devel
Pakiet ten zawiera bibliotekę statyczną i dokumentację niezbędną przy pisaniu
włąsnych programów z wykorzystaniem API jakie udostępnia ImageMagick.

%package  perl
Summary:  libraries and modules for access to ImageMagick from perl
Summary(pl):  Dodatkowe biblioteki i moduły ImageMagick dla perla
Group:    Development/Libraries/Perl
Requires: %{name} = %{version}, perl >= 5.005_02

%description perl
This is the ImageMagick perl support package.  It includes perl modules and
support files for access to ImageMagick library from perl without unuseful
forking or such.

%description -l pl perl
Biblioteki i moduły umożliwiające korzystanie z ImageMagick'a z poziomu
perla. 

%prep
%setup -q

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

%install
rm -rf $RPM_BUILD_ROOT
eval `perl '-V:installarchlib'` ; install -d $RPM_BUILD_ROOT/$installarchlib
make prefix=$RPM_BUILD_ROOT/usr \
     PREFIX=$RPM_BUILD_ROOT/usr \
     INSTALLMAN3DIR=$RPM_BUILD_ROOT/usr/lib/perl5/5.00502/man/man3 \
     libdir=$RPM_BUILD_ROOT/usr/X11R6/lib \
     includedir=$RPM_BUILD_ROOT/usr/X11R6/include/X11/magick \
     install

strip $RPM_BUILD_ROOT/usr/bin/*

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

%clean
rm -rf $RPM_BUILD_ROOT

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

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

%files static
%attr(644, root, root) /usr/X11R6/lib/lib*.a

%files perl
%defattr(644,root,root, 755)
%dir /usr/lib/perl5/site_perl/5.005/%{buildarch}-linux-thread/Image
/usr/lib/perl5/site_perl/5.005/%{buildarch}-linux-thread/Image/Magick.pm
%dir /usr/lib/perl5/site_perl/5.005/%{buildarch}-linux-thread/auto/Image
%dir /usr/lib/perl5/site_perl/5.005/%{buildarch}-linux-thread/auto/Image/Magick
/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(0644,root,man) /usr/lib/perl5/5.00502/man/man3/Image::Magick.3

%changelog
* Wed Sep 16 1998 Wojtek Ślusarczyk <wojtek w shadow.eu.org>
[4.1.0-1d]
- updated to 4.1.0,
- fixed pl translation
  (follow the Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl> suggestions),
- added static subpackage.  

* Wed Sep 16 1998 Wojtek Ślusarczyk <wojtek w shadow.eu.org>
[4.0.9-1d]
- updated to 4.0.9,
- fixed files permissions.

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

* Mon Jul 14 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[4.0.7-2d]
- 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