]> git.pld-linux.org Git - packages/Hermes.git/blob - Hermes.spec
44a4340d91e91efb62dcd9973fd0235188f2d3a5
[packages/Hermes.git] / Hermes.spec
1 Summary:        HERMES pixel format conversion library
2 Summary(pl):    HERMES - biblioteka konwersji grafiki rastrowej
3 Name:           Hermes
4 Version:        1.3.2
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 Source0:        http://dark.x.dtu.dk/~mbn/clanlib/download/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-DESTDIR.patch
12 Patch1:         %{name}-automake.patch
13 URL:            http://hermes.terminal.at/
14 BuildRequires:  automake
15 BuildRequires:  autoconf
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 HERMES is a library designed to convert a source buffer with a
21 specified pixel format to a destination buffer with possibly a
22 different format at the maximum possible speed. On x86 and MMX
23 architectures, handwritten assembler routines are taking over the job
24 and doing it lightning fast. On top of that, HERMES provides fast
25 surface clearing, stretching and some dithering.
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±. Na procesorach x86 z
30 architektur± MMX wstawki assemblerowe umo¿liwiaj± bibliotece du¿±
31 szybko¶æ dzia³ania. HERMES umo¿liwia wype³nianie powierzchni,
32 skalowanie i czê¶ciowo dithering.
33
34 %package devel
35 Summary:        HERMES header files and docementation
36 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki HERMES
37 Group:          Development/Libraries
38 Group(fr):      Development/Librairies
39 Group(pl):      Programowanie/Biblioteki
40 Requires:       %{name} = %{version}
41
42 %description devel
43 Header files and documentation for developing applications using
44 HERMES library.
45
46 %description -l pl devel
47 Pliki nag³ówkowe i dokumentacja potrzebne przy tworzeniu aplikacji
48 u¿ywaj±cych biblioteki HERMES.
49
50 %package static
51 Summary:        HERMES static library
52 Summary(pl):    Biblioteka statyczna HERMES
53 Group:          Development/Libraries
54 Group(fr):      Development/Librairies
55 Group(pl):      Programowanie/Biblioteki
56 Requires:       %{name}-devel = %{version}
57
58 %description static
59 HERMES static library.
60
61 %description -l pl static
62 Biblioteka statyczna HERMES.
63
64 %prep
65 %setup  -q
66 %patch0 -p1
67 %patch1 -p1
68
69 %build
70 libtoolize --copy --force
71 aclocal
72 autoconf
73 automake -a
74 LDFLAGS="-s"; export LDFLAGS
75 %configure
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install-strip DESTDIR=$RPM_BUILD_ROOT
82
83 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
84
85 gzip -9nf AUTHORS ChangeLog TODO TODO.conversion README FAQ
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %doc *gz docs/api
100 %{_includedir}/Hermes
101 %attr(755,root,root) %{_libdir}/lib*.so
102 %attr(755,root,root) %{_libdir}/lib*.la
103
104 %files static
105 %defattr(644,root,root,755)
106 %attr(644,root,root) %{_libdir}/lib*.a
This page took 0.036751 seconds and 2 git commands to generate.