- Package COPYING and COPYING.LGPL.
OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=75
This commit is contained in:
parent
8af52e962b
commit
827dedd104
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 09:08:45 CET 2014 - jdelvare@suse.de
|
||||
|
||||
- Package COPYING and COPYING.LGPL.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 10:24:21 CET 2014 - jdelvare@suse.de
|
||||
|
||||
|
32
sensors.spec
32
sensors.spec
@ -101,16 +101,13 @@ make %{?_smp_mflags} PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} M
|
||||
|
||||
%install
|
||||
make PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install
|
||||
cd doc/
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/sensors
|
||||
cp -a donations $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
||||
cp -a fan-divisors $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
||||
cp -a fancontrol.txt $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
||||
cp -a temperature-sensors $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
||||
cp -a vid $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
||||
cp -a progs $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
||||
chmod -R u+rwX,g+rX,o+rX $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
||||
cd ../
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/sensors $RPM_BUILD_ROOT/%{_docdir}/sensord
|
||||
cp -a doc/donations doc/fan-divisors \
|
||||
doc/fancontrol.txt doc/libsensors-API.txt \
|
||||
doc/progs doc/temperature-sensors \
|
||||
doc/vid COPYING COPYING.LGPL $RPM_BUILD_ROOT/%{_docdir}/sensors/
|
||||
cp -a COPYING $RPM_BUILD_ROOT/%{_docdir}/sensord/
|
||||
chmod -R u+rwX,g+rX,o+rX $RPM_BUILD_ROOT/%{_docdir}/sensors/ $RPM_BUILD_ROOT/%{_docdir}/sensord/
|
||||
chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libsensors.so.*
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
|
||||
cp -a prog/init/*.service $RPM_BUILD_ROOT/%{_unitdir}/
|
||||
@ -166,7 +163,14 @@ fi
|
||||
%endif
|
||||
/usr/sbin/pwmconfig
|
||||
/usr/sbin/sensors-detect
|
||||
%doc %{_docdir}/sensors/
|
||||
%dir %{_docdir}/sensors
|
||||
%doc %{_docdir}/sensors/donations
|
||||
%doc %{_docdir}/sensors/fan-divisors
|
||||
%doc %{_docdir}/sensors/fancontrol.txt
|
||||
%doc %{_docdir}/sensors/progs
|
||||
%doc %{_docdir}/sensors/temperature-sensors
|
||||
%doc %{_docdir}/sensors/vid
|
||||
%doc %{_docdir}/sensors/COPYING
|
||||
%doc /usr/share/man/man1/*.1.gz
|
||||
%doc /usr/share/man/man8/fancontrol.8.gz
|
||||
%ifarch i386 i486 i586 i686 x86_64
|
||||
@ -181,6 +185,8 @@ fi
|
||||
%defattr(-,root,root)
|
||||
%{_unitdir}/sensord.service
|
||||
/usr/sbin/sensord
|
||||
%dir %{_docdir}/sensord
|
||||
%doc %{_docdir}/sensord/COPYING
|
||||
%doc /usr/share/man/man8/sensord.8.gz
|
||||
|
||||
%files -n libsensors4
|
||||
@ -188,12 +194,16 @@ fi
|
||||
%config /etc/sensors3.conf
|
||||
%config /etc/sensors.d/
|
||||
%{_libdir}/libsensors.so.4*
|
||||
%dir %{_docdir}/sensors
|
||||
%doc %{_docdir}/sensors/COPYING.LGPL
|
||||
%doc /usr/share/man/man5/*.5.gz
|
||||
|
||||
%files -n libsensors4-devel
|
||||
%defattr(-,root,root)
|
||||
/usr/include/sensors/
|
||||
%{_libdir}/libsensors.so
|
||||
%dir %{_docdir}/sensors
|
||||
%doc %{_docdir}/sensors/libsensors-API.txt
|
||||
%doc /usr/share/man/man3/*.3.gz
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user