]> git.pld-linux.org Git - packages/Hermes.git/blob - Hermes.spec
- upgraded to 1.2.6
[packages/Hermes.git] / Hermes.spec
1 Summary:        HERMES pixel format conversion library
2 Summary(pl):    HERMES - biblioteka konwersji formatów pixeli
3 Name:           Hermes
4 Version:        1.2.6
5 Release:        1
6 Copyright:      LGPL
7 Group:          Libraries
8 Group(pl):      Biblioteki
9 Source:         http://hermes.terminal.at/Hermes-%{version}.tar.gz
10 Patch:          Hermes-DESTDIR.patch
11 URL:            http://hermes.terminal.at/
12 BuildRoot:      /tmp/%{name}-%{version}-root
13
14 %description
15 HERMES is a library designed to convert a source buffer with a specified 
16 pixel format to a destination buffer with possibly a different format at
17 the maximum possible speed.
18
19 On x86 and MMX architectures, handwritten assembler routines are taking over
20 the job and doing it lightning fast.
21
22 On top of that, HERMES provides fast surface clearing, stretching and some
23 dithering. Supported platforms are basically all that have an ANSI C
24 compiler as there is no platform specific code but those are supported: DOS,
25 Win32 (Visual C), Linux, FreeBSD (IRIX, Solaris are on hold at the moment)
26
27 %description -l pl
28 HERMES jest bibliotek± do konwersji miêdzy ró¿nymi formatami buforów
29 pixeli z maksymaln± mo¿liw± szybkosci±.
30
31 Na procesorach x86 z architektur± MMX, procedury assemblerowe umo¿liwiaj±
32 bibliotece du¿± szybko¶æ dzia³ania.
33
34 HERMES umo¿liwia wype³nianie powierzchni, skalowanie i czê¶ciowo dithering.
35 HERMES mo¿e dzia³aæ na wszystkich platformach na które dostêpny jest
36 kompilator ANSI C, w tej chwili kod dostêpny jest dla DOS, Win32, Linux
37 FreeBSD.
38
39 %package devel
40 Summary:        HERMES header files and docementation
41 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki HERMES
42 Group:          Development/Libraries
43 Group(pl):      Programowanie/Biblioteki
44 Requires:       %{name} = %{version}
45
46 %description devel
47 Header files and docementation for develp applications using HERMES library.
48
49 %description -l pl devel
50 Pliki nag³ówkowe i dokumentacja potrzebne przy tworzeniu aplikacji
51 u¿ywaj±cych biblioteki HERMES.
52
53 %package static
54 Summary:        HERMES static library
55 Summary(pl):    Biblioteka statyczna HERMES
56 Group:          Development/Libraries
57 Group(pl):      Programowanie/Biblioteki
58 Requires:       %{name}-devel = %{version}
59
60 %description static
61 HERMES static library.
62
63 %description -l pl static
64 Biblioteka statyczna HERMES.
65
66 %prep
67 %setup -q
68 %patch -p1
69
70 %build
71 LDFLAGS="-s"; export LDFLAGS
72 %GNUconfigure
73 make
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 make install-strip DESTDIR=$RPM_BUILD_ROOT
78
79 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
80
81 gzip -9nf AUTHORS CHANGES TODO TODO.conversion
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/lib*.so.*.*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %doc *gz docs/api
96 %{_includedir}/Hermes
97 %attr(755,root,root) %{_libdir}/lib*.so
98 %attr(755,root,root) %{_libdir}/lib*.la
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/lib*.a
This page took 0.077456 seconds and 3 git commands to generate.