2008-01-25 16:10:26 +00:00
|
|
|
%define name libvpd
|
2011-08-10 08:07:24 +00:00
|
|
|
%define version 2.1.3
|
2008-01-25 16:10:26 +00:00
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
2012-01-18 11:23:11 +00:00
|
|
|
Release: 4%{?dist}
|
2008-01-25 16:10:26 +00:00
|
|
|
Summary: VPD Database access library for lsvpd
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://linux-diag.sf.net/Lsvpd.html
|
|
|
|
Source: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
|
2012-01-18 11:23:11 +00:00
|
|
|
|
|
|
|
Patch1: libvpd-2.1.3-gcc47.patch
|
|
|
|
|
2008-01-25 16:10:26 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2011-08-10 08:07:24 +00:00
|
|
|
BuildRequires: sqlite-devel zlib-devel libstdc++-devel libtool
|
2008-01-25 16:10:26 +00:00
|
|
|
|
2011-11-23 07:44:59 +00:00
|
|
|
ExclusiveArch: ppc ppc64
|
|
|
|
|
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
|
|
|
|
Group: Development/Libraries
|
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
|
|
|
|
|
2012-01-18 11:23:11 +00:00
|
|
|
%patch1 -p1 -b .gcc47
|
|
|
|
|
2008-01-25 16:10:26 +00:00
|
|
|
%build
|
2011-08-10 08:07:24 +00:00
|
|
|
./bootstrap.sh
|
2008-01-25 16:10:26 +00:00
|
|
|
%configure --disable-static
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING NEWS README TODO AUTHORS
|
|
|
|
%exclude %{_libdir}/*.la
|
2008-08-14 21:30:12 +00:00
|
|
|
%{_libdir}/libvpd_cxx-2.1.so.*
|
|
|
|
%{_libdir}/libvpd-2.1.so.*
|
2008-01-25 16:10:26 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%exclude %{_libdir}/*.la
|
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
|
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
|
|
|
|
|
2012-01-13 08:38:35 +00:00
|
|
|
* 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
|
|
|
|
|
2011-02-14 13:43:43 +00:00
|
|
|
* Mon Feb 14 2011 Jiri Skala <jskala@redhat.com> 2.1.2-1
|
|
|
|
- Update to latest upstream 2.1.2
|
|
|
|
- fixes library numbering
|
|
|
|
|
2011-02-08 12:43:29 +00:00
|
|
|
* 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
|
|
|
|
|
2009-11-18 11:43:18 +00:00
|
|
|
* Wed Nov 18 2009 Eric Munson <ebmunson@us.ibm.com> - 2.1.0-5
|
|
|
|
- Bump dist for rebuild for broken dependencies
|
|
|
|
|
2009-07-25 08:53:58 +00:00
|
|
|
* 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
|
|
|
|
|
2009-02-25 19:54:04 +00:00
|
|
|
* 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
|