update to 21.6 [release 21.6-1mamba;Tue Aug 19 2014]
This commit is contained in:
parent
26dd124bc9
commit
7fce7656c0
24
hwinfo.spec
24
hwinfo.spec
@ -1,5 +1,5 @@
|
||||
Name: hwinfo
|
||||
Version: 20.1
|
||||
Version: 21.6
|
||||
Release: 1mamba
|
||||
Summary: Hardware information tool
|
||||
Group: System/Kernel and Hardware
|
||||
@ -16,7 +16,8 @@ URL: http://gitorious.org/opensuse/hwinfo
|
||||
# git checkout ${stable_version:?no stable version}
|
||||
# name=$name-$stable_version
|
||||
# git archive --format=tar --prefix=$name/ HEAD | bzip2 -9 > $(rpm --eval %_sourcedir)/$name.tar.bz2
|
||||
Source: git://gitorious.org/opensuse/hwinfo.git/%{version}/hwinfo-%{version}.tar.bz2
|
||||
Source: https://github.com/openSUSE/hwinfo.git/%{version}/hwinfo-%{version}.tar.bz2
|
||||
#Source: git://gitorious.org/opensuse/hwinfo.git/%{version}/hwinfo-%{version}.tar.bz2
|
||||
Patch: hwinfo-16.12-tiocgdev_undefined.patch
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -49,12 +50,18 @@ This package contains static libraries and header files need for development.
|
||||
#%patch
|
||||
|
||||
%build
|
||||
%make -j1 GIT2LOG=/bin/true
|
||||
%make -j1 \
|
||||
GIT2LOG=/bin/true \
|
||||
LIBDIR=%{_libdir}
|
||||
|
||||
make doc
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall GIT2LOG=/bin/true
|
||||
%makeinstall \
|
||||
GIT2LOG=/bin/true \
|
||||
LIBDIR=%{_libdir}
|
||||
|
||||
install -D -m 644 doc/hwinfo.8 %{buildroot}%{_mandir}/man8/hwinfo.8
|
||||
install -d %{buildroot}%{_localstatedir}/lib/hardware/udi
|
||||
|
||||
@ -68,10 +75,10 @@ install -d %{buildroot}%{_localstatedir}/lib/hardware/udi
|
||||
%{_sbindir}/getsysinfo
|
||||
%{_libdir}/libhd.so.*
|
||||
%{_datadir}/hwinfo
|
||||
%{_mandir}/man8/hwinfo.8.gz
|
||||
%{_mandir}/man8/hwinfo.8*
|
||||
%dir %{_localstatedir}/lib/hardware
|
||||
%dir %{_localstatedir}/lib/hardware/udi
|
||||
%doc COPYING README
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -80,9 +87,12 @@ install -d %{buildroot}%{_localstatedir}/lib/hardware/udi
|
||||
%{_includedir}/hd.h
|
||||
%{_libdir}/libhd.so
|
||||
%{_libdir}/pkgconfig/hwinfo.pc
|
||||
%doc doc/libhd/html
|
||||
%doc doc/libhd/html README
|
||||
|
||||
%changelog
|
||||
* Tue Aug 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 21.6-1mamba
|
||||
- update to 21.6
|
||||
|
||||
* Tue Apr 30 2013 Automatic Build System <autodist@mambasoft.it> 20.1-1mamba
|
||||
- update to 20.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user