iksemel-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. Summary: An XML parser library designed for Jabber applications
  2. Summary(ja): Jabber アプリケーションのために設計された XML パーサ
  3. Name: iksemel
  4. Version: 1.3
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://code.google.com/p/iksemel/
  9. Source0: http://iksemel.googlecode.com/files/iksemel-%{version}.tar.gz
  10. Patch0: iksemel-gcrypt-sha.patch
  11. Patch1: iksemel-64bit.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: gnutls-devel > 2
  14. BuildRequires: libgcrypt-devel
  15. BuildRequires: autoconf
  16. BuildRequires: automake
  17. BuildRequires: libtool > 2
  18. BuildRequires: texinfo
  19. %description
  20. An XML parser library designed for Jabber applications. It is coded in
  21. ANSI C for POSIX compatible environments, thus highly portable.
  22. %package devel
  23. Summary: Development files for iksemel
  24. Summary(ja): iksemel の開発ファイル
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: gnutls-devel
  28. Requires: pkgconfig
  29. Requires(post): /sbin/install-info
  30. Requires(preun): /sbin/install-info
  31. %description devel
  32. Development files for iksemel.
  33. %package utils
  34. Summary: Utilities for iksemel
  35. Summary(ja): iksemel 用のユーティリティ
  36. Group: Applications/Internet
  37. Requires: %{name} = %{version}-%{release}
  38. %description utils
  39. Utlity programs for iksemel.
  40. %prep
  41. %setup0 -q
  42. %patch0 -p1
  43. %patch1 -p1
  44. # force rebuilding of the info file
  45. rm doc/iksemel
  46. %build
  47. # We need to re-run the autotools because the patch we apply modifies
  48. # the configure.ac and src/Makefile.am
  49. libtoolize --copy --force --automake
  50. aclocal
  51. autoheader
  52. automake --add-missing --force-missing --gnu --include-deps
  53. autoconf
  54. %configure --disable-static --disable-rpath
  55. make %{?_smp_mflags}
  56. %install
  57. rm -rf %{buildroot}
  58. make install DESTDIR=%{buildroot}
  59. rm -f %{buildroot}%{_libdir}/*.la
  60. mv %{buildroot}%{_infodir}/iksemel %{buildroot}%{_infodir}/iksemel.info
  61. %check
  62. %ifnarch ppc
  63. make check
  64. %endif
  65. %clean
  66. rm -rf %{buildroot}
  67. %postun -p /sbin/ldconfig
  68. %post -p /sbin/ldconfig
  69. %post devel
  70. /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
  71. %preun devel
  72. if [ $1 = 0 ]; then
  73. /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
  74. fi
  75. %files
  76. %defattr(-,root,root,-)
  77. %doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO
  78. %{_libdir}/libiksemel.so.*
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %doc COPYING
  82. %{_libdir}/libiksemel.so
  83. %{_includedir}/iksemel.h
  84. %{_libdir}/pkgconfig/iksemel.pc
  85. %{_infodir}/iksemel.info*
  86. %files utils
  87. %defattr(-,root,root,-)
  88. %doc COPYING
  89. %{_bindir}/ikslint
  90. %{_bindir}/iksperf
  91. %{_bindir}/iksroster
  92. %changelog
  93. * Tue May 05 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3-2vl5
  94. - rebuild with gnutls 2.6.6, libtool 2.2.6
  95. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.3-1vl5
  96. - applied new versioning policy, spec in utf-8
  97. * Wed Dec 12 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-0vl1
  98. - initial build for Vine Linux
  99. * Sat Aug 25 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3-2
  100. - Disable "make check" on PPC again.
  101. * Sat Aug 25 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3-1
  102. - Update to 1.3
  103. - Don't need to BR pkgconfig because gnutls-devel now requires it properly.
  104. - Update license.
  105. - Run "make check" on PPC
  106. - Update patches so that they apply to 1.3
  107. - Update URLs
  108. * Thu Nov 16 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-13
  109. - ppp != ppc
  110. * Thu Nov 16 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-12
  111. - Don't run make check on PPC - tests failing.
  112. * Thu Nov 16 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-11
  113. - Add patch from Hans de Goede that fixes 64 bit issues
  114. - Re-enable "make check".
  115. - Remove tabs from specfile.
  116. * Mon Aug 28 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-10
  117. - Bump release and rebuild.
  118. * Wed Aug 2 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-6
  119. - Temporarily disable make check until problems with it can be figured out.
  120. * Thu Jul 27 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-5
  121. - Patch to use SHA1 hashing routines from libgcrypt rather than
  122. broken internal code. This means that we need to BR autoools
  123. to regenerate comfigure script and makefiles.
  124. * Mon Jun 26 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-4
  125. - Don't re-run autotools, fix rpath in a different way.
  126. * Mon Jun 26 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-3
  127. - Add a %check section.
  128. - Add BR for libtool.
  129. * Tue May 30 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-2
  130. - Add texinfo BR
  131. * Mon May 29 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.2-1
  132. - First version for Fedora Extras.