source: projects/specs/trunk/a/aalib/aalib-vl.spec @ 3069

Revision 3069, 4.5 KB checked in by inagaki, 13 years ago (diff)

update: aalib, cyrus-sasl, cyrus-imapd, pcre, slang

Line 
1Summary: An ASCII art library.
2Summary(ja): ASCII アートライブラリ
3Name: aalib
4Version: 1.4
5Release: 0.rc5.5%{?_dist_release}
6Group: System Environment/Libraries
7License: LGPL
8URL: http://aa-project.sourceforge.net/aalib/
9Source: http://prdownloads.sourceforge.net/aa-project/%{name}-%{version}rc5.tar.gz
10Patch0: %{name}-aclocal.patch
11Patch1: %{name}-config-rpath.patch
12Patch2: aalib-1.4rc5-bug149361.patch
13Patch10: aalib-1.4.0-without-gpm.patch
14
15Buildroot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: slang-devel
17BuildRequires: libX11-devel
18BuildRequires: ncurses-devel
19
20%description
21AA-lib is a low level gfx library just as many other libraries are. The
22main difference is that AA-lib does not require graphics device. In
23fact, there is no graphical output possible. AA-lib replaces those
24old-fashioned output methods with a powerful ASCII art renderer. The API
25is designed to be similar to other graphics libraries.
26
27%description -l ja
28AA-lib は他のライブラリと同様な低レベルのグラフィックスライブラリです。
29AA-lib の一番の特徴はグラフィックデバイスを必要としない点です。実際の所、
30グラフィカルな出力先が無くても動作します。AA-lib はこれらの昔ながらの
31出力方法をパワフルな ACSCII アートレンダラで置き換えます。この API は
32その他のグラフィックライブラリと同じようにデザインされています。
33
34%package devel
35Summary: aalib development files
36Summary(ja): aalib の開発用ファイル
37Group: Development/Libraries
38Requires: %{name} = %{version}
39Requires: libX11-devel
40Requires: slang-devel
41Requires: ncurses-devel
42Requires(post): /sbin/install-info
43Requires(preun): /sbin/install-info
44
45%description devel
46This package contains header files and other files needed to develop
47with aalib.
48
49%description devel -l ja
50このパッケージには aalib を使用して開発するために必要なヘッダファイルや
51その他のファイルが含まれています。
52
53
54%prep
55%setup -q -n %{name}-1.4.0
56
57%patch0 -p0
58%patch1 -p0
59%patch2 -p1 -b .bug149361
60%patch10 -p1 -b .without-gpm
61
62%build
63autoreconf -fi
64%configure --with-x \
65    --with-curses-driver=yes \
66    --with-ncurses \
67    --with-gpm-mouse=no
68make LIBTOOL=/usr/bin/libtool
69
70%install
71rm -rf $RPM_BUILD_ROOT
72%makeinstall LIBTOOL=/usr/bin/libtool
73rm -f $RPM_BUILD_ROOT/%{_infodir}/dir || :
74rm -f $RPM_BUILD_ROOT/%{_libdir}/libaa.{a,la} || :
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80
81%postun -p /sbin/ldconfig
82
83%post devel
84if [ -e %{_infodir}/libaa.info.gz ]; then
85        /sbin/install-info %{_infodir}/libaa.info.gz %{_infodir}/dir
86fi
87
88%preun devel
89if [ -e %{_infodir}/libaa.info.gz ]; then
90        /sbin/install-info --delete %{_infodir}/libaa.info.gz %{_infodir}/dir
91fi
92
93%files
94%defattr(-, root, root)
95%doc ANNOUNCE AUTHORS COPYING ChangeLog NEWS
96%{_bindir}/aafire
97%{_bindir}/aainfo
98%{_bindir}/aasavefont
99%{_bindir}/aatest
100%{_libdir}/*.so.*
101%{_mandir}/man1/*
102
103%files devel
104%defattr(-, root, root)
105%{_bindir}/aalib-config
106%{_libdir}/*.so
107%{_includedir}/*.h
108%{_datadir}/aclocal/*.m4
109%{_infodir}/aalib.info*
110%{_mandir}/man3/*
111
112%changelog
113* Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0.rc5.5
114- rebuilt with new toolchains
115
116* Wed May 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0.rc5.4
117- remove static library
118- build without gpm
119  - add BuildConflicts: gpm-libs
120
121* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0.rc5.3
122- spec in utf-8
123
124* Thu Jun 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0.rc5.2
125- rebuilt with slang 2.1.3, xorg-x11 7.3
126- updated dependancies
127
128* Sun Apr 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4-0.rc5.1
129- rebuild with new toolchain.
130- apply new versioning policy.
131
132* Mon Jun 18 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4-0.rc5vl3
133- rebuild with new toolchain.
134- add japanese summary and description.
135- delete libtool library (.la) files. <BTS:VineLinux:506>
136
137* Sat Sep 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0.rc5vl2
138- add BuildRequires: ncurses-devel
139- add Requires: ncurses-devel (devel package)
140
141* Thu Sep 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0.rc5vl1
142- new upstream release
143- added Patch0,1,2 from Fedora
144  * Fri Jul  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
145  - fix missing return value (#149361)
146  * Fri Jul 16 2004 Ville Skytt辰 <ville.skytta at iki.fi>
147  - Fix underquoted definition in aalib.m4 to appease aclocal >= 1.8.
148  - Avoid rpath in aalib-config.
149
150* Sat Jan 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0vl0.rc4
151- initial build
152
Note: See TracBrowser for help on using the repository browser.