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