iksemel-vl.spec 5.4 KB

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