log4c.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # $Id: log4c.spec.in,v 1.10 2013/03/24 22:09:20 valtri Exp $
  2. %define RELEASE 1
  3. %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
  4. %define _unpackaged_files_terminate_build 0
  5. Name: log4c
  6. Version: 1.2.4
  7. Release: %rel
  8. Summary: Log for C
  9. License: LGPLv2+
  10. Group: Development/Libraries
  11. Vendor: Cedric Le Goater <legoater@free.fr>
  12. Packager: Cedric Le Goater <legoater@free.fr>
  13. Url: http://%name.sourceforge.net/
  14. Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
  15. BuildRoot: %_topdir/%name-%version-root
  16. BuildRequires: doxygen
  17. Requires: /sbin/ldconfig
  18. %description
  19. %name is a Logging FrameWork for C, as Log4j or Log4Cpp.
  20. %package devel
  21. Summary: Development tools for %name
  22. Group: Development/Libraries
  23. Requires: %name = %version
  24. %package doc
  25. Summary: documentation for %name
  26. Group: Development/Libraries
  27. Requires: %name = %version
  28. %description devel
  29. The %name-devel package contains the static libraries and header files
  30. needed for development with %name.
  31. %description doc
  32. The %name-doc package contains the %name documentation
  33. %prep
  34. %setup -q
  35. %build
  36. %configure --enable-doc
  37. make
  38. %install
  39. rm -rf %{buildroot}
  40. %makeinstall
  41. rm %{buildroot}%{_libdir}/*.la
  42. %clean
  43. rm -rf %{buildroot}
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root)
  48. %doc AUTHORS COPYING ChangeLog NEWS README
  49. %{_sysconfdir}/*
  50. %{_libdir}/*.so.*
  51. %files devel
  52. %defattr(-,root,root)
  53. %{_bindir}/*
  54. %{_includedir}/*
  55. %{_libdir}/pkgconfig/*
  56. %{_libdir}/*.a
  57. %{_libdir}/*.so
  58. %{_datadir}/aclocal/*
  59. %{_mandir}/*/*
  60. %files doc
  61. %defattr(-,root,root)
  62. %doc doc/%{name}.pdf doc/html
  63. %changelog
  64. * Mon Feb 21 2002 Cedric Le Goater
  65. - Initial RPM release.
  66. # Local Variables:
  67. # mode:rpm-spec
  68. # End: