libosip.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Summary: The GNU oSIP library
  2. Summary(pl): Biblioteka GNU oSIP
  3. Name: libosip2
  4. Version: 4.1.0
  5. Release: 1
  6. License: LGPL
  7. Group: Development/Libraries
  8. Source0: ftp://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz
  9. URL: http://www.gnu.org/software/osip/osip.html
  10. BuildRequires: autoconf
  11. BuildRequires: automake
  12. BuildRequires: libtool
  13. BuildRoot: /tmpdir/%{name}-%{version}-root-%(id -u -n)
  14. %description
  15. This is "the GNU oSIP library". It has been designed to provide
  16. the Internet Community a simple way to support the Session Initiation
  17. Protocol. SIP is described in the RFC3261 which is available at
  18. http://www.ietf.org/rfc/rfc3261.txt.
  19. %description -l pl
  20. To jest biblioteka GNU oSIP. Zosta³a zaprojektowana, aby
  21. dostarczyæ Spo³eczno¶ci Internetowej prost± obs³ugê protoko³u SIP.
  22. Protokó³ SIP (Session Initiation Protocol) jest opisany w RFC3261.
  23. %package devel
  24. Summary: The GNU oSIP library - development files
  25. Summary(pl): Pliki dla programistów u¿ywaj±cych GNU oSIP
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}
  28. %description devel
  29. Development files for the GNU oSIP library.
  30. %description devel -l pl
  31. Pliki dla programistów u¿ywaj±cych biblioteki GNU oSIP.
  32. %package static
  33. Summary: The GNU oSIP library - static version
  34. Summary(pl): Statyczna biblioteka GNU oSIP
  35. Group: Development/Libraries
  36. Requires: %{name}-devel = %{version}
  37. %description static
  38. Static version of the GNU oSIP library.
  39. %description static -l pl
  40. Statyczna wersja biblioteki GNU oSIP.
  41. %prep
  42. %setup -q
  43. %build
  44. rm -f acinclude.m4
  45. %{__libtoolize}
  46. %{__aclocal} -I scripts
  47. %{__autoconf}
  48. %{__automake}
  49. %configure \
  50. --enable-pthread \
  51. --%{?debug:en}%{!?debug:dis}able-debug
  52. %{__make}
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. %{__make} install \
  56. DESTDIR=$RPM_BUILD_ROOT
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(644,root,root,755)
  63. %attr(755,root,root) %{_libdir}/lib*.so.*.*
  64. %files devel
  65. %defattr(644,root,root,755)
  66. %doc AUTHORS BUGS ChangeLog NEWS README TODO
  67. %attr(755,root,root) %{_libdir}/lib*.la
  68. %attr(755,root,root) %{_libdir}/lib*.so
  69. %{_includedir}/*
  70. %files static
  71. %defattr(644,root,root,755)
  72. %{_libdir}/lib*.a
  73. %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)