]> git.pld-linux.org Git - packages/Hermes.git/blobdiff - Hermes.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/Hermes.git] / Hermes.spec
index addade6a50ebdeb466769ebdf069e195ee3f62bb..48a775325d7694c36527e4dd6823784078436435 100644 (file)
 Summary:       HERMES pixel format conversion library
-Summary(pl):   HERMES - biblioteka konwersji formatów pixeli
+Summary(pl):   HERMES - biblioteka konwersji grafiki rastrowej
 Name:          Hermes
-Version:       1.2.4
-Release:       2
-Copyright:     LGPL
+Version:       1.3.2
+Release:       3
+License:       LGPL
 Group:         Libraries
-Group(pl):     Biblioteki
-Source:                http://hermes.terminal.at/Hermes-%{version}.tar.gz
+Source0:       http://dark.x.dtu.dk/~mbn/clanlib/download/%{name}-%{version}.tar.gz
+Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-automake.patch
 URL:           http://hermes.terminal.at/
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-HERMES is a library designed to convert a source buffer with a specified 
-pixel format to a destination buffer with possibly a different format at
-the maximum possible speed.
-
-On x86 and MMX architectures, handwritten assembler routines are taking over
-the job and doing it lightning fast.
-
-On top of that, HERMES provides fast surface clearing, stretching and some
-dithering. Supported platforms are basically all that have an ANSI C
-compiler as there is no platform specific code but those are supported: DOS,
-Win32 (Visual C), Linux, FreeBSD (IRIX, Solaris are on hold at the moment)
+HERMES is a library designed to convert a source buffer with a
+specified pixel format to a destination buffer with possibly a
+different format at the maximum possible speed. On x86 and MMX
+architectures, handwritten assembler routines are taking over the job
+and doing it lightning fast. On top of that, HERMES provides fast
+surface clearing, stretching and some dithering.
 
 %description -l pl
 HERMES jest bibliotek± do konwersji miêdzy ró¿nymi formatami buforów
-pixeli z maksymaln± mozliw± szubkosci±.
-
-Na procesorach x86 z architektur± MMX, procedury assemblerowe umo¿liwiaj±
-bibliotece du¿± szybko¶æ dzia³ania.
-
-HERMES umozliwia wype³nianie powierzchni, skalowanie i czê¶ciowo dithering.
-HERMES mo¿e dzia³aæ na wszystkich platformach na które dostêpny jest
-kompilator ANSI C, w tej chwili kod dostêpny jest dla DOS, Win32, Linux
-FreeBSD.
+pixeli z maksymaln± mo¿liw± szybkosci±. Na procesorach x86 z
+architektur± MMX wstawki assemblerowe umo¿liwiaj± bibliotece du¿±
+szybko¶æ dzia³ania. HERMES umo¿liwia wype³nianie powierzchni,
+skalowanie i czê¶ciowo dithering.
 
 %package devel
-Summary:       HERMES header files and docementation
+Summary:       HERMES header files and documentation
 Summary(pl):   Pliki nag³ówkowe i dokumentacja do biblioteki HERMES
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
 
 %description devel
-Header files and docementation for develp applications using HERMES library.
+Header files and documentation for developing applications using
+HERMES library.
 
 %description -l pl devel
 Pliki nag³ówkowe i dokumentacja potrzebne przy tworzeniu aplikacji
 u¿ywaj±cych biblioteki HERMES.
 
 %package static
-Summary:       HERMES satic library
+Summary:       HERMES static library
 Summary(pl):   Biblioteka statyczna HERMES
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
 %description static
-HERMES satic library.
+HERMES static library.
 
 %description -l pl static
 Biblioteka statyczna HERMES.
 
 %prep
-%setup -q
+%setup  -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target} \
-       --prefix=/usr/
-make
+rm -f missing
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix="$RPM_BUILD_ROOT/usr" install-strip
-
-strip $RPM_BUILD_ROOT/usr/lib/lib*.so.*.*
 
-gzip -9nf AUTHORS CHANGES TODO TODO.conversion
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+gzip -9nf AUTHORS ChangeLog TODO TODO.conversion README FAQ
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) /usr/lib/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %doc *gz docs/api
-/usr/include/Hermes
-%attr(755,root,root) /usr/lib/lib*.so
-%attr(755,root,root) /usr/lib/libHermes.la
+%{_includedir}/Hermes
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
 
 %files static
 %defattr(644,root,root,755)
-/usr/lib/lib*.a
-
-%changelog
-* Tue Apr 20 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.2.4-2]
-- added - q %setup parameter,
-- added devel and static subpackages,
-- changed Group for main package,
-- gzipping %doc,
-- added "rm -rf $RPM_BUILD_ROOT" on top %install,
-- added stripping shared libraries.
-
-* Mon Apr 19 1999 Konrad Stepieñ <kornad@interdata.com.pl>
-  [1.2.4-1]
-- initial version
+%attr(644,root,root) %{_libdir}/lib*.a
This page took 0.611387 seconds and 4 git commands to generate.