source: projects/specs/trunk/lib/libc/libconfuse/libconfuse-vl.spec @ 9198

Revision 9198, 3.7 KB checked in by inagaki, 9 years ago (diff)

2014-12-31 Ryoichi INAGAKI <ryo1@…>

  • cadaver, davfs2: updated spec
  • libconfuse, libotr: updated
  • python-ldap: rebuilt


Line 
1Name:           libconfuse
2Version:        2.7
3Release:        1%{?_dist_release}
4Summary:        A configuration file parser library
5Summary(ja):    設定ファイル解析ライブラリ
6
7Group:          System Environment/Libraries
8License:        ISC
9URL:            http://www.nongnu.org/confuse/
10Source0:        http://bzero.se/confuse/confuse-%{version}.tar.gz
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
13BuildRequires:  check-devel
14BuildRequires:  pkgconfig
15
16
17%description
18libConfuse is a configuration file parser library, licensed under
19the terms of the ISC license, and written in C. It supports
20sections and (lists of) values (strings, integers, floats,
21booleans or other sections), as well as some other features (such
22as single/double-quoted strings, environment variable expansion,
23functions and nested include statements). It makes it very
24easy to add configuration file capability to a program using
25a simple API.
26
27The goal of libConfuse is not to be the configuration file parser
28library with a gazillion of features. Instead, it aims to be
29easy to use and quick to integrate with your code.
30
31
32%description -l ja
33libConfuse は C で書かれた設定ファイル解析ライブラリで、
34ISC ライセンスで配布されています。文字列、整数、浮動小数点、
35真偽値などの値一覧およびセクションをサポートし、さらに
36シングルクオート/ダブルクオートされた文字列や環境変数の展開、関数、
37ネストしたインクルードもサポートしています。
38シンプルな API を使い、これらの設定ファイル解析昨日をプログラムに
39組み入れることが可能になります。
40
41
42%package devel
43Summary:        Development files for %{name}
44Summary(ja):    %{name} の開発用ファイル
45Group:          Development/Libraries
46Requires:       %{name} = %{version}-%{release}
47Requires:       pkgconfig
48
49%description devel
50Development files for %{name}.
51
52%description devel -l ja
53%{name} の用開発ファイルです。
54
55
56%prep
57%setup -q -n confuse-%{version}
58
59
60%build
61%configure --enable-shared --disable-static
62make %{?_smp_mflags} AM_CFLAGS="-Wall -Wextra"
63
64
65%check
66make check
67
68
69%install
70rm -rf $RPM_BUILD_ROOT
71make install DESTDIR=$RPM_BUILD_ROOT
72# Nuke libtool archive(s)
73rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
74# Install man pages
75mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
76cp -p doc/man/man3/*.3 $RPM_BUILD_ROOT%{_mandir}/man3/
77# Extract the example sources
78mkdir -p ex2/examples
79cp -p examples/{ftpconf.c,ftp.conf,simple.c,simple.conf,reread.c,reread.conf} \
80    ex2/examples/
81
82%find_lang confuse
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87
88%post -p /sbin/ldconfig
89
90%postun -p /sbin/ldconfig
91
92
93%files -f confuse.lang
94%defattr(-,root,root,-)
95%doc AUTHORS NEWS README
96%doc doc/html
97%{_libdir}/libconfuse.so.*
98%{_mandir}/man?/*.*
99
100
101%files devel
102%defattr(-,root,root,-)
103%doc ex2/examples
104%{_includedir}/confuse.h
105%{_libdir}/libconfuse.so
106%{_libdir}/pkgconfig/libconfuse.pc
107
108
109%changelog
110* Tue Dec 30 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.7-1
111- updated to 2.7
112- built on current VineSeed
113
114* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6-2
115- rebuild with rpm-4.8.1 for pkg-config file
116
117* Mon May 26 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6-1
118- initial build for Vine Linux
119
120* Mon Feb 04 2008 Jarod Wilson <jwilson@redhat.com> 2.6-1
121- New upstream release
122- Switch from LGPL to ISC license
123- Build fix from Hans Ulrich Niedermann
124
125* Tue Sep 05 2006 Jarod Wilson <jwilson@redaht.com> 2.5-3
126- Rebuild for new glibc
127
128* Wed Aug 16 2006 Jarod Wilson <jwilson@redhat.com> 2.5-2
129- Put -devel package in the right Group
130- Add defattr for -devel files
131
132* Wed Aug 16 2006 Jarod Wilson <jwilson@redhat.com> 2.5-1
133- Initial build
Note: See TracBrowser for help on using the repository browser.