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