dotconf-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: dotconf
  2. Summary: Libraries to parse configuration files
  3. Version: 1.3
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: LGPLv2
  7. URL: https://github.com/williamh/dotconf
  8. Source: %{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. %description
  11. Dotconf is a library used to handle configuration files.
  12. %package devel
  13. Summary: Development files for %{name}
  14. Group: Development/Libraries
  15. Requires: %{name} = %{version}-%{release}
  16. %description devel
  17. The %{name}-devel package contains libraries and header files for
  18. developing applications that use %{name}.
  19. %package docs
  20. Summary: Documentation for %{name}
  21. Summary(ja): %{name} 用のドキュメント
  22. Group: Documentation
  23. BuildArch: noarch
  24. %description docs
  25. This package contains documentation for %{name}.
  26. %prep
  27. %setup -q
  28. %build
  29. autoreconf -if
  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 ChangeLog
  47. %{_libdir}/libdotconf*.so.*
  48. %files devel
  49. %defattr(-,root,root,-)
  50. %{_libdir}/libdotconf*.so
  51. %{_includedir}/dotconf.h
  52. %{_libdir}/pkgconfig/dotconf.pc
  53. %files docs
  54. %defattr(-,root,root,-)
  55. %{_docdir}/%{name}
  56. %changelog
  57. * Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3-1
  58. - update to 1.3
  59. - remove old patches
  60. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.13-11
  61. - rebuilt with rpm-4.8.1 for pkg-config
  62. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.13-10
  63. - initial build for Vine Linux
  64. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-9
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  66. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-8
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  68. * Thu Jul 03 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.0.13-7
  69. - Override config.{sub,guess} explicitly due to redhat-rpm-build-config
  70. behavior change on F-10+, otherwise build fails on ppc64
  71. * Sun Mar 09 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-6
  72. - fixed m4-underquote error
  73. * Fri Feb 29 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-5
  74. - fixed AUTHORS utf-8
  75. - fixed doc/dotconf-features.txt utf-8
  76. * Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-4
  77. - Applied patch macro
  78. * Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-3
  79. - Resolved Multilib issue
  80. * Fri Feb 22 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-2
  81. - Inclusion of pkgconfig
  82. - Removal of INSTALL file
  83. - Proper placement of Library files
  84. - Creating devel sub-package
  85. - Chaning source URL
  86. * Sun Feb 17 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-1
  87. - Initial Commit