]> git.pld-linux.org Git - packages/Hermes.git/blob - Hermes.spec
- modyfications for using neew rpm automation.
[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 %configure
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install DESTDIR=$RPM_BUILD_ROOT
81
82 gzip -9nf AUTHORS ChangeLog TODO TODO.conversion README FAQ
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*
93
94 %files devel
95 %defattr(644,root,root,755)
96 %doc *gz docs/api
97 %{_includedir}/Hermes
98 %attr(755,root,root) %{_libdir}/lib*.so
99 %attr(755,root,root) %{_libdir}/lib*.la
100
101 %files static
102 %defattr(644,root,root,755)
103 %attr(644,root,root) %{_libdir}/lib*.a
This page took 0.091271 seconds and 3 git commands to generate.