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