forked from vmware/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I9073bac74d918d0a55d3440ade93b6874bfc8f23 Signed-off-by: Shreenidhi Shedi <[email protected]> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/15328 Tested-by: gerrit-photon <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,33 +3,37 @@ Name: libconfig | |
Version: 1.7.2 | ||
Release: 1%{?dist} | ||
License: LGPLv2 | ||
URL: http://www.hyperrealm.com/libconfig/ | ||
Source: %{name}-%{version}.tar.gz | ||
%define sha1 libconfig=a0b282e78409f9f1a165b0c0011ae2ea78e7a390 | ||
URL: http://www.hyperrealm.com/libconfig | ||
Group: Development/Tools | ||
Vendor: VMware, Inc. | ||
Distribution: Photon | ||
|
||
Source0: %{name}-%{version}.tar.gz | ||
%define sha1 %{name}=a0b282e78409f9f1a165b0c0011ae2ea78e7a390 | ||
|
||
%description | ||
Libconfig is a simple library for processing structured configuration files, | ||
like this one: test.cfg. This file format is more compact and more readable than XML. | ||
And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code. | ||
|
||
%prep | ||
%setup -q | ||
%autosetup -p1 | ||
|
||
%build | ||
autoreconf -fi | ||
%configure --disable-static | ||
make %{?_smp_mflags} | ||
|
||
%install | ||
make DESTDIR=%{buildroot} install | ||
rm -rf %{buildroot}%{_libdir}/*.la | ||
rm -rf %{buildroot}%{_infodir}/dir | ||
make DESTDIR=%{buildroot} install %{?_smp_mflags} | ||
|
||
rm -rf %{buildroot}%{_libdir}/*.la \ | ||
%{buildroot}%{_infodir}/dir | ||
|
||
%check | ||
./tests/libconfig_tests | ||
%if 0%{?with_check} | ||
make test %{?_smp_mflags} | ||
%endif | ||
|
||
%post -p /sbin/ldconfig | ||
%postun -p /sbin/ldconfig | ||
|
@@ -45,11 +49,11 @@ rm -rf %{buildroot}%{_infodir}/dir | |
%{_infodir}/libconfig.info* | ||
|
||
%changelog | ||
* Wed Aug 12 2020 Gerrit Photon <[email protected]> 1.7.2-1 | ||
- Automatic Version Bump | ||
* Mon Jul 20 2020 Shreenidhi Shedi <[email protected]> 1.7-1 | ||
- Upgrade to version 1.7 | ||
* Tue May 24 2016 Priyesh Padmavilasom <[email protected]> 1.5-2 | ||
- GA - Bump release of all rpms | ||
* Tue Nov 24 2015 Xiaolin Li <[email protected]> 0.7.2-1 | ||
- Initial build. First version | ||
* Wed Aug 12 2020 Gerrit Photon <[email protected]> 1.7.2-1 | ||
- Automatic Version Bump | ||
* Mon Jul 20 2020 Shreenidhi Shedi <[email protected]> 1.7-1 | ||
- Upgrade to version 1.7 | ||
* Tue May 24 2016 Priyesh Padmavilasom <[email protected]> 1.5-2 | ||
- GA - Bump release of all rpms | ||
* Tue Nov 24 2015 Xiaolin Li <[email protected]> 0.7.2-1 | ||
- Initial build. First version |