]> git.pld-linux.org Git - packages/aalib.git/blob - aalib.spec
kupa drobnych poprawek (teraz te pakiety buduja sie poprawnie)
[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:        8
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
81 make
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85 make install prefix=$RPM_BUILD_ROOT/%{_prefix} \
86         bindir=$RPM_BUILD_ROOT/%{_bindir} \
87         libdir=$RPM_BUILD_ROOT/%{_libdir} \
88         infodir=$RPM_BUILD_ROOT/%{_infodir} \
89         includedir=$RPM_BUILD_ROOT/%{_includedir}
90
91 strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so.*.*}
92
93 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info \
94         README NEWS AUTHORS ANNOUNCE ChangeLog
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %post devel
100 /sbin/install-info %{_infodir}/aalib.info.gz /etc/info-dir
101
102 %preun devel
103 if [ "$1" = "0" ]; then
104         /sbin/install-info --delete %{_infodir}/aalib.info.gz /etc/info-dir
105 fi
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %files
111 %attr(755,root,root) %{_libdir}/lib*.so.*.*
112
113 %files devel
114 %defattr(644,root,root,755)
115 %doc {README,NEWS,AUTHORS,ANNOUNCE,ChangeLog}.gz
116 %{_includedir}/*.h
117 %{_libdir}/lib*.so
118 %{_infodir}/*.info.gz
119
120 %files static
121 %attr(644,root,root) %{_libdir}/lib*.a
122
123 %files progs
124 %attr(755,root,root) %{_bindir}/*
125
126 %changelog
127 * Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
128   [1.2-8]
129 - spec cleanup
130
131 * Mon Apr  5 1999 Piotr Czerwiñski <pius@pld.org.pl>
132   [1.2-7]
133 - added Group(pl),
134 - fixed info entry (aalib-info.patch), 
135 - fixed @xref definitions in aalib.texinfo (aalib-xref.patch),
136 - standarized {un}registering info pages,
137 - added gzipping documentation,
138 - added ChangeLog to %doc,
139 - cosmetic changes for common l&f.
140
141 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
142   [1.2-6]
143 - added pl translation.
144
145 * Fri Aug 28 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
146   [1.2-5]
147 - corected dependences in static "Requires: %%{name}-devel = %%{version}",
148 - removed "Prereq: /sbin/install-info" from static,
149 - aalib is now builded against libslang.so.1.
150
151 * Thu Jun 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
152   [1.2-5]
153 - recompiled on system without ncurses (only slang).
154 - added static subpackage,
155 - all %doc moved to devel.
156
157 * Mon Jun  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
158   [1.2-4]
159 - added -q %setup parameter,
160 - built against ncurses 4.2 (for RH 5.1).
161
162 * Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
163   [1.2-3]
164 - %%{version} macro instead %%{PACKAGE_VERSION},
165 - added using %%{name} macro in Buildroot and Source field,
166 - added -q %setup parameter.
167
168 * Thu Apr 21 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
169   [1.2-2]
170 - spec file rewrited for using Buildroot,
171 - info pages moved to devel,
172 - added "Requires: aalib = %%{PACKAGE_VERSION}" for devel header,
173 - added %clean section,
174 - added URL,
175 - added stripping programs and AA shared library,
176 - added usung $RPM_OPT_FLAGS in CFLAGS during compiling, 
177 - Copyright satment changed to LGPL,
178 - removed COPYING from %doc (Copyright satment is in header),
179 - addec "Prereq: /sbin/install-info" for devel subpackage",
180 - added %%{version} to Source url,
181 - added %defattr and %attr macros in %files (allows building package from
182   non-root account); %defattr requires rpm >= 2.4.99.
183
184 * Sun Mar  8 1998 ??? <root@pentium.home.cz>
185   [1.2-1]
186 - first release in rpm packages.
This page took 0.038713 seconds and 4 git commands to generate.