1 | Name: libconfig |
---|
2 | Summary: C/C++ configuration file library |
---|
3 | Summary(ja): C/C++ 設定ファイルライブラリ |
---|
4 | Version: 1.4.9 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: LGPLv2+ |
---|
7 | Group: System Environment/Libraries |
---|
8 | Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz |
---|
9 | URL: http://www.hyperrealm.com/libconfig/ |
---|
10 | BuildRequires: texinfo, task-texlive |
---|
11 | BuildRequires: bison, flex |
---|
12 | |
---|
13 | %description |
---|
14 | Libconfig is a simple library for manipulating structured configuration |
---|
15 | files. This file format is more compact and more readable than XML. And |
---|
16 | unlike XML, it is type-aware, so it is not necessary to do string parsing |
---|
17 | in application code. |
---|
18 | |
---|
19 | %package devel |
---|
20 | Summary: Development files for libconfig |
---|
21 | Summary(ja): libconfig の開発ファイル |
---|
22 | Group: Development/Libraries |
---|
23 | Requires: %{name} = %{version}-%{release} |
---|
24 | Requires: pkgconfig |
---|
25 | Requires(post): install-info |
---|
26 | Requires(preun): install-info |
---|
27 | |
---|
28 | %description devel |
---|
29 | Development libraries and headers for developing software against |
---|
30 | libconfig. |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q |
---|
34 | iconv -f iso-8859-1 -t utf-8 -o AUTHORS{.utf8,} |
---|
35 | mv AUTHORS{.utf8,} |
---|
36 | |
---|
37 | %build |
---|
38 | %configure --disable-static |
---|
39 | make %{?_smp_mflags} |
---|
40 | make pdf |
---|
41 | |
---|
42 | %install |
---|
43 | make DESTDIR=$RPM_BUILD_ROOT install install-pdf |
---|
44 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
45 | rm -rf $RPM_BUILD_ROOT%{_infodir}/dir |
---|
46 | # Prevent multilib conflicts |
---|
47 | sed -i '/^\/CreationDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf |
---|
48 | sed -i '/^\/ModDate/d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf |
---|
49 | sed -i '/^\/ID /d' $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/libconfig.pdf |
---|
50 | |
---|
51 | %post -p /sbin/ldconfig |
---|
52 | |
---|
53 | %post devel |
---|
54 | /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : |
---|
55 | |
---|
56 | %postun -p /sbin/ldconfig |
---|
57 | |
---|
58 | %preun devel |
---|
59 | if [ $1 = 0 ]; then |
---|
60 | /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : |
---|
61 | fi |
---|
62 | |
---|
63 | %files |
---|
64 | %defattr(-,root,root,-) |
---|
65 | %doc AUTHORS ChangeLog COPYING.LIB README |
---|
66 | %{_libdir}/libconfig*.so.* |
---|
67 | |
---|
68 | |
---|
69 | %files devel |
---|
70 | %defattr(-,root,root,-) |
---|
71 | %{_includedir}/libconfig* |
---|
72 | %{_libdir}/libconfig*.so |
---|
73 | %{_libdir}/pkgconfig/libconfig*.pc |
---|
74 | %{_defaultdocdir}/%{name}/ |
---|
75 | %{_infodir}/libconfig.info* |
---|
76 | |
---|
77 | %changelog |
---|
78 | * Mon Nov 05 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.9-1 |
---|
79 | - initial build for Vine Linux |
---|
80 | |
---|
81 | * Mon Oct 1 2012 Tom Callaway <spot@fedoraproject.org> - 1.4.9-1 |
---|
82 | - update to 1.4.9 |
---|
83 | |
---|
84 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-3 |
---|
85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
86 | |
---|
87 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2 |
---|
88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
89 | |
---|
90 | * Fri Aug 12 2011 Tom Callaway <spot@fedoraproject.org> - 1.4.8-1 |
---|
91 | - update to 1.4.8 |
---|
92 | |
---|
93 | * Wed Mar 23 2011 Tom Callaway <spot@fedoraproject.org> - 1.4.7-1 |
---|
94 | - update to 1.4.7 |
---|
95 | |
---|
96 | * Tue Mar 1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.6-1 |
---|
97 | - Update to 1.4.6 |
---|
98 | - Install libconfig_tests |
---|
99 | - Fix rpmlint warnings |
---|
100 | |
---|
101 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2 |
---|
102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
103 | |
---|
104 | * Wed May 5 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.5-1 |
---|
105 | - update to 1.4.5 |
---|
106 | |
---|
107 | * Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.2-1 |
---|
108 | - update to 1.3.2 |
---|
109 | |
---|
110 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
112 | |
---|
113 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3 |
---|
114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
115 | |
---|
116 | * Wed Dec 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.1-2 |
---|
117 | - prevent multilib conflicts with the generated pdf |
---|
118 | |
---|
119 | * Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.1-1 |
---|
120 | - update to 1.3.1 |
---|
121 | |
---|
122 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.1-2 |
---|
123 | - Autorebuild for GCC 4.3 |
---|
124 | |
---|
125 | * Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1 |
---|
126 | - bump to 1.2.1 |
---|
127 | |
---|
128 | * Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-4 |
---|
129 | - nuke %%{_infodir}/dir, we handle it in %%post |
---|
130 | |
---|
131 | * Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-3 |
---|
132 | - move all docs to devel |
---|
133 | - move scriptlets around to match |
---|
134 | - move requires around to match |
---|
135 | |
---|
136 | * Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-2 |
---|
137 | - BR: texinfo-tex (not Requires) |
---|
138 | |
---|
139 | * Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-1 |
---|
140 | - Initial package for Fedora |
---|