]>
Commit | Line | Data |
---|---|---|
b7ac1232 | 1 | Summary: HERMES pixel format conversion library |
35eecda8 | 2 | Summary(pl.UTF-8): HERMES - biblioteka konwersji grafiki rastrowej |
b7ac1232 | 3 | Name: Hermes |
49169e38 | 4 | Version: 1.3.3 |
01f881c9 | 5 | Release: 4 |
1c31181d | 6 | License: LGPL |
9ba95ffd | 7 | Group: Libraries |
49169e38 | 8 | Source0: http://www.clanlib.org/~sphair/download/hermes/1.3/%{name}-%{version}.tar.bz2 |
41271f63 | 9 | # Source0-md5: 7dd49507a822b252ea8e3be8d0278d33 |
8ab5f306 | 10 | Patch0: %{name}-DESTDIR.patch |
11 | Patch1: %{name}-automake.patch | |
780ec57f | 12 | Patch2: %{name}-gcc4.patch |
01f881c9 | 13 | Patch3: %{name}-configure.patch |
49169e38 | 14 | URL: http://www.clanlib.org/hermes/ |
1c31181d | 15 | BuildRequires: automake |
16 | BuildRequires: autoconf | |
17 | BuildRequires: libtool | |
89e33807 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b7ac1232 | 19 | |
20 | %description | |
b0024787 | 21 | HERMES is a library designed to convert a source buffer with a |
22 | specified pixel format to a destination buffer with possibly a | |
23 | different format at the maximum possible speed. On x86 and MMX | |
24 | architectures, handwritten assembler routines are taking over the job | |
25 | and doing it lightning fast. On top of that, HERMES provides fast | |
26 | surface clearing, stretching and some dithering. | |
b7ac1232 | 27 | |
e781915f JR |
28 | %description -l pl.UTF-8 |
29 | HERMES jest biblioteką do konwersji między różnymi formatami buforów | |
30 | pikseli z maksymalną możliwą szybkością. Na procesorach x86 z | |
31 | architekturą MMX wstawki asemblerowe umożliwiają bibliotece dużą | |
32 | szybkość działania. HERMES umożliwia wypełnianie powierzchni, | |
33 | skalowanie i częściowo dithering. | |
b7ac1232 | 34 | |
9ba95ffd | 35 | %package devel |
944ec0e6 | 36 | Summary: HERMES header files and documentation |
35eecda8 | 37 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do biblioteki HERMES |
9ba95ffd | 38 | Group: Development/Libraries |
997469c9 | 39 | Requires: %{name} = %{version}-%{release} |
9ba95ffd | 40 | |
41 | %description devel | |
b0024787 | 42 | Header files and documentation for developing applications using |
43 | HERMES library. | |
9ba95ffd | 44 | |
e781915f JR |
45 | %description devel -l pl.UTF-8 |
46 | Pliki nagłówkowe i dokumentacja potrzebne przy tworzeniu aplikacji | |
47 | używających biblioteki HERMES. | |
9ba95ffd | 48 | |
49 | %package static | |
a369e541 | 50 | Summary: HERMES static library |
35eecda8 | 51 | Summary(pl.UTF-8): Biblioteka statyczna HERMES |
9ba95ffd | 52 | Group: Development/Libraries |
997469c9 | 53 | Requires: %{name}-devel = %{version}-%{release} |
9ba95ffd | 54 | |
55 | %description static | |
a369e541 | 56 | HERMES static library. |
9ba95ffd | 57 | |
e781915f | 58 | %description static -l pl.UTF-8 |
9ba95ffd | 59 | Biblioteka statyczna HERMES. |
60 | ||
b7ac1232 | 61 | %prep |
cf36a412 AF |
62 | %setup -q |
63 | %patch0 -p1 | |
64 | %patch1 -p1 | |
780ec57f | 65 | %patch2 -p1 |
01f881c9 | 66 | %patch3 -p1 |
b7ac1232 | 67 | |
68 | %build | |
dd49281b | 69 | rm -f missing |
37e62f96 | 70 | %{__libtoolize} |
483cc754 | 71 | %{__aclocal} |
98173868 | 72 | %{__autoconf} |
01f881c9 | 73 | %{__autoheader} |
98173868 | 74 | %{__automake} |
cf36a412 | 75 | %configure |
680e815d | 76 | %{__make} |
b7ac1232 | 77 | |
78 | %install | |
9ba95ffd | 79 | rm -rf $RPM_BUILD_ROOT |
cf36a412 | 80 | |
4274c1a1 PG |
81 | %{__make} install \ |
82 | DESTDIR=$RPM_BUILD_ROOT | |
b7ac1232 | 83 | |
9ba95ffd | 84 | %clean |
85 | rm -rf $RPM_BUILD_ROOT | |
b7ac1232 | 86 | |
944ec0e6 JB |
87 | %post -p /sbin/ldconfig |
88 | %postun -p /sbin/ldconfig | |
89 | ||
b7ac1232 | 90 | %files |
91 | %defattr(644,root,root,755) | |
49169e38 | 92 | %doc AUTHORS ChangeLog FAQ NEWS README TODO* |
01f881c9 MB |
93 | %attr(755,root,root) %{_libdir}/libHermes.so.*.*.* |
94 | %attr(755,root,root) %ghost %{_libdir}/libHermes.so.1 | |
9ba95ffd | 95 | |
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
49169e38 | 98 | %doc docs/api |
01f881c9 MB |
99 | %attr(755,root,root) %{_libdir}/libHermes.so |
100 | %{_libdir}/libHermes.la | |
f245d6a2 | 101 | %{_includedir}/Hermes |
9ba95ffd | 102 | |
103 | %files static | |
104 | %defattr(644,root,root,755) | |
01f881c9 | 105 | %{_libdir}/libHermes.a |