]> git.pld-linux.org Git - packages/aalib.git/blob - aalib.spec
- removed Prereq: /usr/sbin/fix-info-dir
[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:        12
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:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
49 %description devel
50 The header files for development of programs using the AAlib.
51
52 %description -l pl devel
53 Pliki nag³ówkowe do pisania programów u¿ywaj±cych AAlib.
54
55 %package static
56 Summary:        Static aalib library
57 Summary(pl):    Statyczna biblioteka aalib
58 Group:          Libraries
59 Group(pl):      Biblioteki
60 Requires:       %{name}-devel = %{version}
61
62 %description static
63 Static aalib library.
64
65 %description -l pl static
66 Statyczna biblioteka aalib.
67
68 %package progs
69 Summary:        AA-lib tools
70 Summary(pl):    Narzêdzia AA-lib
71 Group:          Utilities/Terminal
72 Group(pl):      Narzêdzia/Terminal
73 Requires:       %{name} = %{version}
74
75 %description progs
76 AA-lib tools.
77
78 %description -l pl progs
79 Narzêdzia AA-lib.
80
81 %prep
82 %setup -q
83 %patch0 -p1
84 %patch1 -p1
85 %patch2 -p1
86
87 %build
88 LDFLAGS="-s"; export LDFLAGS
89 automake
90 autoconf
91 %configure
92 make
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96 make install DESTDIR=$RPM_BUILD_ROOT
97
98 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
99
100 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info \
101         README NEWS AUTHORS ANNOUNCE ChangeLog
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %post devel
107 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
108
109 %postun devel
110 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %files
116 %attr(755,root,root) %{_libdir}/lib*.so.*.*
117
118 %files devel
119 %defattr(644,root,root,755)
120 %doc {README,NEWS,AUTHORS,ANNOUNCE,ChangeLog}.gz
121 %attr(755,root,root) %{_libdir}/lib*.so
122 %attr(755,root,root) %{_libdir}/lib*.la
123 %{_includedir}/*.h
124 %{_infodir}/*.info.gz
125
126 %files static
127 %attr(644,root,root) %{_libdir}/lib*.a
128
129 %files progs
130 %attr(755,root,root) %{_bindir}/*
This page took 0.065358 seconds and 4 git commands to generate.