dotconf-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: dotconf
  2. Summary: Libraries to parse configuration files
  3. Version: 1.0.13
  4. Release: 11%{?_dist_release}
  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. %description devel
  20. The %{name}-devel package contains libraries and header files for
  21. developing applications that use %{name}.
  22. %prep
  23. %setup -q
  24. %patch0 -p1
  25. %patch1 -p1
  26. %patch2 -p1
  27. # Override config.{guess,sub}
  28. cp -p /usr/lib/rpm/config.{guess,sub} .
  29. %build
  30. %configure --disable-static
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  35. iconv -f iso-8859-2 -t utf-8 -o iconv.tmp AUTHORS
  36. mv iconv.tmp AUTHORS
  37. iconv -f iso-8859-2 -t utf-8 -o iconv.tmp doc/dotconf-features.txt
  38. mv iconv.tmp doc/dotconf-features.txt
  39. find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc README AUTHORS COPYING NEWS ChangeLog
  47. %{_libdir}/libdotconf*.so.*
  48. %files devel
  49. %defattr(-,root,root,-)
  50. %doc doc/*
  51. %{_libdir}/libdotconf*.so
  52. %{_includedir}/libpool.h
  53. %{_includedir}/dotconf.h
  54. %{_bindir}/dotconf-config
  55. %{_datadir}/aclocal/dotconf.m4
  56. %{_libdir}/pkgconfig/dotconf.pc
  57. %changelog
  58. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.13-11
  59. - rebuilt with rpm-4.8.1 for pkg-config
  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