]> git.pld-linux.org Git - packages/aalib.git/blob - aalib.spec
- updated to 1.4rc5, updated URLs
[packages/aalib.git] / aalib.spec
1 Summary:        An ASCII art GFX library
2 Summary(fr):    Bibliothèque AA (Ascii Art)
3 Summary(pl):    Biblioteka graficzna ASCII Art
4 Name:           aalib
5 Version:        1.4rc5
6 Release:        1
7 License:        LGPL
8 Group:          Libraries
9 Group(de):      Libraries
10 Group(es):      Bibliotecas
11 Group(fr):      Librairies
12 Group(pl):      Biblioteki
13 Source0:        ftp://download.sourceforge.net/pub/sourceforge/aa-project/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-info.patch
15 URL:            http://aa-project.sourceforge.net/
16 BuildRequires:  gpm-devel
17 BuildRequires:  slang-devel
18 BuildRequires:  XFree86-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 AA-lib is a low level gfx library just as many other libraries are.
23 The main difference is that AA-lib does not require graphics device.
24 In fact, there is no graphical output possible. AA-lib replaces those
25 old-fashioned output methods with powerful ascii-art renderer. Now my
26 linux boots with a nice penguin logo at secondary display (yes! Like
27 Win95 does:) AA-lib API is designed to be similar to other graphics
28 libraries. Learning a new API would be a piece of cake!
29
30 %description -l fr
31 La bibliothèque AA est nécessaire pour GIMP. Elle offre la possibilité
32 de travailler dans des contextes graphiques sans affichage.
33
34 %description -l pl
35 AA-lib jest niskopoziomow± bibliotek± graficzn± podobnie jak wiele
36 innych bibliotek. G³ówna ró¿nica pomiêdzy nimi jest taka, ¿e AA-lib nie
37 wymaga trybu graficznego. W³a¶ciwie nie ma mo¿liwo¶ci wy¶wietlenia
38 czego¶ w trybie graficznym. AA-lib zastêpuje te staromodne metody
39 wysoko wydajnym narzêdziem do renderowania ascii-art. Teraz mój Linux
40 startuje z ³adnym logo pingwina na drugim monitorze. AA-lib API jest
41 zaprojektowane tak by byæ podobnym do innych graficznych bibliotek.
42 Nauka nowego API bêdzie bu³k± z mas³em!
43
44 %package devel
45 Summary:        Header files libraries for aalib
46 Summary(pl):    Pliki nag³ówkowe dla aalib
47 Group:          Libraries
48 Group(de):      Libraries
49 Group(es):      Bibliotecas
50 Group(fr):      Librairies
51 Group(pl):      Biblioteki
52 Requires:       %{name} = %{version}
53
54 %description devel
55 The header files for development of programs using the AAlib.
56
57 %description -l pl devel
58 Pliki nag³ówkowe do pisania programów u¿ywaj±cych AAlib.
59
60 %package static
61 Summary:        Static aalib library
62 Summary(pl):    Statyczna biblioteka aalib
63 Group:          Libraries
64 Group(de):      Libraries
65 Group(es):      Bibliotecas
66 Group(fr):      Librairies
67 Group(pl):      Biblioteki
68 Requires:       %{name}-devel = %{version}
69
70 %description static
71 Static aalib library.
72
73 %description -l pl static
74 Statyczna biblioteka aalib.
75
76 %package progs
77 Summary:        AA-lib tools
78 Summary(pl):    Narzêdzia AA-lib
79 Group:          Applications/Terminal
80 Group(de):      Applikationen/Terminal
81 Group(pl):      Aplikacje/Terminal
82 Requires:       %{name} = %{version}
83
84 %description progs
85 AA-lib tools.
86
87 %description -l pl progs
88 Narzêdzia AA-lib.
89
90 %prep
91 %setup -q -n %{name}-1.4.0
92 %patch0 -p1
93
94 %build
95 %configure
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 gzip -9nf README NEWS AUTHORS ANNOUNCE ChangeLog
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %post devel
110 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111
112 %postun devel
113 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %files
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/lib*.so.*.*
121
122 %files devel
123 %defattr(644,root,root,755)
124 %doc *.gz
125 %attr(755,root,root) %{_bindir}/aalib-config
126 %attr(755,root,root) %{_libdir}/lib*.so
127 %attr(755,root,root) %{_libdir}/lib*.la
128 %{_includedir}/*.h
129 %{_infodir}/*.info*
130 %{_mandir}/man3/*
131 %{_aclocaldir}/*.m4
132
133 %files static
134 %defattr(644,root,root,755)
135 %{_libdir}/lib*.a
136
137 %files progs
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_bindir}/aafire
140 %attr(755,root,root) %{_bindir}/aainfo
141 %attr(755,root,root) %{_bindir}/aasavefont
142 %attr(755,root,root) %{_bindir}/aatest
143 %{_mandir}/man1/*
This page took 0.044304 seconds and 4 git commands to generate.