- 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:
Jean Delvare 2014-01-28 11:59:07 +00:00 committed by Git OBS Bridge
parent 8af52e962b
commit 827dedd104
2 changed files with 26 additions and 11 deletions

View File

@ -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 Wed Jan 22 10:24:21 CET 2014 - jdelvare@suse.de

View File

@ -101,16 +101,13 @@ make %{?_smp_mflags} PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} M
%install %install
make PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT 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 $RPM_BUILD_ROOT/%{_docdir}/sensord
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/sensors cp -a doc/donations doc/fan-divisors \
cp -a donations $RPM_BUILD_ROOT/%{_docdir}/sensors/ doc/fancontrol.txt doc/libsensors-API.txt \
cp -a fan-divisors $RPM_BUILD_ROOT/%{_docdir}/sensors/ doc/progs doc/temperature-sensors \
cp -a fancontrol.txt $RPM_BUILD_ROOT/%{_docdir}/sensors/ doc/vid COPYING COPYING.LGPL $RPM_BUILD_ROOT/%{_docdir}/sensors/
cp -a temperature-sensors $RPM_BUILD_ROOT/%{_docdir}/sensors/ cp -a COPYING $RPM_BUILD_ROOT/%{_docdir}/sensord/
cp -a vid $RPM_BUILD_ROOT/%{_docdir}/sensors/ chmod -R u+rwX,g+rX,o+rX $RPM_BUILD_ROOT/%{_docdir}/sensors/ $RPM_BUILD_ROOT/%{_docdir}/sensord/
cp -a progs $RPM_BUILD_ROOT/%{_docdir}/sensors/
chmod -R u+rwX,g+rX,o+rX $RPM_BUILD_ROOT/%{_docdir}/sensors/
cd ../
chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libsensors.so.* chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libsensors.so.*
mkdir -p $RPM_BUILD_ROOT/%{_unitdir} mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
cp -a prog/init/*.service $RPM_BUILD_ROOT/%{_unitdir}/ cp -a prog/init/*.service $RPM_BUILD_ROOT/%{_unitdir}/
@ -166,7 +163,14 @@ fi
%endif %endif
/usr/sbin/pwmconfig /usr/sbin/pwmconfig
/usr/sbin/sensors-detect /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/man1/*.1.gz
%doc /usr/share/man/man8/fancontrol.8.gz %doc /usr/share/man/man8/fancontrol.8.gz
%ifarch i386 i486 i586 i686 x86_64 %ifarch i386 i486 i586 i686 x86_64
@ -181,6 +185,8 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
%{_unitdir}/sensord.service %{_unitdir}/sensord.service
/usr/sbin/sensord /usr/sbin/sensord
%dir %{_docdir}/sensord
%doc %{_docdir}/sensord/COPYING
%doc /usr/share/man/man8/sensord.8.gz %doc /usr/share/man/man8/sensord.8.gz
%files -n libsensors4 %files -n libsensors4
@ -188,12 +194,16 @@ fi
%config /etc/sensors3.conf %config /etc/sensors3.conf
%config /etc/sensors.d/ %config /etc/sensors.d/
%{_libdir}/libsensors.so.4* %{_libdir}/libsensors.so.4*
%dir %{_docdir}/sensors
%doc %{_docdir}/sensors/COPYING.LGPL
%doc /usr/share/man/man5/*.5.gz %doc /usr/share/man/man5/*.5.gz
%files -n libsensors4-devel %files -n libsensors4-devel
%defattr(-,root,root) %defattr(-,root,root)
/usr/include/sensors/ /usr/include/sensors/
%{_libdir}/libsensors.so %{_libdir}/libsensors.so
%dir %{_docdir}/sensors
%doc %{_docdir}/sensors/libsensors-API.txt
%doc /usr/share/man/man3/*.3.gz %doc /usr/share/man/man3/*.3.gz
%changelog %changelog