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: Id3755c53eabe23eea76ec65f35bf024e5945ba76 Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5635 Tested-by: gerrit-photon <[email protected]> Reviewed-by: Sharath George
- Loading branch information
Showing
2 changed files
with
29 additions
and
13 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 |
---|---|---|
@@ -1,43 +1,59 @@ | ||
Summary: Library for manipulating pipelines | ||
Name: libpipeline | ||
Version: 1.4.1 | ||
Release: 2%{?dist} | ||
Version: 1.5.0 | ||
Release: 1%{?dist} | ||
License: GPLv3+ | ||
URL: http://libpipeline.nongnu.org | ||
Group: Applications/System | ||
Vendor: VMware, Inc. | ||
Distribution: Photon | ||
Source0: http://download.savannah.gnu.org/releases/libpipeline/%{name}-%{version}.tar.gz | ||
%define sha1 libpipeline=b31cc955f22b1aa4545dc8d00ddbde831936594f | ||
%define sha1 libpipeline=1c885e4d5551933c905e751048abb119593c53f4 | ||
|
||
%description | ||
Contains a library for manipulating pipelines of sub processes | ||
in a flexible and convenient way. | ||
|
||
%package devel | ||
Summary: Library providing headers and static libraries to libpipeline | ||
Group: Development/Libraries | ||
Requires: libpipeline = %{version}-%{release} | ||
Provides: pkgconfig(libpipeline) | ||
|
||
%description devel | ||
Development files for libpipeline | ||
|
||
%prep | ||
%setup -q | ||
sed -i -e '/gets is a/d' gnulib/lib/stdio.in.h | ||
%build | ||
PKG_CONFIG_PATH=/tools/lib/pkgconfig \ | ||
./configure \ | ||
--prefix=%{_prefix} \ | ||
--disable-silent-rules | ||
%configure | ||
|
||
make %{?_smp_mflags} | ||
%install | ||
make DESTDIR=%{buildroot} install | ||
find %{buildroot}/%{_libdir} -name '*.la' -delete | ||
#find %{buildroot}/%{_libdir} -name '*.la' -delete | ||
|
||
%check | ||
make -C tests check | ||
|
||
%post -p /sbin/ldconfig | ||
%postun -p /sbin/ldconfig | ||
|
||
%files | ||
%defattr(-,root,root) | ||
%{_libdir}/*.so.* | ||
|
||
%files devel | ||
%{_includedir}/* | ||
%{_libdir}/*.so | ||
%{_libdir}/*.so.* | ||
%{_libdir}/pkgconfig/libpipeline.pc | ||
%{_mandir}/*/* | ||
%{_libdir}/*.la | ||
%{_libdir}/pkgconfig/* | ||
%{_mandir}/man3/* | ||
|
||
%changelog | ||
* Mon Sep 10 2018 Bo Gan <[email protected]> 1.5.0-1 | ||
- Update to 1.5.0 | ||
- Split development files to devel package | ||
* Tue May 24 2016 Priyesh Padmavilasom <[email protected]> 1.4.1-2 | ||
- GA - Bump release of all rpms | ||
* Wed Feb 24 2016 Kumar Kaushik <[email protected]> 1.4.1-1 | ||
|
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