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