]> git.pld-linux.org Git - packages/Hermes.git/blobdiff - Hermes.spec
- massive attack: adding Source-md5
[packages/Hermes.git] / Hermes.spec
index a90ac4791f3c0e6336cd57ba9d30ce8b0951eff3..bfa53214a9716419f8760a31674f472054c23ddd 100644 (file)
@@ -1,70 +1,98 @@
 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
+Version:       1.3.3
 Release:       1
-Copyright:     LGPL
-Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Source:                http://hermes.terminal.at/Hermes-%{version}.tar.gz
-BuildRoot:     /tmp/%{name}-%{version}-root
-URL:           http://hermes.terminal.at
+License:       LGPL
+Group:         Libraries
+Source0:       http://www.clanlib.org/~sphair/download/hermes/1.3/%{name}-%{version}.tar.bz2
+# Source0-md5: 7dd49507a822b252ea8e3be8d0278d33
+Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-automake.patch
+URL:           http://www.clanlib.org/hermes/
+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±.
+pikseli z maksymaln± mo¿liw± szybko¶ci±. Na procesorach x86 z
+architektur± MMX wstawki asemblerowe 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 documentation
+Summary(pl):   Pliki nag³ówkowe i dokumentacja do biblioteki HERMES
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+
+%description devel
+Header files and documentation for developing applications using
+HERMES library.
+
+%description devel -l pl
+Pliki nag³ówkowe i dokumentacja potrzebne przy tworzeniu aplikacji
+u¿ywaj±cych biblioteki HERMES.
+
+%package static
+Summary:       HERMES static library
+Summary(pl):   Biblioteka statyczna HERMES
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
 
-Na procesorach x86 z architektur± MMX, procedury assemblerowe umo¿liwiaj±
-bibliotece du¿± szybko¶æ dzia³ania.
+%description static
+HERMES static library.
 
-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.
+%description static -l pl
+Biblioteka statyczna HERMES.
 
 %prep
-%setup
+%setup  -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/
-make
+rm -f missing
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
 
 %install
-make prefix="$RPM_BUILD_ROOT/usr" install-strip
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES TODO TODO.conversion docs/api
-/usr/lib/libHermes.a
-%attr(755,root,root) /usr/lib/libHermes.la
-%attr(755,root,root) /usr/lib/libHermes.so.1.0.1
-%attr(755,root,root) /usr/lib/libHermes.so.1
-%attr(755,root,root) /usr/lib/libHermes.so
-/usr/include/Hermes
-
-%changelog
-
-* Mon Apr 19 1999 Konrad Stepieñ <kornad@interdata.com.pl>
-- initial version
+%doc AUTHORS ChangeLog FAQ NEWS README TODO*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc docs/api
+%{_includedir}/Hermes
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.19905 seconds and 4 git commands to generate.