Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
smolt
smolt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File smolt.spec of Package smolt
# # spec file for package smolt (Version 1.4.2.2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: smolt Summary: Hardware Profiler Version: 1.4.2.2 Release: 2 License: GPLv3+ Group: Hardware/Other Url: https://hosted.fedoraproject.org/projects/smolt/ Source0: %{name}-%{version}.tar.bz2 Source1: smolt.init Patch1: smolt-1.1.1.1-desktop_file.patch Patch2: smolt-%version-make_install.patch Patch3: smolt-add-rootfs-to-profile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: dbus-1-python python-urlgrabber cron python-simplejson BuildRequires: fdupes gettext update-desktop-files PreReq: /bin/cat coreutils %description The smolt hardware profiler is a server-client system that does a hardware scan against a machine and sends the results to a public Fedora Project turbogears server. The sends are anonymous and should not contain any private information other than the physical hardware information and basic OS info. This package contains the smolt client %package -n smolt-gui Summary: Smolt GUI License: GPLv3+ Group: Hardware/Other Requires: %{name} = %{version} python-qt4 Supplements: packageand(python-qt4:smolt) Recommends: ksmolt %description -n smolt-gui The smolt hardware profiler is a server-client system that does a hardware scan against a machine and sends the results to a public Fedora Project turbogears server. The sends are anonymous and should not contain any private information other than the physical hardware information and basic OS info. This package contains the smolt client gui %prep %setup -q %patch1 %patch2 %patch3 -p1 cp %{S:1} . %build cd client/ make %install pushd client make DESTDIR=$RPM_BUILD_ROOT install install -D -m 755 %{S:1} %{buildroot}/%{_initrddir}/smolt ln -s %{_initrddir}/smolt %{buildroot}/%_bindir/rcsmolt touch %{buildroot}/%{_sysconfdir}/smolt/hw-uuid rm -rf %{buildroot}/usr/share/locale/sr@latin %{buildroot}/usr/share/locale/default rm -rf %{buildroot}/usr/share/smolt/client/smoltFirstBoot.py popd %fdupes %{buildroot} %suse_update_desktop_file -G "Desktop Profiler" %name %find_lang %name mkdir -p %buildroot/var/run touch %buildroot/var/run/smolt_do_opensuse_run %clean rm -rf %{buildroot} %pre if [ -f %{_sysconfdir}/smolt/uuid -a ! -f %{_sysconfdir}/smolt/hw-uuid ] then /bin/mv %{_sysconfdir}/smolt/uuid %{_sysconfdir}/smolt/hw-uuid /bin/chmod 0644 %{_sysconfdir}/smolt/hw-uuid /bin/chown root:root %{_sysconfdir}/smolt/hw-uuid fi %post if ! [ -f %{_sysconfdir}/smolt/hw-uuid ] then /bin/cat /proc/sys/kernel/random/uuid > %{_sysconfdir}/smolt/hw-uuid /bin/chmod 0644 %{_sysconfdir}/smolt/hw-uuid /bin/chown root:root %{_sysconfdir}/smolt/hw-uuid fi %preun %stop_on_removal smolt %postun %insserv_cleanup %files -f %{name}.lang %defattr(-,root,root,-) %doc README GPL doc/* %dir %{_sysconfdir}/smolt %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/client %dir %{_datadir}/%{name}/doc %ghost %{_sysconfdir}/smolt/hw-uuid %config(noreplace)%{_sysconfdir}/smolt/config.py %{_bindir}/rcsmolt %{_bindir}/smoltDeleteProfile %{_bindir}/smoltSendProfile %config %{_sysconfdir}/cron.d/%{name} %{_initrddir}/%{name} %{_datadir}/%{name}/client/__init__.py %{_datadir}/%{name}/client/config.py %{_datadir}/%{name}/client/deleteProfile.py %{_datadir}/%{name}/client/fs_util.py %{_datadir}/%{name}/client/gate.py %{_datadir}/%{name}/client/i18n.py %{_datadir}/%{name}/client/os_detect.py %{_datadir}/%{name}/client/scan.py %{_datadir}/%{name}/client/sendProfile.py %{_datadir}/%{name}/client/smolt.py %{_datadir}/%{name}/client/smolt_config.py %{_datadir}/%{name}/client/software.py %{_datadir}/%{name}/client/uuiddb.py %{_datadir}/%{name}/doc/PrivacyPolicy %{_mandir}/man1/smoltDeleteProfile.1.gz %{_mandir}/man1/smoltSendProfile.1.gz %ghost /var/run/smolt_do_opensuse_run %files -n smolt-gui %defattr(-,root,root) %dir %{_datadir}/%{name}/client/icons %{_bindir}/smoltGui %{_datadir}/icons/hicolor %{_datadir}/applications/smolt.desktop %{_datadir}/%{name}/client/gui.py %{_datadir}/%{name}/client/smoltGui.py %{_datadir}/%{name}/client/privacypolicy.py %{_datadir}/%{name}/client/icons/* %{_mandir}/man1/smoltGui.1.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor