2 # - optflags (by killing scons?)
3 # - build examples and add them to main package
5 Summary: Fudges TTF fonts into Allegro
6 Summary(pl.UTF-8): Umieszczanie fontów TTF w Allegro
12 Source0: http://dl.sourceforge.net/fudgefont/%{name}-%{version}-src.7z
13 # Source0-md5: 57bbe9b92d4f25210f803db481eb0939
14 Patch0: %{name}-paths.patch
15 URL: http://fudgefont.sourceforge.net/
16 BuildRequires: allegro-devel
17 BuildRequires: freetype-devel
20 BuildRequires: zlib-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Yet another TTF addon for Allegro - but smaller than all others and
25 with full Unicode and AllegroGL support.
27 %description -l pl.UTF-8
28 Jeszcze jeden dodatek TTF dla Allegro - ale mniejszy od innych i z
29 pełną obsługą Unikodu i AllegroGL.
32 Summary: Header files for fudgefont library
33 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki fudgefont
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 Header files for fudgefont library.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki fudgefont.
44 %setup -q -c -T -n %{name}-%{version}-src
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
55 install libfudgefont.so $RPM_BUILD_ROOT%{_libdir}
56 install src/fudgefont.h $RPM_BUILD_ROOT%{_includedir}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_libdir}/libfudgefont.so
66 %defattr(644,root,root,755)
67 %{_includedir}/fudgefont.h