]> git.pld-linux.org Git - packages/fudgefont.git/blob - fudgefont.spec
- oops, stupid mistake, reversed
[packages/fudgefont.git] / fudgefont.spec
1 # TODO:
2 # - optflags (by killing scons?)
3 # - build examples and add them to main package
4
5 Summary:        Fudges TTF fonts into Allegro
6 Summary(pl.UTF-8):      Umieszczanie fontów TTF w Allegro
7 Name:           fudgefont
8 Version:        1.2
9 Release:        0.1
10 License:        MIT
11 Group:          Applications
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
18 BuildRequires:  p7zip
19 BuildRequires:  scons
20 BuildRequires:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Yet another TTF addon for Allegro - but smaller than all others and
25 with full Unicode and AllegroGL support.
26
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.
30
31 %package devel
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}
36
37 %description devel
38 Header files for fudgefont library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki fudgefont.
42
43 %prep
44 %setup -q -c -T -n %{name}-%{version}-src
45 7z x -o.. %{SOURCE0}
46 %patch0 -p1
47
48 %build
49 scons
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
54
55 install libfudgefont.so $RPM_BUILD_ROOT%{_libdir}
56 install src/fudgefont.h $RPM_BUILD_ROOT%{_includedir}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_libdir}/libfudgefont.so
64
65 %files devel
66 %defattr(644,root,root,755)
67 %{_includedir}/fudgefont.h
This page took 0.068955 seconds and 3 git commands to generate.