autogen-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. Summary: AutoGen - The Automated Program Generator
  2. Name: autogen
  3. Group: programming
  4. Version: 5.18.16
  5. Release: 1%{?_dist_release}
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Packager: yasumichi
  9. URL: https://www.gnu.org/software/autogen/
  10. License: GPL2
  11. Source: https://ftp.gnu.org/gnu/autogen/rel%{version}/autogen-%{version}.tar.xz
  12. Patch0: autogen-overlap.patch
  13. Patch1: autogen-guile-3.0.patch
  14. BuildRoot: %{_tmppath}/%{name}-root
  15. Requires: guile30
  16. BuildRequires: chrpath
  17. BuildRequires: guile30-devel
  18. BuildRequires: libxml2-devel
  19. %description
  20. AutoGen is a tool designed for generating program files that contain
  21. repetitive text with varied substitutions. Its goal is to simplify the
  22. maintenance of programs that contain large amounts of repetitious text.
  23. This is especially valuable if there are several blocks of such text
  24. that must be kept synchronized in parallel tables.
  25. Some parts are released under different licensing:
  26. libopts LGPL This is a tear-off, redistributable option processing library
  27. autofsm BSD This is a template for producing finite state machine programs
  28. The Copyright itself is privately held by Bruce Korb.
  29. %debug_package
  30. %prep
  31. %autosetup -p1
  32. # Disable failing test
  33. sed -i 's|errors.test||' autoopts/test/Makefile.in
  34. %build
  35. export CFLAGS="$RPM_OPT_FLAGS -Wno-implicit-fallthrough -Wno-format-overflow \
  36. -Wno-format-truncation"
  37. %configure
  38. # Omit unused direct shared library dependencies.
  39. sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool
  40. make %{?_smp_mflags}
  41. %install
  42. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  43. make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
  44. find $RPM_BUILD_ROOT -type f -name "*.la" -delete
  45. find $RPM_BUILD_ROOT -type f -name "*.a" -delete
  46. # Remove rpath.
  47. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/{columns,getdefs,%{name},xml2ag}
  48. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
  49. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  50. %check
  51. make check
  52. %clean
  53. rm -rf ${RPM_BUILD_ROOT}
  54. %files
  55. %defattr(-,root,root)
  56. %license COPYING pkg/libopts/COPYING.gplv3
  57. %license pkg/libopts/COPYING.mbsd pkg/libopts/COPYING.lgplv3
  58. %doc AUTHORS TODO NEWS THANKS README VERSION
  59. %{_bindir}/*
  60. %{_infodir}/%{name}.info*.gz
  61. %{_mandir}/man1/*
  62. %dir %{_datadir}/%{name}
  63. %{_datadir}/%{name}/*
  64. %dir %{_libdir}/%{name}
  65. %{_libdir}/%{name}/*
  66. %{_libdir}/libopts.so.25*
  67. %{_libdir}/libopts.so
  68. %{_datadir}/aclocal/autoopts.m4
  69. %{_libdir}/pkgconfig/autoopts.pc
  70. %{_mandir}/man3/*
  71. %dir %{_includedir}/autoopts
  72. %{_includedir}/autoopts/options.h
  73. %{_includedir}/autoopts/usage-txt.h
  74. %changelog
  75. * Fri Nov 18 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.18.16-2
  76. - rebuilt with guile-3.0.
  77. - dropped scriptlets.
  78. * Wed Sep 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.18.16-1
  79. - new upstream release.
  80. - imported Patch0 from rawhide.
  81. * Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.18.4-1
  82. - new upstream release
  83. * Mon Jan 27 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.18.1-1
  84. - new upstream release
  85. - change archive format
  86. - add dependencies
  87. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 5.9.9-2
  88. - rebuilt with rpm-4.8.1 for pkg-config
  89. * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.9-1
  90. - new upstream release.
  91. - build with guile-1.8.7
  92. - add Vendor, Distribution and Packager.
  93. * Tue Jan 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 5.9.7-1
  94. - new upstream release
  95. - build with guile-1.8.6
  96. - correct spec tag (Vendor -> URL)
  97. * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.4-3vl5
  98. - use macro for Release
  99. * Sat May 10 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.4-2vl5
  100. - rebuild with guile-1.6.7-5vl5
  101. * Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.4-1vl5
  102. - apply new virsioning policy.
  103. - remove *.la
  104. * Sat Jan 05 2008 Shu KONNO <owa@bg.wakwak.com> 5.9.4-0vl1
  105. - updated to last stable release
  106. * Thu Jan 03 2008 Shu KONNO <owa@bg.wakwak.com> 5.8.7-5vl2
  107. - added %%{_libdir}/lib*.so* in %%files
  108. * Sun Dec 17 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.8.7-5vl1
  109. - build for VineSeed
  110. * Sat Oct 14 2006 Bruce Korb <bkorb@veritas.com> Regenerated
  111. * Fri Dec 31 2004 Bruce Korb <bkorb@gnu.org> Restored the file list
  112. * Wed Oct 27 2004 Ed Swierk <eswierk@users.sf.net> fixed up for Fedora
  113. * Tue Dec 16 2003 Richard Zidlicky <rz@linux-m68k.org> 5.5.7pre5-5
  114. - fix %%doc
  115. - add post/pre scriptlets
  116. - change default prefix
  117. * Sat Mar 15 2003 Bruce Korb <bkorb@gnu.org>
  118. - Rework as a template to automatically produce a properly configured RPM
  119. * Fri Aug 9 2002 Bruce Korb <bkorb@gnu.org>
  120. - Pull stuff from Thomas Steudten's version of this file