xmlrpc-epi-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Summary: An implementation of the xmlrpc protocol in C
  2. Summary(ja): xmlrpc プロトコルの C による実装
  3. Name: xmlrpc-epi
  4. Version: 0.51
  5. Release: 1%{?_dist_release}
  6. Group: Development/Libraries
  7. License: BSD
  8. URL: http://xmlrpc-epi.sourceforge.net/
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. Source0: http://dl.sf.net/sourceforge/xmlrpc-epi/xmlrpc-epi-%{version}.tar.gz
  11. Patch0: xmlrpc-epi-0.51-gcc4.1.patch
  12. Patch1: xmlrpc-epi-0.51-use-system-expat.patch
  13. Patch2: xmlrpc-epi-0.51-rename.patch
  14. BuildRequires: expat-devel
  15. BuildRequires: libtool
  16. %description
  17. An implementation of the xmlrpc protocol in C.
  18. %package devel
  19. Summary: Development files for xmlrpc-epi
  20. Group: Development/Libraries
  21. Requires: xmlrpc-epi = %{version}-%{release}
  22. %description devel
  23. The xmlrpc-epi-devel package contains libraries and header files for
  24. developing applications that use xmlrpc-epi.
  25. %package examples
  26. Summary: Example xmlrpc-epi applications
  27. Group: Development/Libraries
  28. Requires: xmlrpc-epi = %{version}-%{release}
  29. %description examples
  30. Example xmlrpc-epi applications.
  31. %prep
  32. %setup -q
  33. %patch0 -p1
  34. %patch1 -p1
  35. %patch2 -p1
  36. # Previous two patches require we regenerate all autotools
  37. # As an extra bonus this also fixes the usual x86_64 libtool rpath problems
  38. libtoolize -c -f
  39. aclocal
  40. automake -c -a -f
  41. autoconf
  42. %build
  43. %configure --disable-static --includedir=%{_includedir}/xmlrpc-epi
  44. make %{?_smp_mflags}
  45. %install
  46. rm -rf %{buildroot}
  47. make install DESTDIR=%{buildroot}
  48. find %{buildroot}%{_libdir} -name '*.la' -exec rm -f {} ';'
  49. # compat links
  50. ln -sf libxmlrpc-epi.so %{buildroot}%{_libdir}/libxmlrpc.so
  51. %clean
  52. rm -rf %{buildroot}
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %defattr(-,root,root,-)
  57. %doc AUTHORS COPYING README
  58. %{_libdir}/libxmlrpc-epi.so.*
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %doc NEWS
  62. %{_includedir}/xmlrpc-epi
  63. %{_libdir}/libxmlrpc-epi.so
  64. %{_libdir}/libxmlrpc.so
  65. %files examples
  66. %defattr(-,root,root,-)
  67. %doc
  68. %{_bindir}/client
  69. %{_bindir}/hello_client
  70. %{_bindir}/hello_server
  71. %{_bindir}/memtest
  72. %{_bindir}/sample
  73. %{_bindir}/server
  74. %{_bindir}/server_compliance_test
  75. %changelog
  76. * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.51-1vl5
  77. - applied new versioning policy, spec in utf-8
  78. * Thu Feb 28 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.51-0vl2
  79. - rebuild with expat-2.0.1
  80. * Fri Jun 08 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl1
  81. - initial build for Vine Linux
  82. * Sat May 26 2007 Callum Lerwick <seg@haxxed.com> 0.51-3
  83. - Rename the library so we don't conflict with xmlrpc-c.
  84. * Tue Mar 13 2007 Callum Lerwick <seg@haxxed.com> 0.51-2
  85. - Ooops, the use-system-expat patch was completely broken. Fixed.
  86. * Sun Feb 04 2007 Callum Lerwick <seg@haxxed.com> 0.51-1
  87. - Initial packaging.