97 lines
2.6 KiB
RPMSpec
97 lines
2.6 KiB
RPMSpec
%define name libvpd
|
|
%define version 1.5.0
|
|
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: 2%{?dist}
|
|
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
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: db4-devel zlib-devel libstdc++-devel
|
|
|
|
%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
|
|
Requires: %{name} = %{version}-%{release} db4-devel pkgconfig
|
|
%description devel
|
|
Contains header files for building with libvpd.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%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
|
|
%{_libdir}/libvpd_cxx-1.5.so.*
|
|
%{_libdir}/libvpd-1.5.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%exclude %{_libdir}/*.la
|
|
%{_includedir}/libvpd-1
|
|
%{_libdir}/libvpd_cxx.so
|
|
%{_libdir}/libvpd.so
|
|
%{_libdir}/pkgconfig/libvpd-1.pc
|
|
%{_libdir}/pkgconfig/libvpd_cxx-1.pc
|
|
|
|
%changelog
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0-2
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* 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
|