source: libcaca/trunk/libcaca.spec @ 301

Last change on this file since 301 was 301, checked in by Sam Hocevar, 16 years ago
  • libcaca.spec: + RPM specfile, courtesy of Richard Zidlicky.
  • THANKS: + Added a THANKS file for contributors.
File size: 958 bytes
Line 
1%define name  libcaca
2%define version 0.5
3%define release 1
4
5Summary: render images on text terminals
6Name: %{name}
7Version: %{version}
8Release: %{release}
9Source0: %{name}-%{version}.tar.bz2
10Copyright: GPL
11Group: System Environment/Libs
12BuildRoot: %{_tmppath}/%{name}-buildroot
13Prefix: %{_prefix}
14#URL:
15
16
17%description
18
19library and viewer to render images on text terminals
20
21%prep
22
23case "${RPM_COMMAND:-all}" in
24all)
25%setup -q
26;;esac
27
28%build
29
30case "${RPM_COMMAND:-all}" in
31all)
32#export CFLAGS="$RPM_OPT_FLAGS -O1 -g"
33#./configure --prefix=%{prefix}
34
35%configure  --enable-x11 --enable-imlib
36
37;;esac
38
39make
40
41%install
42
43#install -d $RPM_BUILD_ROOT%{prefix}/bin
44#install -d $RPM_BUILD_ROOT%{prefix}/man/man1
45#make prefix=$RPM_BUILD_ROOT%{prefix} install
46
47%makeinstall
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(-,root,root)
54%doc COPYING README TODO
55%{_prefix}/*
56
57%changelog
58* Mon Dec 29 2003 Richard Zidlicky <rz@linux-m68k.org> 0.5-1
59- created specfile
60
Note: See TracBrowser for help on using the repository browser.