1 Star 0 Fork 7

bzg_repo/aalib

forked from src-openEuler/aalib 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
aalib.spec 2.27 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2020-12-03 20:28 . modify license
Name: aalib
Version: 1.4.0
Release: 2
Summary: An ASCII Art Library
License: GPL-2.0+
URL: http://aa-project.sourceforge.net/aalib/
Source0: http://download.sourceforge.net/aa-project/aalib-1.4rc5.tar.gz
# Fix missing return value
Patch0001: aalib-1.4rc5-bug149361.patch
BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel autoconf libtool
Provides: %{name}-libs = %{version}-%{release}
Obsoletes: %{name}-libs < %{version}-%{release}
%description
AA-lib is a low level gfx library just as many other libraries are. The main difference is that
AA-lib does not require graphics device. In fact, there is no graphical output possible. AA-lib
replaces those old-fashioned output methods with a powerful ASCII art renderer. The API is des-
igned to be similar to other graphics libraries.
%package devel
Summary: Development files for aalib
Requires: %{name} = %{version}-%{release}
Requires(post): info
Requires(postun): info
%description devel
This package contains header files and other files needed to develop with aalib.
%package help
Summary: Help documentation files for aalib
%description help
Help documentation files for aalib.
%prep
%autosetup -n aalib-%{version} -p1
autoreconf -v -f -i
%build
%configure --disable-static --with-curses-driver=yes --with-ncurses
%make_build
%install
%make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/libaa.la
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/aclocal/aalib.m4
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%post devel
/sbin/install-info %{_infodir}/libaa.info %{_infodir}/dir 2>/dev/null || :
%preun devel
if [ $1 -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/libaa.info %{_infodir}/dir 2>/dev/null || :
fi
%files
%doc README ChangeLog NEWS COPYING
%{_bindir}/{aafire,aainfo,aasavefont,aatest}
%{_libdir}/libaa.so.*
%files devel
%{_bindir}/aalib-config
%{_libdir}/libaa.so
%{_infodir}/aalib.info*
%{_datadir}/aclocal/aalib.m4
%{_includedir}/aalib.h
%files help
%{_mandir}/man1/aafire.1*
%{_mandir}/man3/*
%changelog
* Thu Dec 03 2020 Ge Wang <wangge20@huawei.com> - 1.4.0-2
- Modify license
* Wed Mar 04 2020 daiqianwen <daiqianwen@huawei.com> - 1.4.0-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/baizg1107/aalib.git
git@gitee.com:baizg1107/aalib.git
baizg1107
aalib
aalib
master

搜索帮助