Ignore:
Timestamp:
Jan 4, 2004, 12:15:48 AM (16 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac NEWS: + Prepared the 0.6 release.
  • libcaca.spec: + Split the RPM into libcaca-devel and caca-utils. + More detailed descriptions. + Packages are now rpmlint clean.
  • doc/Makefile.am: + Symlink cacafire.1 to cacademo.1 upon manpage installation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/libcaca.spec

    r301 r310  
    11%define name  libcaca
    2 %define version 0.5
     2%define version 0.6
    33%define release 1
    44
    5 Summary: render images on text terminals
    65Name: %{name}
    76Version: %{version}
    87Release: %{release}
    9 Source0: %{name}-%{version}.tar.bz2
    10 Copyright: GPL
    11 Group: System Environment/Libs
     8URL: http://sam.zoy.org/projects/libcaca/
     9Source: http://sam.zoy.org/projects/libcaca/%{name}-%{version}.tar.bz2
     10License: GPL
     11Group: System/Libraries
     12Packager: Sam Hocevar (RPM packages) <sam+rpm@zoy.org>
    1213BuildRoot: %{_tmppath}/%{name}-buildroot
    1314Prefix: %{_prefix}
    14 #URL:
     15Buildrequires: XFree86-devel, ncurses-devel >= 5, slang-devel
     16Buildrequires: imlib2-devel
     17Buildrequires: doxygen, tetex-latex
    1518
     19Summary: Text mode graphics library
     20%description
     21libcaca is the Colour AsCii Art library. It provides high level functions
     22for colour text drawing, simple primitives for line, polygon and ellipse
     23drawing, as well as powerful image to text conversion routines.
    1624
    17 %description
     25%package -n %{name}-devel
     26Summary: Development files for libcaca
     27Group: Development/C
     28Requires: XFree86-devel, ncurses-devel >= 5, slang-devel
     29Provides: %{name}-devel = %{version}-%{release}
     30%description -n %{name}-devel
     31libcaca is the Colour AsCii Art library. It provides high level functions
     32for colour text drawing, simple primitives for line, polygon and ellipse
     33drawing, as well as powerful image to text conversion routines.
    1834
    19 library and viewer to render images on text terminals
     35This package contains the header files and static libraries needed to
     36compile applications or shared objects that use libcaca.
     37
     38%package -n caca-utils
     39Summary: Text mode graphics utilities
     40Group: Graphics
     41%description -n caca-utils
     42This package contains utilities and demonstration programs for libcaca, the
     43Colour AsCii Art library.
     44
     45cacaview is a simple image viewer for the terminal. It opens most image
     46formats such as JPEG, PNG, GIF etc. and renders them on the terminal using
     47ASCII art. The user can zoom and scroll the image, set the dithering method
     48or enable anti-aliasing.
     49
     50cacafire is a port of AALib's aafire and displays burning ASCII art flames.
     51
     52cacademo is a simple application that shows the libcaca rendering features
     53such as line and ellipses drawing, triangle filling, and sprite blitting.
     54
     55caca-spritedit is a simple sprite viewer for libcaca.
    2056
    2157%prep
    22 
    2358case "${RPM_COMMAND:-all}" in
    2459all)
     
    2762
    2863%build
    29 
    3064case "${RPM_COMMAND:-all}" in
    3165all)
    32 #export CFLAGS="$RPM_OPT_FLAGS -O1 -g"
    33 #./configure --prefix=%{prefix}
    34 
    35 %configure  --enable-x11 --enable-imlib
    36 
     66./configure --prefix=%{_prefix} \
     67  --libdir=%{_libdir} \
     68  --bindir=\${prefix}/bin \
     69  --mandir=\${prefix}/share/man \
     70  --infodir=\${prefix}/share/info \
     71  --enable-slang --enable-ncurses --enable-x11 --enable-imlib2
    3772;;esac
    38 
    3973make
    4074
    4175%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 
     76rm -rf %{buildroot}
    4777%makeinstall
     78mv %{buildroot}/%{_prefix}/share/doc/libcaca-dev %{buildroot}/%{_prefix}/share/doc/libcaca-devel
     79mkdir %{buildroot}/%{_prefix}/share/doc/caca-utils
     80cp `find %{buildroot}/%{_prefix}/share/doc/libcaca-devel/ -name '[A-Z]*'` %{buildroot}/%{_prefix}/share/doc/caca-utils/
    4881
    4982%clean
    50 rm -rf $RPM_BUILD_ROOT
     83rm -rf %{buildroot}
    5184
    52 %files
     85%files -n %{name}-devel
    5386%defattr(-,root,root)
    54 %doc COPYING README TODO
    55 %{_prefix}/*
     87%{_libdir}/*
     88%{_prefix}/bin/caca-config
     89%{_prefix}/include/*
     90%{_prefix}/share/doc/libcaca-devel/*
     91%{_prefix}/share/man/man1/caca-config.1*
     92%{_prefix}/share/man/man3/*
     93
     94%files -n caca-utils
     95%defattr(-,root,root)
     96%{_prefix}/bin/cacademo
     97%{_prefix}/bin/cacafire
     98%{_prefix}/bin/cacaview
     99%{_prefix}/bin/caca-spritedit
     100%{_prefix}/share/doc/caca-utils/*
     101%{_prefix}/share/libcaca/*
     102%{_prefix}/share/man/man1/cacademo.1*
     103%{_prefix}/share/man/man1/cacafire.1*
     104%{_prefix}/share/man/man1/cacaview.1*
     105%{_prefix}/share/man/man1/caca-spritedit.1*
    56106
    57107%changelog
     108* Sat Jan 3 2004 Sam Hocevar (RPM packages) <sam+rpm@zoy.org> 0.6-1
     109- new release
     110
    58111* Mon Dec 29 2003 Richard Zidlicky <rz@linux-m68k.org> 0.5-1
    59112- created specfile
Note: See TracChangeset for help on using the changeset viewer.