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

Revision 8191, 4.6 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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