diff --git a/AUTHORS b/AUTHORS index 2675cf4..d65e36c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,3 +1,4 @@ $Id$ -Sam Hocevar +Sam Hocevar - main programmer + diff --git a/Makefile.am b/Makefile.am index 0f42698..a6d9eb4 100644 --- a/Makefile.am +++ b/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 diff --git a/THANKS b/THANKS new file mode 100644 index 0000000..eb0d257 --- /dev/null +++ b/THANKS @@ -0,0 +1,4 @@ +$Id$ + +Richard Zidlicky - rpm specfile + diff --git a/libcaca.spec b/libcaca.spec new file mode 100644 index 0000000..3c25b73 --- /dev/null +++ b/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 0.5-1 +- created specfile +