| 1 | Name: dotconf |
|---|
| 2 | Summary: Libraries to parse configuration files |
|---|
| 3 | Version: 1.3 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | License: LGPLv2 |
|---|
| 8 | URL: https://github.com/williamh/dotconf |
|---|
| 9 | |
|---|
| 10 | Source: %{name}-%{version}.tar.gz |
|---|
| 11 | |
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | %description |
|---|
| 16 | Dotconf is a library used to handle configuration files. |
|---|
| 17 | |
|---|
| 18 | %package devel |
|---|
| 19 | Summary: Development files for %{name} |
|---|
| 20 | Group: Development/Libraries |
|---|
| 21 | Requires: %{name} = %{version}-%{release} |
|---|
| 22 | |
|---|
| 23 | %description devel |
|---|
| 24 | The %{name}-devel package contains libraries and header files for |
|---|
| 25 | developing applications that use %{name}. |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | %package docs |
|---|
| 29 | Summary: Documentation for %{name} |
|---|
| 30 | Summary(ja): %{name} 用のドキュメント |
|---|
| 31 | Group: Documentation |
|---|
| 32 | BuildArch: noarch |
|---|
| 33 | |
|---|
| 34 | %description docs |
|---|
| 35 | This package contains documentation for %{name}. |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | %prep |
|---|
| 39 | %setup -q |
|---|
| 40 | |
|---|
| 41 | %build |
|---|
| 42 | autoreconf -if |
|---|
| 43 | %configure --disable-static |
|---|
| 44 | make %{?_smp_mflags} |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | %install |
|---|
| 48 | rm -rf $RPM_BUILD_ROOT |
|---|
| 49 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
|---|
| 50 | iconv -f iso-8859-2 -t utf-8 -o iconv.tmp AUTHORS |
|---|
| 51 | mv iconv.tmp AUTHORS |
|---|
| 52 | iconv -f iso-8859-2 -t utf-8 -o iconv.tmp doc/dotconf-features.txt |
|---|
| 53 | mv iconv.tmp doc/dotconf-features.txt |
|---|
| 54 | find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | %clean |
|---|
| 58 | rm -rf $RPM_BUILD_ROOT |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | %post -p /sbin/ldconfig |
|---|
| 62 | |
|---|
| 63 | %postun -p /sbin/ldconfig |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | %files |
|---|
| 67 | %defattr(-,root,root,-) |
|---|
| 68 | %doc README AUTHORS COPYING ChangeLog |
|---|
| 69 | %{_libdir}/libdotconf*.so.* |
|---|
| 70 | |
|---|
| 71 | %files devel |
|---|
| 72 | %defattr(-,root,root,-) |
|---|
| 73 | %{_libdir}/libdotconf*.so |
|---|
| 74 | %{_includedir}/dotconf.h |
|---|
| 75 | %{_libdir}/pkgconfig/dotconf.pc |
|---|
| 76 | |
|---|
| 77 | %files docs |
|---|
| 78 | %defattr(-,root,root,-) |
|---|
| 79 | %{_docdir}/%{name} |
|---|
| 80 | |
|---|
| 81 | %changelog |
|---|
| 82 | * Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3-1 |
|---|
| 83 | - update to 1.3 |
|---|
| 84 | - remove old patches |
|---|
| 85 | |
|---|
| 86 | * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.13-11 |
|---|
| 87 | - rebuilt with rpm-4.8.1 for pkg-config |
|---|
| 88 | |
|---|
| 89 | * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.13-10 |
|---|
| 90 | - initial build for Vine Linux |
|---|
| 91 | |
|---|
| 92 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-9 |
|---|
| 93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 94 | |
|---|
| 95 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-8 |
|---|
| 96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 97 | |
|---|
| 98 | * Thu Jul 03 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.0.13-7 |
|---|
| 99 | - Override config.{sub,guess} explicitly due to redhat-rpm-build-config |
|---|
| 100 | behavior change on F-10+, otherwise build fails on ppc64 |
|---|
| 101 | |
|---|
| 102 | * Sun Mar 09 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-6 |
|---|
| 103 | - fixed m4-underquote error |
|---|
| 104 | |
|---|
| 105 | * Fri Feb 29 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-5 |
|---|
| 106 | - fixed AUTHORS utf-8 |
|---|
| 107 | - fixed doc/dotconf-features.txt utf-8 |
|---|
| 108 | |
|---|
| 109 | * Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-4 |
|---|
| 110 | - Applied patch macro |
|---|
| 111 | |
|---|
| 112 | * Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-3 |
|---|
| 113 | - Resolved Multilib issue |
|---|
| 114 | |
|---|
| 115 | * Fri Feb 22 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-2 |
|---|
| 116 | - Inclusion of pkgconfig |
|---|
| 117 | - Removal of INSTALL file |
|---|
| 118 | - Proper placement of Library files |
|---|
| 119 | - Creating devel sub-package |
|---|
| 120 | - Chaning source URL |
|---|
| 121 | |
|---|
| 122 | * Sun Feb 17 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-1 |
|---|
| 123 | - Initial Commit |
|---|