]> git.pld-linux.org Git - packages/aalib.git/blob - aalib.spec
- corected dependences in static "Requires: %%{name}-devel = %%{version}",
[packages/aalib.git] / aalib.spec
1 Summary:   An ASCII art GFX library
2 Name:      aalib
3 Version:   1.2
4 Release:   6
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:  %{name}-devel = %{version}
33
34 %description static
35 Static aalib library.
36
37 %package   progs
38 Summary:   AA-lib tools
39 Requires:  %{name} = %{version}
40 Group:     Utilities/Terminal
41
42 %description progs
43 AA-lib tools
44
45 %prep
46 %setup -q
47
48 %build
49 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
50 make
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 make install prefix=$RPM_BUILD_ROOT/usr
55 gzip -9fn $RPM_BUILD_ROOT/usr/info/*.info
56
57 strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so.*.*}
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %post devel
63 /sbin/install-info --info-dir=/usr/info /usr/info/aalib.info.gz
64
65 %preun devel
66 /sbin/install-info --delete --info-dir=/usr/info /usr/info/aalib.info.gz
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %attr(755, root, root) /usr/lib/lib*.so.*.*
73
74 %files devel
75 %defattr(644, root, root, 755)
76 %doc README NEWS AUTHORS ANNOUNCE
77 /usr/include/*.h
78 /usr/lib/lib*.so
79 /usr/info/*.info.gz
80
81 %files static
82 %attr(644, root, root) /usr/lib/lib*.a
83
84 %files progs
85 %attr(755, root, root) /usr/bin/*
86
87 %changelog
88 * Fri Aug 28 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
89   [1.2-5]
90 - corected dependences in static "Requires: %%{name}-devel = %%{version}",
91 - removed "Prereq: /sbin/install-info" from static,
92 - aalib is now builded against libslang.so.1.
93
94 * Thu Jun 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
95   [1.2-5]
96 - recompiled on system without ncurses (only slang).
97 - added static subpackage,
98 - all %doc moved to devel.
99
100 * Mon Jun  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
101   [1.2-4]
102 - added -q %setup parameter,
103 - built against ncurses 4.2 (for RH 5.1).
104
105 * Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
106   [1.2-3]
107 - %%{version} macro instead %%{PACKAGE_VERSION},
108 - added using %%{name} macro in Buildroot and Source field,
109 - added -q %setup parameter.
110
111 * Thu Apr 21 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
112   [1.2-2]
113 - spec file rewrited for using Buildroot,
114 - info pages moved to devel,
115 - added "Requires: aalib = %%{PACKAGE_VERSION}" for devel header,
116 - added %clean section,
117 - added URL,
118 - added striping programs and AA shared library,
119 - added usung $RPM_OPT_FLAGS in CFLAGS during compiling, 
120 - Copyright satment changed to LGPL,
121 - removed COPYING from %doc (Copyright satment is in header),
122 - addec "Prereq: /sbin/install-info" for devel subpackage",
123 - added %%{version} to Source url,
124 - added %defattr and %attr macros in %files (allows building package from
125   non-root account); %defattr requires rpm >= 2.4.99.
126
127 * Sun Mar  8 1998 ??? <root@pentium.home.cz>
128   [1.2-1]
129 - first release in rpm packages.
This page took 0.051625 seconds and 4 git commands to generate.