You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

61 lines
958 B

  1. %define name libcaca
  2. %define version 0.5
  3. %define release 1
  4. Summary: render images on text terminals
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Source0: %{name}-%{version}.tar.bz2
  9. Copyright: GPL
  10. Group: System Environment/Libs
  11. BuildRoot: %{_tmppath}/%{name}-buildroot
  12. Prefix: %{_prefix}
  13. #URL:
  14. %description
  15. library and viewer to render images on text terminals
  16. %prep
  17. case "${RPM_COMMAND:-all}" in
  18. all)
  19. %setup -q
  20. ;;esac
  21. %build
  22. case "${RPM_COMMAND:-all}" in
  23. all)
  24. #export CFLAGS="$RPM_OPT_FLAGS -O1 -g"
  25. #./configure --prefix=%{prefix}
  26. %configure --enable-x11 --enable-imlib
  27. ;;esac
  28. make
  29. %install
  30. #install -d $RPM_BUILD_ROOT%{prefix}/bin
  31. #install -d $RPM_BUILD_ROOT%{prefix}/man/man1
  32. #make prefix=$RPM_BUILD_ROOT%{prefix} install
  33. %makeinstall
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root)
  38. %doc COPYING README TODO
  39. %{_prefix}/*
  40. %changelog
  41. * Mon Dec 29 2003 Richard Zidlicky <rz@linux-m68k.org> 0.5-1
  42. - created specfile