]> git.pld-linux.org Git - packages/aalib.git/blob - aalib.spec
s/%{_target}/%{_target_platform}/
[packages/aalib.git] / aalib.spec
1 Summary:     An ASCII art GFX library
2 Summary(pl): Biblioteka GFX sztuki w ASCII
3 Name:        aalib
4 Version:     1.2
5 Release:     7
6 Copyright:   LGPL
7 Group:       Libraries
8 Group(pl):   Biblioteki
9 Source:      ftp://ftp.ta.jcu.cz/pub/aa/%{name}-%{version}.tar.gz
10 Patch0:      aalib-xref.patch
11 Patch1:      aalib-info.patch
12 URL:         http://horac.ta.jcu.cz/aa/aalib/
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %description
16 AA-lib is a low level gfx library just as many other libraries are.
17 The main difference is that AA-lib does not require graphics device. In
18 fact, there is no graphical output possible. AA-lib replaces those
19 old-fashioned output methods with powerful ascii-art renderer. Now my
20 linux boots with a nice penguin logo at secondary display (yes! Like
21 Win95 does:) AA-lib API is designed to be similar to other graphics
22 libraries. Learning a new API would be a piece of cake!
23
24 %description -l pl
25 AA-lib jest niskopoziomow± bibliotek± gfx podobnie jak wiele innych bibliotek.
26 G³ówna ró¿nica pomiêdzy nimi jest taka, ¿e AA-lib nie wymaga trybu graficznego.
27 W³a¶ciwie nie ma mo¿liwo¶ci wy¶wietlenia czego¶ w trybie graficznym. AA-lib
28 zastêpuje te staromodne metody wysoko wydajnym narzêdziem do renderowania
29 ascii-art. Teraz mój linux startuje z ³adnym logo pingwina na drugim monitorze.
30 AA-lib API jest zaprojektowane tak by byæ podobnym do innych graficznych
31 bibliotek. Nauka nowego API bêdzie bu³k± z mas³em!
32
33 %package devel
34 Summary:     Header files libraries for aalib
35 Summary(pl): Pliki nag³ówkowe dla aalib
36 Group:       Libraries
37 Group(pl):   Biblioteki
38 Requires:    %{name} = %{version}
39 Prereq:      /sbin/install-info
40
41 %description devel
42 The header files for development of programs using the AAlib.
43
44 %description -l pl devel
45 Pliki nag³ówkowe do pisania programów u¿ywaj±cych AAlib.
46
47 %package static
48 Summary:     Static aalib library
49 Summary(pl): Statyczna biblioteka aalib
50 Group:       Libraries
51 Group(pl):   Biblioteki
52 Requires:    %{name}-devel = %{version}
53
54 %description static
55 Static aalib library.
56
57 %description -l pl static
58 Statyczna biblioteka aalib.
59
60 %package progs
61 Summary:     AA-lib tools
62 Summary(pl): Narzêdzia AA-lib
63 Group:       Utilities/Terminal
64 Group(pl):   Narzêdzia/Terminal
65 Requires:    %{name} = %{version}
66
67 %description progs
68 AA-lib tools.
69
70 %description -l pl progs
71 Narzêdzia AA-lib.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76 %patch1 -p1
77
78 %build
79 CFLAGS="$RPM_OPT_FLAGS" \
80 ./configure %{_target_platform} \
81         --prefix=/usr 
82 make
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86 make install prefix=$RPM_BUILD_ROOT/usr
87
88 strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so.*.*}
89
90 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info \
91         README NEWS AUTHORS ANNOUNCE ChangeLog
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %post devel
97 /sbin/install-info %{_infodir}/aalib.info.gz /etc/info-dir
98
99 %preun devel
100 if [ "$1" = "0" ]; then
101         /sbin/install-info --delete %{_infodir}/aalib.info.gz /etc/info-dir
102 fi
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files
108 %attr(755,root,root) %{_libdir}/lib*.so.*.*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %doc {README,NEWS,AUTHORS,ANNOUNCE,ChangeLog}.gz
113 %{_includedir}/*.h
114 %{_libdir}/lib*.so
115 %{_infodir}/*.info.gz
116
117 %files static
118 %attr(644,root,root) %{_libdir}/lib*.a
119
120 %files progs
121 %attr(755,root,root) %{_bindir}/*
122
123 %changelog
124 * Mon Apr  5 1999 Piotr Czerwiñski <pius@pld.org.pl>
125   [1.2-7]
126 - added Group(pl),
127 - fixed info entry (aalib-info.patch), 
128 - fixed @xref definitions in aalib.texinfo (aalib-xref.patch),
129 - standarized {un}registering info pages,
130 - added gzipping documentation,
131 - added ChangeLog to %doc,
132 - cosmetic changes for common l&f.
133
134 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
135   [1.2-6]
136 - added pl translation.
137
138 * Fri Aug 28 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
139   [1.2-5]
140 - corected dependences in static "Requires: %%{name}-devel = %%{version}",
141 - removed "Prereq: /sbin/install-info" from static,
142 - aalib is now builded against libslang.so.1.
143
144 * Thu Jun 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
145   [1.2-5]
146 - recompiled on system without ncurses (only slang).
147 - added static subpackage,
148 - all %doc moved to devel.
149
150 * Mon Jun  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
151   [1.2-4]
152 - added -q %setup parameter,
153 - built against ncurses 4.2 (for RH 5.1).
154
155 * Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
156   [1.2-3]
157 - %%{version} macro instead %%{PACKAGE_VERSION},
158 - added using %%{name} macro in Buildroot and Source field,
159 - added -q %setup parameter.
160
161 * Thu Apr 21 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
162   [1.2-2]
163 - spec file rewrited for using Buildroot,
164 - info pages moved to devel,
165 - added "Requires: aalib = %%{PACKAGE_VERSION}" for devel header,
166 - added %clean section,
167 - added URL,
168 - added stripping programs and AA shared library,
169 - added usung $RPM_OPT_FLAGS in CFLAGS during compiling, 
170 - Copyright satment changed to LGPL,
171 - removed COPYING from %doc (Copyright satment is in header),
172 - addec "Prereq: /sbin/install-info" for devel subpackage",
173 - added %%{version} to Source url,
174 - added %defattr and %attr macros in %files (allows building package from
175   non-root account); %defattr requires rpm >= 2.4.99.
176
177 * Sun Mar  8 1998 ??? <root@pentium.home.cz>
178   [1.2-1]
179 - first release in rpm packages.
This page took 0.049475 seconds and 4 git commands to generate.