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