forked from power-ras/libvpd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
libvpd.spec.in
145 lines (110 loc) · 4.41 KB
/
libvpd.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
%define name libvpd
%define version @VERSION@
Name: %{name}
Version: %{version}
Release: 1%{?dist}
Summary: VPD Database access library for lsvpd
Group: System Environment/Libraries
License: LGPLv2+
Vendor: IBM Corp.
ExclusiveArch: ppc64 ppc ppc64le
URL: https://github.com/power-ras/%{name}/releases
Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: sqlite-devel zlib-devel libstdc++-devel
BuildRequires: libtool automake
%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} sqlite-devel pkgconfig
%description devel
Contains header files for building with libvpd.
%prep
%setup -q
%build
./bootstrap.sh
%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 README
%exclude %{_libdir}/*.la
%{_libdir}/libvpd_cxx-@[email protected].*
%{_libdir}/libvpd-@[email protected].*
%{_sysconfdir}/udev/rules.d/90-vpdupdate.rules
%files devel
%defattr(-,root,root,-)
%exclude %{_libdir}/*.la
%{_includedir}/libvpd-2
%{_libdir}/libvpd_cxx.so
%{_libdir}/libvpd.so
%{_libdir}/pkgconfig/libvpd-2.pc
%{_libdir}/pkgconfig/libvpd_cxx-2.pc
%changelog
* Fri Nov 06 2020 Vasant Hegde <[email protected]> 2.2.8
- VpdDbEnv: Make the sqlite operations asynchronous
* Tue Jun 12 2018 Vasant Hegde <[email protected]> 2.2.6
- Changes run.vpdupdate creation path from /var/lib/lsvpd to /run
* Tue Nov 03 2015 Vasant Hegde <[email protected]> 2.2.5
- Fixed security issues like buffer overflow, memory allocation validation
- Replaced popen with secured version
- Improved error handling
* Thu Aug 14 2014 Vasant Hegde <[email protected]> 2.2.4
- Cleanup build tools
- Shift configure.in to configure.ac
- Remove out dated debian directory
* Thu Mar 13 2014 Suzuki K Poulose <[email protected]> 2.2.3
- Relese version 2.2.3
* Tue Nov 5 2013 Suzuki K Poulose <[email protected]> 2.2.2-0
- Release version 2.2.2
* Thu Oct 31 2013 Phani Yadav <[email protected]>
- Automation of vpdupdate
* Wed Feb 20 2013 Harsh P Bora <[email protected]> 2.2.1-1
- Added Vendor tag in RPM package.
* Fri Jan 18 2013 Harsh P Bora <[email protected]> 2.2.1-0
- Fixed a possible segfault when fetching a corrupt vpd database
* Fri Dec 4 2009 Jim Keniston <[email protected]> 2.1.2-0
- Fixed a pack/unpack mismatch that was introduced with N5/N6 support.
For every Component, all 28 DataItems between sysFsNode and plantMfg
were getting the wrong values.
* Mon Mar 17 2008 Eric Munson <[email protected]> 2.0.1-1
- Update for libvpd-2.0.1
* Tue Feb 26 2008 Eric Munson <[email protected]> 2.0.0-2
- Updating release number for new build in FC
* Mon Feb 25 2008 Eric Munson <[email protected]> 2.0.0-1
- Updated library to use sqlite instead of berkeley db.
* Mon Feb 18 2008 Fedora Release Engineering <[email protected]> - 1.5.0-2
- Autorebuild for GCC 4.3
* Mon Jan 7 2008 Eric Munson <[email protected]> -1.5.0-1
- Moved pkgconfig to devel Requires
- Updated %%defattrs to -,root,root,-
- Added AUTHORS to %%doc
* Thu Jan 3 2008 Eric Munson <[email protected]> - 1.5.0-0
- Updated Requires and Provides fields per fedora community request
* Fri Dec 7 2007 Brad Peters <[email protected]> - 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 <[email protected]> - 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 <[email protected]> - 1.4.0-2
- Changing files lists for libdirs to match library file names
* Tue Oct 30 2007 Eric Munson <[email protected]> - 1.4.0-1
- Adding C Library to files lists.
* Sat Oct 20 2007 Ralf Corsepius <[email protected]> - 1.3.5-4
- Various spec-file fixes.
* Fri Oct 19 2007 Eric Munson <[email protected]> - 1.3.5-3
- Removed hard coded /usr/lib from spec file
- Install now sets all headers to 644
- Updated license