aide: upgrade to v0.17.4
Enable some useful options in aide. check: - Introduce devel subpackage - Corresponsiding fixes in other specs Change-Id: I3c70fea98aa6a4d8c32494b40d4b44e86c0dcd45 Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/17871 Tested-by: gerrit-photon <photon-checkins@vmware.com> Reviewed-by: Tapas Kundu <tkundu@vmware.com>
This commit is contained in:
parent
19d3d136ee
commit
d212778d08
|
@ -49,7 +49,7 @@ report_url=stdout
|
|||
|
||||
# You can create custom rules like this.
|
||||
|
||||
NORMAL = R+b+sha1
|
||||
NORMAL = R+b+sha512
|
||||
|
||||
DIR = p+i+n+u+g
|
||||
|
||||
|
|
|
@ -1,26 +1,45 @@
|
|||
Summary: Intrusion detection environment
|
||||
Name: aide
|
||||
Version: 0.16.2
|
||||
Release: 2%{?dist}
|
||||
Version: 0.17.4
|
||||
Release: 1%{?dist}
|
||||
URL: https://github.com/aide/aide
|
||||
License: GPLv2+
|
||||
Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
%define sha1 %{name}=1dbb954bd545addd5c3934ea9b58a785974c8664
|
||||
Source1: aide.conf
|
||||
Group: System Environment/Base
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
Distribution: Photon
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: bison flex
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: libgpg-error-devel openssl-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: curl-devel
|
||||
Source0: https://github.com/aide/aide/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=b6dba54fd204e1899d47b0b4139786cbeaa51c388027e2cfc1bb839297a70ae8ad6f37429594a730fac8007d62b4ba5b61a4aa22edbc55cbe986ccfaf5197f31
|
||||
|
||||
Requires: openssl
|
||||
Requires: curl-libs
|
||||
Source1: %{name}.conf
|
||||
|
||||
BuildRequires: build-essential
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: libgpg-error-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: curl-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: audit-devel
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: attr-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: e2fsprogs-devel
|
||||
|
||||
%if 0%{?with_check}
|
||||
BuildRequires: check-devel
|
||||
%endif
|
||||
|
||||
Requires: pcre
|
||||
Requires: libgpg-error
|
||||
Requires: openssl
|
||||
Requires: libgcrypt
|
||||
Requires: audit
|
||||
Requires: libacl
|
||||
Requires: attr
|
||||
Requires: libselinux
|
||||
Requires: curl-libs
|
||||
Requires: e2fsprogs
|
||||
|
||||
%description
|
||||
AIDE (Advanced Intrusion Detection Environment) is a file integrity
|
||||
|
@ -30,43 +49,56 @@ checker and intrusion detection program.
|
|||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
export HAVE_CHECK=1
|
||||
autoreconf -ivf
|
||||
%configure \
|
||||
--disable-static \
|
||||
with_mhash=no \
|
||||
--with-gcrypt=no
|
||||
make %{?_smp_mflags}
|
||||
--with-config_file=%{_sysconfdir}/%{name}.conf \
|
||||
--with-gcrypt \
|
||||
--with-zlib \
|
||||
--with-curl \
|
||||
--with-posix-acl \
|
||||
--with-selinux \
|
||||
--with-xattr \
|
||||
--with-e2fsattrs \
|
||||
--with-audit
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} %{?_smp_mflags}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
mkdir -p %{buildroot}/var/lib/aide
|
||||
mkdir -p %{buildroot}/var/log/aide
|
||||
mkdir -p %{buildroot}/var/opt/%{name}/log
|
||||
touch %{buildroot}/var/opt/%{name}/log/%{name}.log
|
||||
ln -sfv /var/opt/%{name}/log/%{name}.log %{buildroot}/var/log/%{name}/%{name}.log
|
||||
%make_install %{?_smp_mflags}
|
||||
|
||||
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/aide.conf
|
||||
chmod 0600 %{buildroot}%{_sysconfdir}/aide.conf
|
||||
chmod 0700 %{buildroot}/var/lib/aide
|
||||
chmod 0700 %{buildroot}/var/log/aide
|
||||
mkdir -p %{buildroot}%{_sysconfdir} \
|
||||
%{buildroot}%{_sharedstatedir}/%{name} \
|
||||
%{buildroot}%{_var}/log/%{name} \
|
||||
|
||||
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}.conf
|
||||
|
||||
chmod 600 %{buildroot}%{_sysconfdir}/%{name}.conf
|
||||
|
||||
chmod 700 %{buildroot}%{_sharedstatedir}/%{name} \
|
||||
%{buildroot}%{_var}/log/%{name}
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
make check %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/aide
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/*
|
||||
%config(noreplace) %{_sysconfdir}/aide.conf
|
||||
%dir %{_var}/lib/aide
|
||||
%dir %{_var}/log/aide
|
||||
%{_var}/log/aide/*
|
||||
%{_var}/opt/%{name}/log/%{name}.log
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%dir %{_sharedstatedir}/%{name}
|
||||
%{_var}/log/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 0.16.2-2
|
||||
- openssl 1.1.1
|
||||
* Wed Aug 14 2019 Tapas Kundu <tkundu@vmware.com> 0.16.2-1
|
||||
- Initial build for Photon
|
||||
* Thu Sep 15 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.17.4-1
|
||||
- Upgrade to v0.17.4
|
||||
* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 0.16.2-2
|
||||
- openssl 1.1.1
|
||||
* Wed Aug 14 2019 Tapas Kundu <tkundu@vmware.com> 0.16.2-1
|
||||
- Initial build for Photon
|
||||
|
|
|
@ -1,59 +1,83 @@
|
|||
Summary: Check-0.12.0
|
||||
Name: check
|
||||
Version: 0.15.2
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://check.sourceforge.net/
|
||||
Source0: https://github.com/libcheck/check/archive/%{name}-%{version}.tar.gz
|
||||
%define sha1 check=54e6bae308aedab9a78a0349d839c92fc03bd2db
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Summary: Check-0.12.0
|
||||
Name: check
|
||||
Version: 0.15.2
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/libcheck/check
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
Requires: gawk
|
||||
|
||||
Source0: https://github.com/libcheck/check/archive/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=77fb34348bc1b1517801865afee5064121a245c10685e6bb6b8f743552646a0643cfdf9fd3dfbf9b2297d9430dfdd49616cf7daf41298d2dbd699f10d654a025
|
||||
|
||||
Requires: gawk
|
||||
|
||||
%description
|
||||
Check is a unit testing framework for C. It features a simple interface for defining unit tests,
|
||||
putting little in the way of the developer. Tests are run in a separate address space,
|
||||
so both assertion failures and code errors that cause segmentation faults or other signals can be caught.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and headers for developing programs with check
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Libraries and headers for developing programs with check
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
autoreconf --install
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
%make_install
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
rm %{buildroot}%{_infodir}/dir
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*so*
|
||||
%exclude %{_libdir}/*.a
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_mandir}/man1/*
|
||||
%{_infodir}/*
|
||||
/usr/share/doc/%{name}/*
|
||||
/usr/share/aclocal/*
|
||||
%{_docdir}/%{name}/*
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_datadir}/aclocal/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 01 2020 Gerrit Photon <photon-checkins@vmware.com> 0.15.2-1
|
||||
- Automatic Version Bump
|
||||
* Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 0.14.0-1
|
||||
- Automatic Version Bump
|
||||
* Thu Nov 08 2018 Alexey Makhalov <amakhalov@vmware.com> 0.12.0-2
|
||||
- Cross compilation support
|
||||
- Added required gawk
|
||||
* Wed Sep 19 2018 Ajay Kaher <akaher@vmware.com> 0.12.0-1
|
||||
- Upgraded to version 0.12.0
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.10.0-2
|
||||
- GA - Bump release of all rpms
|
||||
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 0.10.0-1
|
||||
- Updated to version 0.10.0
|
||||
* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 0.9.14-2
|
||||
- Updated group.
|
||||
* Tue Nov 25 2014 Divya Thaluru <dthaluru@vmware.com> 0.9.14-1
|
||||
- Initial build. First version
|
||||
* Thu Sep 15 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.15.2-2
|
||||
- Introduce devel subpackage
|
||||
* Tue Sep 01 2020 Gerrit Photon <photon-checkins@vmware.com> 0.15.2-1
|
||||
- Automatic Version Bump
|
||||
* Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 0.14.0-1
|
||||
- Automatic Version Bump
|
||||
* Thu Nov 08 2018 Alexey Makhalov <amakhalov@vmware.com> 0.12.0-2
|
||||
- Cross compilation support
|
||||
- Added required gawk
|
||||
* Wed Sep 19 2018 Ajay Kaher <akaher@vmware.com> 0.12.0-1
|
||||
- Upgraded to version 0.12.0
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.10.0-2
|
||||
- GA - Bump release of all rpms
|
||||
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 0.10.0-1
|
||||
- Updated to version 0.10.0
|
||||
* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 0.9.14-2
|
||||
- Updated group.
|
||||
* Tue Nov 25 2014 Divya Thaluru <dthaluru@vmware.com> 0.9.14-1
|
||||
- Initial build. First version
|
||||
|
|
|
@ -12,7 +12,7 @@ Source0: http://www.getdnsapi.net/dist/%{name}-%{version}.tar.gz
|
|||
%define sha512 %{name}=d09b8bdd0b4a3df2d25b9689166226da83a5a7eb2c7436487dc637539ac6077624a4d66cf684c4e6c4911561872c6bd191af3afd90d275b1662e4c6c47773ef6
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: check
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: libev-devel
|
||||
BuildRequires: libuv-devel
|
||||
BuildRequires: glibc-devel
|
||||
|
|
|
@ -1,30 +1,33 @@
|
|||
Summary: Program to generate documenation
|
||||
Name: gtk-doc
|
||||
Version: 1.33.2
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
URL: http://www.gnu.org/software/%{name}
|
||||
Source0: http://ftp.acc.umu.se/pub/gnome/sources/gtk-doc/1.33/gtk-doc-%{version}.tar.xz
|
||||
Summary: Program to generate documenation
|
||||
Name: gtk-doc
|
||||
Version: 1.33.2
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
URL: http://www.gnu.org/software/%{name}
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: http://ftp.acc.umu.se/pub/gnome/sources/gtk-doc/1.33/gtk-doc-%{version}.tar.xz
|
||||
%define sha512 gtk-doc=f50f68ab6b4bc59f55e84b49c1481f05700171cbf79eca9ba8f3a142a30a4ba88fe096983ebb8d117a9ef8bcea40934674096683d956f5c54cae457d31f651ab
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
Requires: libxslt
|
||||
Requires: docbook-xml
|
||||
Requires: docbook-xsl
|
||||
BuildRequires: docbook-xml >= 4.5
|
||||
BuildRequires: docbook-xsl >= 1.78.1
|
||||
BuildRequires: itstool >= 2.0.2
|
||||
BuildRequires: libxslt >= 1.1.28
|
||||
BuildRequires: itstool
|
||||
|
||||
BuildRequires: docbook-xml >= 4.5
|
||||
BuildRequires: docbook-xsl >= 1.78.1
|
||||
BuildRequires: itstool >= 2.0.2
|
||||
BuildRequires: libxslt >= 1.1.28
|
||||
BuildRequires: itstool
|
||||
BuildRequires: which
|
||||
BuildRequires: cmake
|
||||
BuildRequires: check
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-libs
|
||||
Requires: python3-Pygments
|
||||
Requires: python3
|
||||
Provides: perl(gtkdoc-common.pl)
|
||||
BuildRequires: cmake
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: python3-devel
|
||||
|
||||
Requires: libxslt
|
||||
Requires: docbook-xml
|
||||
Requires: docbook-xsl
|
||||
Requires: python3-Pygments
|
||||
Requires: python3
|
||||
Provides: perl(gtkdoc-common.pl)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
@ -35,41 +38,41 @@ specially formatted comments from the code to create API documentation.
|
|||
%autosetup -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
sh ./autogen.sh
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir} datadir=%{_datadir} install
|
||||
%make_install %{?_smp_mflags} DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir} datadir=%{_datadir}
|
||||
|
||||
%check
|
||||
cd tests && make check-TESTS
|
||||
cd tests && make check-TESTS %{?_smp_mflags}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
/usr/share/*
|
||||
%{_datadir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 1.33.2-2
|
||||
- Bump version as a part of libxslt upgrade
|
||||
* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.33.2-1
|
||||
- Automatic Version Bump
|
||||
* Mon Oct 5 2020 Michelle Wang <michellew@vmware.com> 1.33.0-1
|
||||
- Update to version 1.33.0
|
||||
* Wed Aug 26 2020 Keerthana K <keerthanak@vmware.com> 1.32-1
|
||||
- Update to version 1.32.
|
||||
* Wed Sep 12 2018 Anish Swaminathan <anishs@vmware.com> 1.29-1
|
||||
- Upgrade to 1.29
|
||||
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.25-2
|
||||
- Fix arch
|
||||
* Fri Mar 24 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.25-1
|
||||
- Upgrade to 1.25
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.24-3
|
||||
- GA - Bump release of all rpms
|
||||
* Thu Feb 25 2016 Anish Swaminathan <anishs@vmware.com> 1.24-1
|
||||
- Upgrade to 1.24
|
||||
* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 1.21.1-2
|
||||
- Updated group.
|
||||
* Mon Nov 24 2014 Divya Thaluru <dthaluru@vmware.com> 1.21-1
|
||||
- Initial build. First version
|
||||
* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 1.33.2-2
|
||||
- Bump version as a part of libxslt upgrade
|
||||
* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.33.2-1
|
||||
- Automatic Version Bump
|
||||
* Mon Oct 5 2020 Michelle Wang <michellew@vmware.com> 1.33.0-1
|
||||
- Update to version 1.33.0
|
||||
* Wed Aug 26 2020 Keerthana K <keerthanak@vmware.com> 1.32-1
|
||||
- Update to version 1.32.
|
||||
* Wed Sep 12 2018 Anish Swaminathan <anishs@vmware.com> 1.29-1
|
||||
- Upgrade to 1.29
|
||||
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.25-2
|
||||
- Fix arch
|
||||
* Fri Mar 24 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.25-1
|
||||
- Upgrade to 1.25
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.24-3
|
||||
- GA - Bump release of all rpms
|
||||
* Thu Feb 25 2016 Anish Swaminathan <anishs@vmware.com> 1.24-1
|
||||
- Upgrade to 1.24
|
||||
* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 1.21.1-2
|
||||
- Updated group.
|
||||
* Mon Nov 24 2014 Divya Thaluru <dthaluru@vmware.com> 1.21-1
|
||||
- Initial build. First version
|
||||
|
|
|
@ -1,16 +1,20 @@
|
|||
Summary: Key table files, console fonts, and keyboard utilities
|
||||
Name: kbd
|
||||
Version: 2.2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
URL: http://ftp.altlinux.org/pub/people/legion/kbd
|
||||
Group: Applications/System
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
Source0: http://ftp.altlinux.org/pub/people/legion/kbd/%{name}-%{version}.tar.xz
|
||||
%define sha512 kbd=5f407c20739487e423e8390e429d30838a1a69a0a50db083803ce56da919e25ce480b63fd1bcfac9eb362095f17e575783b09eaa55e26b442bfa3ed838e04f13
|
||||
Patch0: kbd-2.0.4-backspace-1.patch
|
||||
BuildRequires: check >= 0.9.4
|
||||
Summary: Key table files, console fonts, and keyboard utilities
|
||||
Name: kbd
|
||||
Version: 2.2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
URL: http://ftp.altlinux.org/pub/people/legion/kbd
|
||||
Group: Applications/System
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: http://ftp.altlinux.org/pub/people/legion/kbd/%{name}-%{version}.tar.xz
|
||||
%define sha512 %{name}=5f407c20739487e423e8390e429d30838a1a69a0a50db083803ce56da919e25ce480b63fd1bcfac9eb362095f17e575783b09eaa55e26b442bfa3ed838e04f13
|
||||
|
||||
Patch0: kbd-2.0.4-backspace-1.patch
|
||||
|
||||
BuildRequires: check-devel
|
||||
|
||||
Conflicts: toybox < 0.8.2-2
|
||||
|
||||
%description
|
||||
|
@ -26,10 +30,10 @@ export PKG_CONFIG_PATH=/tools/lib/pkgconfig
|
|||
%configure \
|
||||
--disable-vlock \
|
||||
--disable-silent-rules
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} %{?_smp_mflags} install
|
||||
%make_install %{?_smp_mflags}
|
||||
install -vdm 755 %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
||||
cp -R -v docs/doc/* %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
||||
rm -f %{buildroot}%{_defaultdocdir}/%{name}-%{version}/kbd.FAQ*
|
||||
|
@ -38,8 +42,8 @@ rm -f %{buildroot}%{_defaultdocdir}/%{name}-%{version}/kbd.FAQ*
|
|||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
|
@ -52,23 +56,23 @@ make %{?_smp_mflags} check
|
|||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 2.2.0-1
|
||||
- Automatic Version Bump
|
||||
* Tue Sep 01 2020 Gerrit Photon <photon-checkins@vmware.com> 2.3.0-1
|
||||
- Automatic Version Bump
|
||||
* Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 2.2.0-1
|
||||
- Automatic Version Bump
|
||||
* Thu Apr 16 2020 Alexey Makhalov <amakhalov@vmware.com> 2.0.4-4
|
||||
- Do not conflict with toybox >= 0.8.2-2
|
||||
* Tue Oct 2 2018 Michelle Wang <michellew@vmware.com> 2.0.4-3
|
||||
- Add conflict toybox.
|
||||
* Mon Sep 11 2017 Anish Swaminathan <anishs@vmware.com> 2.0.4-2
|
||||
- Remove FAQs from main package.
|
||||
* Mon Apr 03 2017 Divya Thaluru <dthaluru@vmware.com> 2.0.4-1
|
||||
- Updated to version 2.0.4.
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.0.3-2
|
||||
- GA - Bump release of all rpms.
|
||||
* Wed Jan 13 2016 Xiaolin Li <xiaolinl@vmware.com> 2.0.3-1
|
||||
- Updated to version 2.0.3.
|
||||
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.0.1-1
|
||||
- Initial build First version.
|
||||
* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 2.2.0-1
|
||||
- Automatic Version Bump
|
||||
* Tue Sep 01 2020 Gerrit Photon <photon-checkins@vmware.com> 2.3.0-1
|
||||
- Automatic Version Bump
|
||||
* Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 2.2.0-1
|
||||
- Automatic Version Bump
|
||||
* Thu Apr 16 2020 Alexey Makhalov <amakhalov@vmware.com> 2.0.4-4
|
||||
- Do not conflict with toybox >= 0.8.2-2
|
||||
* Tue Oct 2 2018 Michelle Wang <michellew@vmware.com> 2.0.4-3
|
||||
- Add conflict toybox.
|
||||
* Mon Sep 11 2017 Anish Swaminathan <anishs@vmware.com> 2.0.4-2
|
||||
- Remove FAQs from main package.
|
||||
* Mon Apr 03 2017 Divya Thaluru <dthaluru@vmware.com> 2.0.4-1
|
||||
- Updated to version 2.0.4.
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.0.3-2
|
||||
- GA - Bump release of all rpms.
|
||||
* Wed Jan 13 2016 Xiaolin Li <xiaolinl@vmware.com> 2.0.3-1
|
||||
- Updated to version 2.0.3.
|
||||
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.0.1-1
|
||||
- Initial build First version.
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
Summary: Library for manipulating pipelines
|
||||
Name: libpipeline
|
||||
Version: 1.5.5
|
||||
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 sha512 libpipeline=adb228325c1f11e9f3566f2fc63541a90c88fe24656fc74ed0294d1eb3b80073bf4741fe7c289f53b340702145b11637d37682e3036dce41ec0fe45dcc6d62c5
|
||||
Summary: Library for manipulating pipelines
|
||||
Name: libpipeline
|
||||
Version: 1.5.5
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3+
|
||||
URL: http://libpipeline.nongnu.org
|
||||
Group: Applications/System
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
%if %{with_check}
|
||||
BuildRequires: check
|
||||
Source0: http://download.savannah.gnu.org/releases/libpipeline/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=adb228325c1f11e9f3566f2fc63541a90c88fe24656fc74ed0294d1eb3b80073bf4741fe7c289f53b340702145b11637d37682e3036dce41ec0fe45dcc6d62c5
|
||||
|
||||
%if 0%{?with_check}
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: pkg-config
|
||||
%endif
|
||||
|
||||
|
@ -19,36 +20,39 @@ BuildRequires: pkg-config
|
|||
Contains a library for manipulating pipelines of sub processes
|
||||
in a flexible and convenient way.
|
||||
|
||||
%package devel
|
||||
%package devel
|
||||
Summary: Library providing headers and static libraries to libpipeline
|
||||
Group: Development/Libraries
|
||||
Requires: libpipeline = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: pkgconfig(libpipeline)
|
||||
|
||||
%description devel
|
||||
%description devel
|
||||
Development files for libpipeline
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} %{?_smp_mflags} install
|
||||
#find %{buildroot}/%{_libdir} -name '*.la' -delete
|
||||
%make_install %{?_smp_mflags}
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
make -C tests check %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.la
|
||||
|
|
|
@ -8,12 +8,12 @@ Group: Applications/System
|
|||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: https://github.com/rpm-software-management/librepo/archive/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}-%{version}=cbed7b6ab551366cc9cf9b5e8ac90cfc7395f6e79a1b44b1dcbf1e3ed6edcc644a339cca4efb4560d139355a893d00b6ac1b2e7116478f5bff3c8bfa5fdeb950
|
||||
Source0: https://github.com/rpm-software-management/librepo/archive/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}-%{version}=cbed7b6ab551366cc9cf9b5e8ac90cfc7395f6e79a1b44b1dcbf1e3ed6edcc644a339cca4efb4560d139355a893d00b6ac1b2e7116478f5bff3c8bfa5fdeb950
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: check
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: glib-devel
|
||||
BuildRequires: gpgme-devel
|
||||
BuildRequires: attr-devel
|
||||
|
@ -81,16 +81,19 @@ pip3 install pygpgme xattr
|
|||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%doc README.md
|
||||
%{_libdir}/%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_includedir}/%{name}/
|
||||
|
||||
%files -n python3-librepo
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/%{name}/
|
||||
|
||||
%changelog
|
||||
|
|
|
@ -8,11 +8,11 @@ License: Apache2.0
|
|||
URL: http://www.vmware.com
|
||||
Distribution: Photon
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
%define sha1 netmgmt=e08b88b8c9b11a226d5483a6d978e70e96ef7464
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=345c83eb8635d96c66d2926ae543ad872798036a3b68cd07f6c68d42537b71585692ce30f2537ec732143f506bac40e3e1a126aa19c8647627d6ca26899b74a8
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: check >= 0.9.4
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: docker >= 1.12
|
||||
BuildRequires: glib-devel
|
||||
|
||||
|
@ -29,7 +29,7 @@ Network management utilities for PhotonOS
|
|||
%package devel
|
||||
Summary: netmgmt development headers and libraries
|
||||
Group: Development/Libraries
|
||||
Requires: netmgmt = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
header files and libraries for netmgmt
|
||||
|
@ -37,7 +37,7 @@ header files and libraries for netmgmt
|
|||
%package cli-devel
|
||||
Summary: netmgmt development cli headers and libraries
|
||||
Group: Development/Libraries
|
||||
Requires: netmgmt = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description cli-devel
|
||||
header files and libraries for netmgmt cli
|
||||
|
@ -53,13 +53,11 @@ export CFLAGS="-O2 -g -Wno-error=format-truncation -Wno-error=restrict -Wno-erro
|
|||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
%make_install %{?_smp_mflags}
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
# First argument is 1 => New Installation
|
||||
# First argument is 2 => Upgrade
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
@ -68,17 +66,17 @@ find %{buildroot} -name '*.la' -delete
|
|||
%{_lib64dir}/libnetmgrcli.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/netmgmt/netmgr.h
|
||||
%{_lib64dir}/libnetmgr.a
|
||||
%{_lib64dir}/libnetmgr.so
|
||||
|
||||
%files cli-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/netmgmt/netmgrcli.h
|
||||
%{_lib64dir}/libnetmgrcli.a
|
||||
%{_lib64dir}/libnetmgrcli.so
|
||||
|
||||
#%%doc ChangeLog README COPYING
|
||||
|
||||
%changelog
|
||||
* Fri Apr 03 2020 Alexey Makhalov <amakhalov@vmware.com> 1.2.0-3
|
||||
- Fix compilation issue with gcc-8.4.0
|
||||
|
|
|
@ -19,7 +19,7 @@ Patch0: rpm-ostree-libdnf-build.patch
|
|||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: check
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: git
|
||||
|
@ -38,8 +38,7 @@ BuildRequires: openssl-devel
|
|||
BuildRequires: rpm-devel
|
||||
BuildRequires: librepo-devel
|
||||
BuildRequires: attr-devel
|
||||
BuildRequires: python3-libs
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: autogen
|
||||
BuildRequires: libsolv-devel >= 0.7.19
|
||||
BuildRequires: libsolv
|
||||
|
|
Loading…
Reference in New Issue