|
|
b94896a |
Summary: Rendering of internationalized text for SDL (Simple DirectMedia Layer)
|
|
|
b94896a |
Name: SDL_Pango
|
|
|
b94896a |
Version: 0.1.2
|
|
|
573da09 |
Release: 4%{?dist}
|
|
|
b94896a |
License: LGPL
|
|
|
b94896a |
Group: System Environment/Libraries
|
|
|
b94896a |
URL: http://sdlpango.sourceforge.net/
|
|
|
b94896a |
Source0: http://dl.sf.net/sdlpango/SDL_Pango-%{version}.tar.gz
|
|
|
b94896a |
Source1: doxygen.png
|
|
|
b94896a |
Patch0: SDL_Pango-0.1.2-suppress-warning.patch
|
|
|
573da09 |
Patch1: SDL_Pango-0.1.2-API-adds.patch
|
|
|
b94896a |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
b94896a |
BuildRequires: pango-devel, SDL-devel, dos2unix
|
|
|
573da09 |
BuildRequires: autoconf, automake, libtool
|
|
|
b94896a |
|
|
|
b94896a |
%description
|
|
|
b94896a |
Pango is the text rendering engine of GNOME 2. SDL_Pango connects that engine
|
|
|
b94896a |
to SDL, the Simple DirectMedia Layer.
|
|
|
b94896a |
|
|
|
b94896a |
|
|
|
b94896a |
%package devel
|
|
|
b94896a |
Summary: Development files for SDL_pango
|
|
|
b94896a |
Group: Development/Libraries
|
|
|
b94896a |
Requires: %{name} = %{version}-%{release}, pango-devel, SDL-devel, pkgconfig
|
|
|
b94896a |
|
|
|
b94896a |
%description devel
|
|
|
b94896a |
Development files for SDL_pango.
|
|
|
b94896a |
|
|
|
b94896a |
|
|
|
b94896a |
%prep
|
|
|
b94896a |
%setup -q
|
|
|
b94896a |
%patch0 -p1 -b .suppress-warning
|
|
|
573da09 |
%patch1 -p1 -b .API-adds
|
|
|
b94896a |
# Clean up, we include the entire "docs/html" content for the devel package
|
|
|
b94896a |
%{__rm} -rf docs/html/CVS/
|
|
|
b94896a |
# Replace the corrupt doxygen.png file with a proper one
|
|
|
b94896a |
%{__install} -m 0644 -p %{SOURCE1} docs/html/doxygen.png
|
|
|
b94896a |
# Fix the (many) DOS encoded files, not *.png since they get corrupt
|
|
|
b94896a |
find . -not -name \*.png -type f -exec dos2unix -k {} \;
|
|
|
573da09 |
# For FC-5 x86_64 this is required, or the shared library doesn't get built
|
|
|
573da09 |
autoreconf
|
|
|
573da09 |
libtoolize --copy --force
|
|
|
b94896a |
|
|
|
b94896a |
|
|
|
b94896a |
%build
|
|
|
b94896a |
%configure
|
|
|
b94896a |
%{__make} %{?_smp_mflags}
|
|
|
b94896a |
|
|
|
b94896a |
|
|
|
b94896a |
%install
|
|
|
b94896a |
%{__rm} -rf %{buildroot}
|
|
|
b94896a |
%{__make} install DESTDIR=%{buildroot}
|
|
|
b94896a |
|
|
|
b94896a |
|
|
|
b94896a |
%clean
|
|
|
b94896a |
%{__rm} -rf %{buildroot}
|
|
|
b94896a |
|
|
|
b94896a |
|
|
|
b94896a |
%post -p /sbin/ldconfig
|
|
|
b94896a |
|
|
|
b94896a |
%postun -p /sbin/ldconfig
|
|
|
b94896a |
|
|
|
b94896a |
|
|
|
b94896a |
%files
|
|
|
b94896a |
%defattr(-, root, root, 0755)
|
|
|
b94896a |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
b94896a |
%{_libdir}/*.so.*
|
|
|
b94896a |
|
|
|
b94896a |
%files devel
|
|
|
b94896a |
%defattr(-, root, root, 0755)
|
|
|
b94896a |
%doc docs/html/*
|
|
|
b94896a |
%{_includedir}/SDL_Pango.h
|
|
|
b94896a |
%{_libdir}/pkgconfig/SDL_Pango.pc
|
|
|
b94896a |
%exclude %{_libdir}/*.a
|
|
|
b94896a |
%exclude %{_libdir}/*.la
|
|
|
b94896a |
%{_libdir}/*.so
|
|
|
b94896a |
|
|
|
b94896a |
|
|
|
b94896a |
%changelog
|
|
|
573da09 |
* Fri Sep 29 2006 Matthias Saou <http://freshrpms.net/> 0.1.2-4
|
|
|
573da09 |
- Add autoreconf and libtoolize calls since on FC5 x86_64 the shared library
|
|
|
573da09 |
isn't build otherwise.
|
|
|
573da09 |
- Add API-adds patch (submitted upstream), required for the only project known
|
|
|
573da09 |
to use SDL_Pango, so it does makes kind of sense...
|
|
|
573da09 |
|
|
|
b94896a |
* Tue Sep 26 2006 Matthias Saou <http://freshrpms.net/> 0.1.2-3
|
|
|
b94896a |
- Use dos2unix to convert all DOS encoded files.
|
|
|
b94896a |
- Replace the corrupt doxygen.png file with a proper one.
|
|
|
b94896a |
|
|
|
b94896a |
* Tue Sep 26 2006 Matthias Saou <http://freshrpms.net/> 0.1.2-2
|
|
|
b94896a |
- Change %%makeinstall to using DESTDIR, according to the guidelines.
|
|
|
b94896a |
- Include patch from Mamoru Tasaka to remove all compilation warnings.
|
|
|
b94896a |
|
|
|
b94896a |
* Fri Sep 22 2006 Matthias Saou <http://freshrpms.net/> 0.1.2-1
|
|
|
b94896a |
- Initial RPM release.
|
|
|
b94896a |
|