xref: /aosp_15_r20/external/libconfig/libconfig.spec.in (revision 2e9d491483b805f09ea864149eadd5680efcc72a)
1*2e9d4914SAndroid Build Coastguard WorkerName:		@PACKAGE@
2*2e9d4914SAndroid Build Coastguard WorkerVersion:	@VERSION@
3*2e9d4914SAndroid Build Coastguard WorkerRelease:	1
4*2e9d4914SAndroid Build Coastguard WorkerSummary:	C/C++ Configuration File Library
5*2e9d4914SAndroid Build Coastguard Worker
6*2e9d4914SAndroid Build Coastguard WorkerGroup:		System Environment/Libraries
7*2e9d4914SAndroid Build Coastguard WorkerLicense:	LGPL
8*2e9d4914SAndroid Build Coastguard WorkerURL:		http://hyperrealm.com/main.php?s=libconfig
9*2e9d4914SAndroid Build Coastguard WorkerSource0:	%{name}-%{version}.tar.gz
10*2e9d4914SAndroid Build Coastguard WorkerBuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id} -u -n)
11*2e9d4914SAndroid Build Coastguard Worker
12*2e9d4914SAndroid Build Coastguard WorkerPackager:	Deneys S. Maartens  <[email protected]>
13*2e9d4914SAndroid Build Coastguard Worker
14*2e9d4914SAndroid Build Coastguard WorkerBuildRequires:	texinfo
15*2e9d4914SAndroid Build Coastguard Worker
16*2e9d4914SAndroid Build Coastguard Worker%description
17*2e9d4914SAndroid Build Coastguard Worker%{name} is a simple library for processing structured configuration
18*2e9d4914SAndroid Build Coastguard Workerfiles. The file format is more compact and more readable than XML. And
19*2e9d4914SAndroid Build Coastguard Workerunlike XML, it is type-aware, so it is not necessary to do string
20*2e9d4914SAndroid Build Coastguard Workerparsing in application code. The library includes bindings for both
21*2e9d4914SAndroid Build Coastguard Workerthe C and C++ languages. It works on POSIX-compliant UNIX systems.
22*2e9d4914SAndroid Build Coastguard Worker
23*2e9d4914SAndroid Build Coastguard Worker%package devel
24*2e9d4914SAndroid Build Coastguard WorkerSummary:	%{name} development package
25*2e9d4914SAndroid Build Coastguard WorkerGroup:		Development/Libraries
26*2e9d4914SAndroid Build Coastguard WorkerRequires:	%{name} = %{version}
27*2e9d4914SAndroid Build Coastguard Worker
28*2e9d4914SAndroid Build Coastguard Worker%description devel
29*2e9d4914SAndroid Build Coastguard WorkerDevelopment files for %{name}.
30*2e9d4914SAndroid Build Coastguard Worker
31*2e9d4914SAndroid Build Coastguard Worker%prep
32*2e9d4914SAndroid Build Coastguard Worker%setup -q
33*2e9d4914SAndroid Build Coastguard Worker
34*2e9d4914SAndroid Build Coastguard Worker%build
35*2e9d4914SAndroid Build Coastguard Worker%configure
36*2e9d4914SAndroid Build Coastguard Workermake %{?_smp_mflags}
37*2e9d4914SAndroid Build Coastguard Workermake html
38*2e9d4914SAndroid Build Coastguard Worker
39*2e9d4914SAndroid Build Coastguard Worker%install
40*2e9d4914SAndroid Build Coastguard Workerrm -rf $RPM_BUILD_ROOT
41*2e9d4914SAndroid Build Coastguard Workermake install DESTDIR=$RPM_BUILD_ROOT
42*2e9d4914SAndroid Build Coastguard Worker
43*2e9d4914SAndroid Build Coastguard Worker%clean
44*2e9d4914SAndroid Build Coastguard Workerrm -rf $RPM_BUILD_ROOT
45*2e9d4914SAndroid Build Coastguard Worker
46*2e9d4914SAndroid Build Coastguard Worker%post
47*2e9d4914SAndroid Build Coastguard Workerldconfig
48*2e9d4914SAndroid Build Coastguard Worker
49*2e9d4914SAndroid Build Coastguard Worker%postun
50*2e9d4914SAndroid Build Coastguard Workerldconfig
51*2e9d4914SAndroid Build Coastguard Worker
52*2e9d4914SAndroid Build Coastguard Worker%files
53*2e9d4914SAndroid Build Coastguard Worker%defattr(-,root,root,-)
54*2e9d4914SAndroid Build Coastguard Worker%doc AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README
55*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/%{name}.so*
56*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/%{name}++.so*
57*2e9d4914SAndroid Build Coastguard Worker
58*2e9d4914SAndroid Build Coastguard Worker%files devel
59*2e9d4914SAndroid Build Coastguard Worker%defattr(-,root,root,-)
60*2e9d4914SAndroid Build Coastguard Worker%doc AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README
61*2e9d4914SAndroid Build Coastguard Worker%doc doc/%{name}.html
62*2e9d4914SAndroid Build Coastguard Worker%doc test.cfg
63*2e9d4914SAndroid Build Coastguard Worker%doc examples/c/*.c
64*2e9d4914SAndroid Build Coastguard Worker%doc examples/c++/*.cpp
65*2e9d4914SAndroid Build Coastguard Worker%{_infodir}
66*2e9d4914SAndroid Build Coastguard Worker%{_includedir}
67*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/pkgconfig
68*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/cmake/libconfig
69*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/cmake/libconfig++
70*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/%{name}.a
71*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/%{name}.la
72*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/%{name}++.a
73*2e9d4914SAndroid Build Coastguard Worker%{_libdir}/%{name}++.la
74*2e9d4914SAndroid Build Coastguard Worker
75*2e9d4914SAndroid Build Coastguard Worker%changelog
76*2e9d4914SAndroid Build Coastguard Worker* Wed Oct 14 2015  Thomas Fischer  <[email protected]>  1.5
77*2e9d4914SAndroid Build Coastguard Worker- added library directory cmake/libconfig and cmake/libconfig++
78*2e9d4914SAndroid Build Coastguard Worker* Wed Aug 19 2007  Deneys S. Maartens  <[email protected]>  1.1.3-1
79*2e9d4914SAndroid Build Coastguard Worker- create spec file
80*2e9d4914SAndroid Build Coastguard Worker
81*2e9d4914SAndroid Build Coastguard Worker# -fin-
82