]> git.pld-linux.org Git - packages/Hermes.git/blame - Hermes.spec
- fixes build
[packages/Hermes.git] / Hermes.spec
CommitLineData
b7ac1232 1Summary: HERMES pixel format conversion library
35eecda8 2Summary(pl.UTF-8): HERMES - biblioteka konwersji grafiki rastrowej
b7ac1232 3Name: Hermes
49169e38 4Version: 1.3.3
01f881c9 5Release: 4
1c31181d 6License: LGPL
9ba95ffd 7Group: Libraries
49169e38 8Source0: http://www.clanlib.org/~sphair/download/hermes/1.3/%{name}-%{version}.tar.bz2
41271f63 9# Source0-md5: 7dd49507a822b252ea8e3be8d0278d33
8ab5f306 10Patch0: %{name}-DESTDIR.patch
11Patch1: %{name}-automake.patch
780ec57f 12Patch2: %{name}-gcc4.patch
01f881c9 13Patch3: %{name}-configure.patch
49169e38 14URL: http://www.clanlib.org/hermes/
1c31181d 15BuildRequires: automake
16BuildRequires: autoconf
17BuildRequires: libtool
89e33807 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
b7ac1232 19
20%description
b0024787 21HERMES is a library designed to convert a source buffer with a
22specified pixel format to a destination buffer with possibly a
23different format at the maximum possible speed. On x86 and MMX
24architectures, handwritten assembler routines are taking over the job
25and doing it lightning fast. On top of that, HERMES provides fast
26surface clearing, stretching and some dithering.
b7ac1232 27
e781915f
JR
28%description -l pl.UTF-8
29HERMES jest biblioteką do konwersji między różnymi formatami buforów
30pikseli z maksymalną możliwą szybkością. Na procesorach x86 z
31architekturą MMX wstawki asemblerowe umożliwiają bibliotece dużą
32szybkość działania. HERMES umożliwia wypełnianie powierzchni,
33skalowanie i częściowo dithering.
b7ac1232 34
9ba95ffd 35%package devel
944ec0e6 36Summary: HERMES header files and documentation
35eecda8 37Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do biblioteki HERMES
9ba95ffd 38Group: Development/Libraries
997469c9 39Requires: %{name} = %{version}-%{release}
9ba95ffd 40
41%description devel
b0024787 42Header files and documentation for developing applications using
43HERMES library.
9ba95ffd 44
e781915f
JR
45%description devel -l pl.UTF-8
46Pliki nagłówkowe i dokumentacja potrzebne przy tworzeniu aplikacji
47używających biblioteki HERMES.
9ba95ffd 48
49%package static
a369e541 50Summary: HERMES static library
35eecda8 51Summary(pl.UTF-8): Biblioteka statyczna HERMES
9ba95ffd 52Group: Development/Libraries
997469c9 53Requires: %{name}-devel = %{version}-%{release}
9ba95ffd 54
55%description static
a369e541 56HERMES static library.
9ba95ffd 57
e781915f 58%description static -l pl.UTF-8
9ba95ffd 59Biblioteka statyczna HERMES.
60
b7ac1232 61%prep
cf36a412
AF
62%setup -q
63%patch0 -p1
64%patch1 -p1
780ec57f 65%patch2 -p1
01f881c9 66%patch3 -p1
b7ac1232 67
68%build
dd49281b 69rm -f missing
37e62f96 70%{__libtoolize}
483cc754 71%{__aclocal}
98173868 72%{__autoconf}
01f881c9 73%{__autoheader}
98173868 74%{__automake}
cf36a412 75%configure
680e815d 76%{__make}
b7ac1232 77
78%install
9ba95ffd 79rm -rf $RPM_BUILD_ROOT
cf36a412 80
4274c1a1
PG
81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
b7ac1232 83
9ba95ffd 84%clean
85rm -rf $RPM_BUILD_ROOT
b7ac1232 86
944ec0e6
JB
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
89
b7ac1232 90%files
91%defattr(644,root,root,755)
49169e38 92%doc AUTHORS ChangeLog FAQ NEWS README TODO*
01f881c9
MB
93%attr(755,root,root) %{_libdir}/libHermes.so.*.*.*
94%attr(755,root,root) %ghost %{_libdir}/libHermes.so.1
9ba95ffd 95
96%files devel
97%defattr(644,root,root,755)
49169e38 98%doc docs/api
01f881c9
MB
99%attr(755,root,root) %{_libdir}/libHermes.so
100%{_libdir}/libHermes.la
f245d6a2 101%{_includedir}/Hermes
9ba95ffd 102
103%files static
104%defattr(644,root,root,755)
01f881c9 105%{_libdir}/libHermes.a
This page took 0.071126 seconds and 4 git commands to generate.