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