]> git.pld-linux.org Git - packages/Hermes.git/blob - Hermes.spec
- fixes build
[packages/Hermes.git] / Hermes.spec
1 Summary:        HERMES pixel format conversion library
2 Summary(pl.UTF-8):      HERMES - biblioteka konwersji grafiki rastrowej
3 Name:           Hermes
4 Version:        1.3.3
5 Release:        4
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 Patch2:         %{name}-gcc4.patch
13 Patch3:         %{name}-configure.patch
14 URL:            http://www.clanlib.org/hermes/
15 BuildRequires:  automake
16 BuildRequires:  autoconf
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.
27
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.
34
35 %package devel
36 Summary:        HERMES header files and documentation
37 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja do biblioteki HERMES
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 Header files and documentation for developing applications using
43 HERMES library.
44
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe i dokumentacja potrzebne przy tworzeniu aplikacji
47 używających biblioteki HERMES.
48
49 %package static
50 Summary:        HERMES static library
51 Summary(pl.UTF-8):      Biblioteka statyczna HERMES
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 HERMES static library.
57
58 %description static -l pl.UTF-8
59 Biblioteka statyczna HERMES.
60
61 %prep
62 %setup  -q
63 %patch0 -p1
64 %patch1 -p1
65 %patch2 -p1
66 %patch3 -p1
67
68 %build
69 rm -f missing
70 %{__libtoolize}
71 %{__aclocal}
72 %{__autoconf}
73 %{__autoheader}
74 %{__automake}
75 %configure
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog FAQ NEWS README TODO*
93 %attr(755,root,root) %{_libdir}/libHermes.so.*.*.*
94 %attr(755,root,root) %ghost %{_libdir}/libHermes.so.1
95
96 %files devel
97 %defattr(644,root,root,755)
98 %doc docs/api
99 %attr(755,root,root) %{_libdir}/libHermes.so
100 %{_libdir}/libHermes.la
101 %{_includedir}/Hermes
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/libHermes.a
This page took 0.054986 seconds and 3 git commands to generate.