libvpd/libvpd.spec

245 lines
8.4 KiB
RPMSpec
Raw Normal View History

2016-07-11 07:54:54 +00:00
Name: libvpd
2020-07-09 12:20:57 +00:00
Version: 2.2.7
Release: 2%{?dist}
2008-01-25 16:10:26 +00:00
Summary: VPD Database access library for lsvpd
License: LGPLv2+
2019-12-02 13:34:12 +00:00
URL: https://github.com/power-ras/%{name}/releases
Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
2012-01-18 11:23:11 +00:00
2018-07-20 15:15:54 +00:00
BuildRequires: gcc-c++
2011-08-10 08:07:24 +00:00
BuildRequires: sqlite-devel zlib-devel libstdc++-devel libtool
2008-01-25 16:10:26 +00:00
2018-07-06 10:27:02 +00:00
ExclusiveArch: %{power64}
2011-11-23 07:44:59 +00:00
2008-01-25 16:10:26 +00:00
%description
The libvpd package contains the classes that are used to access a vpd database
created by vpdupdate in the lsvpd package.
%package devel
Summary: Header files for libvpd
2008-02-25 19:01:40 +00:00
Requires: %{name} = %{version}-%{release} sqlite-devel pkgconfig
2008-01-25 16:10:26 +00:00
%description devel
Contains header files for building with libvpd.
%prep
%setup -q
%build
2011-08-10 08:07:24 +00:00
./bootstrap.sh
2008-01-25 16:10:26 +00:00
%configure --disable-static
2016-07-11 07:44:14 +00:00
make %{?_smp_mflags}
2008-01-25 16:10:26 +00:00
%install
2016-07-11 07:44:14 +00:00
make install DESTDIR=$RPM_BUILD_ROOT
find %{buildroot} -type f -name "*.la" -delete
2008-01-25 16:10:26 +00:00
# re-symlink *.so to SONAME, fix the symlinks issue by downgrade/upgrade
pushd %{buildroot}%{_libdir}
v=%{version}
version=$(echo ${v%.[0-9]*})
for lib in libvpd libvpd_cxx; do
rm -f ${lib}.so
ln -s ${lib}-${version}.so.2 ${lib}.so
done
popd
2008-01-25 16:10:26 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
2016-07-11 07:44:14 +00:00
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc README
2013-05-18 16:57:31 +00:00
%{_libdir}/libvpd_cxx-2.2.so.*
%{_libdir}/libvpd-2.2.so.*
%{_sysconfdir}/udev/rules.d/90-vpdupdate.rules
2008-01-25 16:10:26 +00:00
%files devel
2008-02-25 19:01:40 +00:00
%{_includedir}/libvpd-2
2008-01-25 16:10:26 +00:00
%{_libdir}/libvpd_cxx.so
%{_libdir}/libvpd.so
2008-02-25 19:01:40 +00:00
%{_libdir}/pkgconfig/libvpd-2.pc
%{_libdir}/pkgconfig/libvpd_cxx-2.pc
2008-01-25 16:10:26 +00:00
%changelog
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-09 12:20:57 +00:00
* Thu Jul 09 2020 Than Ngo <than@redhat.com> - 2.2.7-1
- rebase to 2.2.7
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-12-02 13:34:12 +00:00
* Mon Dec 02 2019 Than Ngo <than@redhat.com> - 2.2.6-6
- Update Url and Source
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-07-20 15:15:54 +00:00
* Fri Jul 20 2018 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.2.6-3
- Add gcc-c++ as BuildRequires
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-07-06 10:27:02 +00:00
* Fri Jul 06 2018 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.2.6-1
- Rebase to 2.2.6
- run.vpdupdate is now created in /run instead of /var/lib/lsvpd/
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-07-11 07:54:54 +00:00
* Mon Jul 11 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.2.5-4
2016-07-11 07:44:14 +00:00
- Spec cleanups
- Use %%license
* Mon Mar 21 2016 Than Ngo <than@redhat.com> - 2.2.5-3
- re-symlink *.so to SONAME, fix the symlinks issue by downgrade/upgrade
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Nov 16 2015 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.2.5
- Update to latest upstream 2.2.5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-05-02 21:58:09 +00:00
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.2.4-3
- Rebuilt for GCC 5 C++11 ABI change
* Mon Sep 22 2014 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.2.4-2
- Remove NEWS file
* Mon Sep 22 2014 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.2.4
- Update to latest upstream 2.2.4
2014-08-01 16:15:48 +00:00
* Fri Aug 01 2014 Brent Baude <bbaude@redhat.com> - 2.2.3-3
- NVR bump for Fedora 21 build on merged koji
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Mar 12 2014 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.2.3
- Update to latest upstream 2.2.3
* Tue Nov 05 2013 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.2.2
- Update to latest upstream 2.2.2
* Wed Oct 09 2013 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.2.1-4
- Add ppc64le architecture
* Sun Sep 15 2013 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.2.1-3
- Remove TODO file from spec
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-05-18 16:57:31 +00:00
* Sat May 18 2013 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.2.1
- Update to latest upstream 2.2.1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-02-28 19:05:43 +00:00
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-5
- Rebuilt for c++ ABI breakage
2012-01-18 11:23:11 +00:00
* Wed Jan 18 2012 Jiri Skala <jskala@redhat.com> 2.1.3-4
- fix for gcc-4.7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-11-23 07:44:59 +00:00
* Wed Nov 23 2011 Jiri Skala <jskala@redhat.com> 2.1.3-2
- added ExclusiveArch for ppc[64]
2011-08-10 08:07:24 +00:00
* Wed Aug 10 2011 Jiri Skala <jskala@redhat.com> 2.1.3-1
- update to latest upstream 2.1.3
2011-02-14 14:26:35 +00:00
* Mon Feb 14 2011 Jiri Skala <jskala@redhat.com> 2.1.2-2
- rebuild due to tag correction
* Mon Feb 14 2011 Jiri Skala <jskala@redhat.com> 2.1.2-1
- Update to latest upstream 2.1.2
- fixes library numbering
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2009-12-02 10:53:41 +00:00
* Wed Dec 02 2009 Eric Munson <ebmunson@us.ibm.com> - 2.1.1-1
- Update to latest libvpd release
* Wed Nov 18 2009 Eric Munson <ebmunson@us.ibm.com> - 2.1.0-5
- Bump dist for rebuild for broken dependencies
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-03-16 11:34:48 +00:00
* Mon Mar 16 2009 Eric Munson <ebmunson@us.ibm.com> 2.1.0-3
- Bump dist for rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-03-17 23:56:12 +00:00
* Mon Mar 17 2008 Eric Munson <ebmunson@us.ibm.com> 2.0.1-1
- Update for libvpd-2.0.1
2008-02-26 19:08:05 +00:00
* Tue Feb 26 2008 Eric Munson <ebmunson@us.ibm.com> 2.0.0-2
- Updating release number for new build in FC
* Mon Feb 25 2008 Eric Munson <ebmunson@us.ibm.com> 2.0.0-1
2008-02-25 19:01:40 +00:00
- Updated library to use sqlite instead of berkeley db.
2008-02-19 02:29:39 +00:00
2008-02-26 19:08:05 +00:00
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-2
- Autorebuild for GCC 4.3
2008-01-25 16:10:26 +00:00
* Mon Jan 7 2008 Eric Munson <ebmunson@us.ibm.com> -1.5.0-1
- Moved pkgconfig to devel Requires
- Updated %%defattrs to -,root,root,-
- Added AUTHORS to %%doc
* Thu Jan 3 2008 Eric Munson <ebmunson@us.ibm.com> - 1.5.0-0
- Updated Requires and Provides fields per fedora community request
* Fri Dec 7 2007 Brad Peters <bpeters@us.ibm.com> - 1.4.2-0
- Added functions to helper_functions class
- Mnior changes necessary to support new device discovery method
* Fri Nov 16 2007 Eric Munson <ebmunson@us.ibm.com> - 1.4.1-1
- Removing INSTALL from docs and docs from -devel package
- Fixing Makfile.am so libraries have the .so extension
- Using %%configure, %%{__make}, and %%{__rm} calls
- Changing source URL
* Wed Oct 31 2007 Eric Munson <ebmunson@us.ibm.com> - 1.4.0-2
- Changing files lists for libdirs to match library file names
* Tue Oct 30 2007 Eric Munson <ebmunson@us.ibm.com> - 1.4.0-1
- Adding C Library to files lists.
* Sat Oct 20 2007 Ralf Corsepius <rc040203@freenet.de> - 1.3.5-4
- Various spec-file fixes.
* Fri Oct 19 2007 Eric Munson <ebmunson@us.ibm.com> - 1.3.5-3
- Removed hard coded /usr/lib from spec file
- Install now sets all headers to 644
- Updated license