]> git.pld-linux.org Git - packages/aalib.git/blob - aalib.spec
- added using CVS keywords in %changelog (for automating them).
[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:        9
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 Patch2:         aalib-autoconf.patch
13 URL:            http://horac.ta.jcu.cz/aa/aalib/
14 BuildPrereq:    gpm-devel
15 BuildPrereq:    slang-devel
16 BuildPrereq:    XFree86-devel
17 BuildRoot:      /tmp/%{name}-%{version}-root
18
19 %description
20 AA-lib is a low level gfx library just as many other libraries are.
21 The main difference is that AA-lib does not require graphics device. In
22 fact, there is no graphical output possible. AA-lib replaces those
23 old-fashioned output methods with powerful ascii-art renderer. Now my
24 linux boots with a nice penguin logo at secondary display (yes! Like
25 Win95 does:) AA-lib API is designed to be similar to other graphics
26 libraries. Learning a new API would be a piece of cake!
27
28 %description -l pl
29 AA-lib jest niskopoziomow± bibliotek± gfx podobnie jak wiele innych bibliotek.
30 G³ówna ró¿nica pomiêdzy nimi jest taka, ¿e AA-lib nie wymaga trybu graficznego.
31 W³a¶ciwie nie ma mo¿liwo¶ci wy¶wietlenia czego¶ w trybie graficznym. AA-lib
32 zastêpuje te staromodne metody wysoko wydajnym narzêdziem do renderowania
33 ascii-art. Teraz mój linux startuje z ³adnym logo pingwina na drugim monitorze.
34 AA-lib API jest zaprojektowane tak by byæ podobnym do innych graficznych
35 bibliotek. Nauka nowego API bêdzie bu³k± z mas³em!
36
37 %package devel
38 Summary:        Header files libraries for aalib
39 Summary(pl):    Pliki nag³ówkowe dla aalib
40 Group:          Libraries
41 Group(pl):      Biblioteki
42 Requires:       %{name} = %{version}
43 Prereq:         /sbin/install-info
44
45 %description devel
46 The header files for development of programs using the AAlib.
47
48 %description -l pl devel
49 Pliki nag³ówkowe do pisania programów u¿ywaj±cych AAlib.
50
51 %package static
52 Summary:        Static aalib library
53 Summary(pl):    Statyczna biblioteka aalib
54 Group:          Libraries
55 Group(pl):      Biblioteki
56 Requires:       %{name}-devel = %{version}
57
58 %description static
59 Static aalib library.
60
61 %description -l pl static
62 Statyczna biblioteka aalib.
63
64 %package progs
65 Summary:     AA-lib tools
66 Summary(pl): Narzêdzia AA-lib
67 Group:       Utilities/Terminal
68 Group(pl):   Narzêdzia/Terminal
69 Requires:    %{name} = %{version}
70
71 %description progs
72 AA-lib tools.
73
74 %description -l pl progs
75 Narzêdzia AA-lib.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80 %patch1 -p1
81 %patch2 -p1
82
83 %build
84 LDFLAGS="-s"; export LDFLAGS
85 automake
86 autoconf
87 %configure
88 make
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 make install DESTDIR=$RPM_BUILD_ROOT
93
94 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
95
96 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info \
97         README NEWS AUTHORS ANNOUNCE ChangeLog
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %post devel
103 /sbin/install-info %{_infodir}/aalib.info.gz /etc/info-dir
104
105 %preun devel
106 if [ "$1" = "0" ]; then
107         /sbin/install-info --delete %{_infodir}/aalib.info.gz /etc/info-dir
108 fi
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %files
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %doc {README,NEWS,AUTHORS,ANNOUNCE,ChangeLog}.gz
119 %{_includedir}/*.h
120 %{_libdir}/lib*.so
121 %{_infodir}/*.info.gz
122
123 %files static
124 %attr(644,root,root) %{_libdir}/lib*.a
125
126 %files progs
127 %attr(755,root,root) %{_bindir}/*
This page took 0.056056 seconds and 3 git commands to generate.