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