| 1 |
Name: Hermes
|
| 2 |
Version: 1.3.3
|
| 3 |
Release: 17%{?dist}
|
| 4 |
Summary: Pixel format conversion library
|
| 5 |
Group: System Environment/Libraries
|
| 6 |
License: LGPLv2+
|
| 7 |
# upstream is no more
|
| 8 |
URL: http://web.archive.org/web/20040202225109/http://www.clanlib.org/hermes/
|
| 9 |
Source: %{name}-%{version}.tar.bz2
|
| 10 |
Patch0: Hermes-1.3.3-debian.patch
|
| 11 |
Patch1: Hermes-1.3.3-64bit.patch
|
| 12 |
BuildRequires: automake
|
| 13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 14 |
|
| 15 |
%description
|
| 16 |
HERMES is a library designed to convert a source buffer with a specified pixel
|
| 17 |
format to a destination buffer with possibly a different format at the maximum
|
| 18 |
possible speed.
|
| 19 |
|
| 20 |
On x86 and MMX architectures, handwritten assembler routines are taking over
|
| 21 |
the job and doing it lightning fast.
|
| 22 |
|
| 23 |
On top of that, HERMES provides fast surface clearing, stretching and some
|
| 24 |
dithering. Supported platforms are basically all that have an ANSI C compiler
|
| 25 |
as there is no platform specific code but those are supported: DOS, Win32
|
| 26 |
(Visual C), Linux, FreeBSD (IRIX, Solaris are on hold at the moment), some BeOS
|
| 27 |
support.
|
| 28 |
|
| 29 |
|
| 30 |
%package devel
|
| 31 |
Summary: Development libraries and header files for %{name}
|
| 32 |
Group: Development/Libraries
|
| 33 |
Requires: %{name} = %{version}-%{release}
|
| 34 |
|
| 35 |
%description devel
|
| 36 |
The %{name}-devel package contains the static libraries and header files
|
| 37 |
needed for development with %{name}.
|
| 38 |
|
| 39 |
|
| 40 |
%prep
|
| 41 |
%setup -q
|
| 42 |
%patch0 -p1 -z .deb
|
| 43 |
%patch1 -p1 -z .64bit
|
| 44 |
# sigh the tarbal contains bad timestamps or so? Which cause autoxxx to run,
|
| 45 |
# this stops this:
|
| 46 |
touch src/hrconfig.h.in
|
| 47 |
# mark asm files as NOT needing execstack
|
| 48 |
for i in src/*.S; do
|
| 49 |
echo '.section .note.GNU-stack,"",@progbits' >> $i
|
| 50 |
done
|
| 51 |
# Needed for ppc64, automake can't be run here
|
| 52 |
cp -f %{_datadir}/automake-*/config.* .
|
| 53 |
|
| 54 |
|
| 55 |
%build
|
| 56 |
%configure --disable-dependency-tracking --disable-static
|
| 57 |
make %{?_smp_mflags}
|
| 58 |
|
| 59 |
|
| 60 |
%install
|
| 61 |
rm -rf $RPM_BUILD_ROOT
|
| 62 |
%makeinstall
|
| 63 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
| 64 |
|
| 65 |
|
| 66 |
%clean
|
| 67 |
rm -rf $RPM_BUILD_ROOT
|
| 68 |
|
| 69 |
|
| 70 |
%post -p /sbin/ldconfig
|
| 71 |
|
| 72 |
%postun -p /sbin/ldconfig
|
| 73 |
|
| 74 |
|
| 75 |
%files
|
| 76 |
%defattr(-,root,root,-)
|
| 77 |
%doc AUTHORS COPYING ChangeLog FAQ NEWS README TODO*
|
| 78 |
%{_libdir}/libHermes.so.*
|
| 79 |
|
| 80 |
%files devel
|
| 81 |
%defattr(-,root,root,-)
|
| 82 |
%doc docs/api/*.htm docs/api/*.txt docs/api/api.ps
|
| 83 |
%{_includedir}/Hermes
|
| 84 |
%{_libdir}/libHermes.so
|
| 85 |
|
| 86 |
|
| 87 |
%changelog
|
| 88 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-17
|
| 89 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 90 |
|
| 91 |
* Sun Mar 09 2009 Robert Scheck <robert@fedoraproject.org> 1.3.3-16
|
| 92 |
- Solve the ppc64-redhat-linux-gnu configure target error
|
| 93 |
|
| 94 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-15
|
| 95 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 96 |
|
| 97 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.3-14
|
| 98 |
- Autorebuild for GCC 4.3
|
| 99 |
|
| 100 |
* Fri Aug 3 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.3-13
|
| 101 |
- Update License tag for new Licensing Guidelines compliance
|
| 102 |
|
| 103 |
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.3-12
|
| 104 |
- FE6 Rebuild
|
| 105 |
|
| 106 |
* Sun Jul 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.3-11
|
| 107 |
- Taking over as new maintainer
|
| 108 |
- Add a patch from Debian fixing some 64 bit issues and more importantly
|
| 109 |
fix building with a recent toolchain.
|
| 110 |
- Fix some further 64 bit issues
|
| 111 |
- Remove static lib
|
| 112 |
- Add --disable-dependency-tracking, touch config.h.in to fix the timestamp
|
| 113 |
instead of BR: automake, autoconf
|
| 114 |
- Mark asm files as NOT needing execstack, making us OK with new default
|
| 115 |
SELinux targeted policy settings.
|
| 116 |
|
| 117 |
* Sun Jul 02 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
| 118 |
- 1.3.3-10
|
| 119 |
- rebuilt for devel, for upgrade path
|
| 120 |
|
| 121 |
* Sun Mar 05 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
| 122 |
- 1.3.3-9
|
| 123 |
- rebuilt for FE5
|
| 124 |
|
| 125 |
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.3.3-8
|
| 126 |
- rebuild on all arches
|
| 127 |
|
| 128 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
| 129 |
- rebuilt
|
| 130 |
|
| 131 |
* Thu Dec 04 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
| 132 |
- 0:1.3.3-o.fdr.6: remove commented parts from scriplets
|
| 133 |
|
| 134 |
* Sun Sep 07 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
| 135 |
- 0:1.3.3-0.fdr.5: put back epochs, change download URL
|
| 136 |
|
| 137 |
* Fri Jul 18 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
| 138 |
- 1.3.3-0.fdr.4: remove epoch business
|
| 139 |
|
| 140 |
* Sat Jul 05 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
| 141 |
- 0:1.3.3-0.fdr.3: merged spec files
|
| 142 |
|
| 143 |
* Sat May 10 2003 Dams <anvil[AT]livna.org> 0:1.3.3-0.fdr.2
|
| 144 |
- buildroot -> RPM_BUILD_ROOT
|
| 145 |
- use tar.bz2 instead of tar.gz
|