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