]> git.pld-linux.org Git - packages/aalib.git/blob - aalib.spec
- recompiled on system without ncurses (only slang).
[packages/aalib.git] / aalib.spec
1 Summary:   An ASCII art GFX library
2 Name:      aalib
3 Version:   1.2
4 Release:   5
5 Copyright: LGPL
6 Group:     Libraries
7 Source:    ftp://ftp.ta.jcu.cz/pub/aa/%{name}-%{version}.tar.gz
8 URL:       http://horac.ta.jcu.cz/aa/aalib/
9 Buildroot: /tmp/%{name}-%{version}-root
10
11 %description
12 AA-lib is a low level gfx library just as many other libraries are.
13 The main difference is that AA-lib does not require graphics device. In
14 fact, there is no graphical output possible. AA-lib replaces those
15 old-fashioned output methods with powerful ascii-art renderer. Now my
16 linux boots with a nice penguin logo at secondary display (yes! Like
17 Win95 does:) AA-lib API is designed to be similar to other graphics
18 libraries. Learning a new API would be a piece of cake!
19
20 %package   devel
21 Summary:   header files libraries for aalib
22 Group:     Libraries
23 Requires:  aalib = %{version}
24 Prereq:    /sbin/install-info
25
26 %description devel
27 The header files for development of programs using the AAlib.
28
29 %package   static
30 Summary:   Static aalib library
31 Group:     Libraries
32 Requires:  aalib = %{version}
33 Prereq:    /sbin/install-info
34
35 %description static
36 Static aalib library.
37
38 %package   progs
39 Summary:   AA-lib tools
40 Requires:  aalib = %{version}
41 Group:     Utilities/Terminal
42
43 %description progs
44 AA-lib tools
45
46 %prep
47 %setup -q
48
49 %build
50 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
51 make
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 make install prefix=$RPM_BUILD_ROOT/usr
56 gzip -9fn $RPM_BUILD_ROOT/usr/info/*.info
57
58 strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so.*.*}
59
60 %post   -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
62
63 %post devel
64 /sbin/install-info --info-dir=/usr/info /usr/info/aalib.info.gz
65
66 %preun devel
67 /sbin/install-info --delete --info-dir=/usr/info /usr/info/aalib.info.gz
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %attr(755, root, root) /usr/lib/lib*.so.*.*
74
75 %files devel
76 %defattr(644, root, root, 755)
77 %doc README NEWS AUTHORS ANNOUNCE
78 /usr/include/*.h
79 /usr/lib/lib*.so
80 /usr/info/*.info.gz
81
82 %files static
83 %attr(644, root, root) /usr/lib/lib*.a
84
85 %files progs
86 %attr(755, root, root) /usr/bin/*
87
88 %changelog
89 * Thu Jun 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
90   [1.2-5]
91 - recompiled on system without ncurses (only slang).
92 - added static subpackage,
93 - all %doc moved to devel.
94
95 * Mon Jun  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
96   [1.2-4]
97 - added -q %setup parameter,
98 - built against ncurses 4.2 (for RH 5.1).
99
100 * Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
101   [1.2-3]
102 - %%{version} macro instead %%{PACKAGE_VERSION},
103 - added using %%{name} macro in Buildroot and Source field,
104 - added -q %setup parameter.
105
106 * Thu Apr 21 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
107   [1.2-2]
108 - spec file rewrited for using Buildroot,
109 - info pages moved to devel,
110 - added "Requires: aalib = %%{PACKAGE_VERSION}" for devel header,
111 - added %clean section,
112 - added URL,
113 - added striping programs and AA shared library,
114 - added usung $RPM_OPT_FLAGS in CFLAGS during compiling, 
115 - Copyright satment changed to LGPL,
116 - removed COPYING from %doc (Copyright satment is in header),
117 - addec "Prereq: /sbin/install-info" for devel subpackage",
118 - added %%{version} to Source url,
119 - added %defattr and %attr macros in %files (allows building package from
120   non-root account); %defattr requires rpm >= 2.4.99.
121
122 * Sun Mar  8 1998 ??? <root@pentium.home.cz>
123   [1.2-1]
124 - first release in rpm packages.
This page took 0.104603 seconds and 4 git commands to generate.