浏览代码

* libcaca.spec:

+ RPM specfile, courtesy of Richard Zidlicky.
  * THANKS:
    + Added a THANKS file for contributors.
tags/v0.99.beta14
Sam Hocevar sam 21 年前
父节点
当前提交
db44056e86
共有 4 个文件被更改,包括 68 次插入3 次删除
  1. +2
    -1
      AUTHORS
  2. +2
    -2
      Makefile.am
  3. +4
    -0
      THANKS
  4. +60
    -0
      libcaca.spec

+ 2
- 1
AUTHORS 查看文件

@@ -1,3 +1,4 @@
$Id$

Sam Hocevar <sam@zoy.org>
Sam Hocevar <sam@zoy.org> - main programmer


+ 2
- 2
Makefile.am 查看文件

@@ -5,11 +5,11 @@
SUBDIRS = src examples test doc
DIST_SUBDIRS = $(SUBDIRS) autotools debian

EXTRA_DIST = BUGS NOTES bootstrap caca-config.in
EXTRA_DIST = BUGS NOTES bootstrap caca-config.in libcaca.spec
AUTOMAKE_OPTIONS = dist-bzip2

bin_SCRIPTS = caca-config

doc_DATA = README BUGS TODO AUTHORS NEWS NOTES
doc_DATA = README BUGS TODO AUTHORS NEWS NOTES THANKS
docdir = $(datadir)/doc/libcaca-dev


+ 4
- 0
THANKS 查看文件

@@ -0,0 +1,4 @@
$Id$

Richard Zidlicky <rz@linux-m68k.org> - rpm specfile


+ 60
- 0
libcaca.spec 查看文件

@@ -0,0 +1,60 @@
%define name libcaca
%define version 0.5
%define release 1

Summary: render images on text terminals
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
Copyright: GPL
Group: System Environment/Libs
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
#URL:


%description

library and viewer to render images on text terminals

%prep

case "${RPM_COMMAND:-all}" in
all)
%setup -q
;;esac

%build

case "${RPM_COMMAND:-all}" in
all)
#export CFLAGS="$RPM_OPT_FLAGS -O1 -g"
#./configure --prefix=%{prefix}

%configure --enable-x11 --enable-imlib

;;esac

make

%install

#install -d $RPM_BUILD_ROOT%{prefix}/bin
#install -d $RPM_BUILD_ROOT%{prefix}/man/man1
#make prefix=$RPM_BUILD_ROOT%{prefix} install

%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING README TODO
%{_prefix}/*

%changelog
* Mon Dec 29 2003 Richard Zidlicky <rz@linux-m68k.org> 0.5-1
- created specfile


正在加载...
取消
保存