root/library/bdm/base/libconfig/libconfig.spec.in @ 652

Revision 248, 1.9 kB (checked in by smidl, 15 years ago)

doc

Line 
1Name:           @PACKAGE@
2Version:        @VERSION@
3Release:        1
4Summary:        C/C++ Configuration File Library
5
6Group:          System Environment/Libraries
7License:        LGPL
8URL:            http://hyperrealm.com/main.php?s=libconfig
9Source0:        %{name}-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id} -u -n)
11
12Packager:       Deneys S. Maartens  <dsm@tlabs.ac.za>
13
14BuildRequires:  texinfo
15
16%description
17%{name} is a simple library for manipulating structured configuration
18files. The file format is more compact and more readable than XML. And
19unlike XML, it is type-aware, so it is not necessary to do string
20parsing in application code.
21
22%{name} is very compact -- just 25K for the stripped C shared library
23(one-fifth the size of the expat XML parser library) and 39K for the
24stripped C++ shared library. This makes it well-suited for
25memory-constrained systems like handheld devices.
26
27The library includes bindings for both the C and C++ languages. It works
28on POSIX-compliant UNIX systems.
29
30%package devel
31Summary:        %{name} development package
32Group:          Development/Libraries
33Requires:       %{name} = %{version}
34
35%description devel
36Development files for %{name}.
37
38%prep
39%setup -q
40
41%build
42%configure
43make %{?_smp_mflags}
44make html
45
46%install
47rm -rf $RPM_BUILD_ROOT
48make install DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%post
54ldconfig
55
56%postun
57ldconfig
58
59%files
60%defattr(-,root,root,-)
61%doc AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README
62%{_libdir}/%{name}.so*
63%{_libdir}/%{name}++.so*
64
65%files devel
66%defattr(-,root,root,-)
67%doc AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README
68%doc doc/%{name}.html
69%doc test.cfg
70%doc samples/c/*.c
71%doc samples/c++/*.cpp
72%{_infodir}
73%{_includedir}
74%{_libdir}/pkgconfig
75%{_libdir}/%{name}.a
76%{_libdir}/%{name}.la
77%{_libdir}/%{name}++.a
78%{_libdir}/%{name}++.la
79
80%changelog
81* Wed Aug 19 2007  Deneys S. Maartens  <dsm@tlabs.ac.za>  1.1.3-1
82- create spec file
83
84# -fin-
Note: See TracBrowser for help on using the browser.