dotconf-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: dotconf
  2. Version: 1.0.13
  3. Release: 10%{?_dist_release}
  4. Summary: Libraries to parse configuration files
  5. Group: System Environment/Libraries
  6. License: LGPLv2
  7. URL: http://www.azzit.de/dotconf/
  8. Source: http://www.azzit.de/dotconf/download/v1.0/%{name}-%{version}.tar.gz
  9. Patch0: dotconf-1.0.13-remove-ASL11-part.patch
  10. Patch1: dotconf-1.0.13-multilib.patch
  11. Patch2: dotconf-1.0.13-m4-underquote.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. Dotconf is a library used to handle configuration files.
  15. %package devel
  16. Summary: Development files for %{name}
  17. Group: Development/Libraries
  18. Requires: %{name} = %{version}-%{release}
  19. Requires: pkgconfig
  20. Requires: automake
  21. %description devel
  22. The %{name}-devel package contains libraries and header files for
  23. developing applications that use %{name}.
  24. %prep
  25. %setup -q
  26. %patch0 -p1
  27. %patch1 -p1
  28. %patch2 -p1
  29. # Override config.{guess,sub}
  30. cp -p /usr/lib/rpm/config.{guess,sub} .
  31. %build
  32. %configure --disable-static
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  37. iconv -f iso-8859-2 -t utf-8 -o iconv.tmp AUTHORS
  38. mv iconv.tmp AUTHORS
  39. iconv -f iso-8859-2 -t utf-8 -o iconv.tmp doc/dotconf-features.txt
  40. mv iconv.tmp doc/dotconf-features.txt
  41. find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc README AUTHORS COPYING NEWS ChangeLog
  49. %{_libdir}/libdotconf*.so.*
  50. %files devel
  51. %defattr(-,root,root,-)
  52. %doc doc/*
  53. %{_libdir}/libdotconf*.so
  54. %{_includedir}/libpool.h
  55. %{_includedir}/dotconf.h
  56. %{_bindir}/dotconf-config
  57. %{_datadir}/aclocal/dotconf.m4
  58. %{_libdir}/pkgconfig/dotconf.pc
  59. %changelog
  60. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.13-10
  61. - initial build for Vine Linux
  62. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-9
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  64. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-8
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  66. * Thu Jul 03 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.0.13-7
  67. - Override config.{sub,guess} explicitly due to redhat-rpm-build-config
  68. behavior change on F-10+, otherwise build fails on ppc64
  69. * Sun Mar 09 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-6
  70. - fixed m4-underquote error
  71. * Fri Feb 29 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-5
  72. - fixed AUTHORS utf-8
  73. - fixed doc/dotconf-features.txt utf-8
  74. * Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-4
  75. - Applied patch macro
  76. * Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-3
  77. - Resolved Multilib issue
  78. * Fri Feb 22 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-2
  79. - Inclusion of pkgconfig
  80. - Removal of INSTALL file
  81. - Proper placement of Library files
  82. - Creating devel sub-package
  83. - Chaning source URL
  84. * Sun Feb 17 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-1
  85. - Initial Commit