Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
smolt
smolt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File smolt.spec of Package smolt
# # spec file for package smolt (Version 1.1.1.1) # # Copyright (c) 2008 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.1.1.1 Release: 54.4.1 License: GPL v2 or later Group: Hardware/Other Url: https://hosted.fedoraproject.org/projects/smolt/ Source0: %{name}-%{version}.tar.bz2 Source1: smolt.init Patch0: %name-%version-uuidfile_path.patch Patch1: smolt-1.1.1.1-desktop_file.patch Patch2: smolt-1.1.1.1-make_install.patch Patch3: smolt-1.1.1.1-config.patch Patch4: smolt-1.1.1.1-gui_pub_uuid.patch Patch5: smolt-1.1.1.1-suse_release_arch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: dbus-1-python python-urlgrabber cron python-gtk BuildRequires: fdupes gettext python-demo update-desktop-files PreReq: /bin/cat %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 %prep %setup -q %patch0 %patch1 %patch2 %patch3 %patch4 %patch5 cp %{S:1} . %build cd client/ # ugly ugly hack cp /usr/share/doc/packages/python/Tools/i18n/msgfmt.py . cp /usr/share/doc/packages/python/Tools/i18n/pygettext.py . chmod +x msgfmt.py pygettext.py 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/uuid rm -rf %{buildroot}/usr/share/locale/sr@latin %{buildroot}/usr/share/locale/default popd %fdupes %{buildroot} %suse_update_desktop_file %name %find_lang %name mkdir -p %buildroot/var/run touch %buildroot/var/run/smolt_do_opensuse_run %clean rm -rf %{buildroot} %post if ! [ -f %{_sysconfdir}/smolt/uuid ] then /bin/cat /proc/sys/kernel/random/uuid > %{_sysconfdir}/smolt/uuid /bin/chmod 0644 %{_sysconfdir}/smolt/uuid /bin/chown root:root %{_sysconfdir}/smolt/uuid fi %postun %insserv_cleanup %files -f %{name}.lang %defattr(-,root,root,-) %doc README GPL doc/* %dir %{_sysconfdir}/smolt %ghost %{_sysconfdir}/smolt/uuid %config(noreplace)%{_sysconfdir}/smolt/config.py %{_bindir}/* %config %{_sysconfdir}/cron.d/%{name} %{_initrddir}/%{name} %{_datadir}/%{name} %{_datadir}/icons/hicolor %{_datadir}/applications/smolt.desktop %{_mandir}/man1/smoltDeleteProfile.1.gz %{_mandir}/man1/smoltGui.1.gz %{_mandir}/man1/smoltSendProfile.1.gz /var/run/smolt_do_opensuse_run %changelog * Thu Dec 18 2008 dmueller@suse.de - trigger smolt run * Fri Nov 28 2008 dmueller@suse.de - add ghost file to delay smolt run until after first online update (bnc#450104, bnc#450105) * Thu Nov 20 2008 hvogel@suse.de - Enable translation of desktop files [bnc#445735] * Thu Nov 13 2008 hvogel@suse.de - Do not include arch into OS string [bnc#444287] * Mon Nov 03 2008 hvogel@suse.de - Require cron and python-gtk [bnc#440815] * Wed Oct 29 2008 hvogel@suse.de - Use the pub uuid in the gui to avoid an ugly error page on smolts.org * Mon Apr 21 2008 hvogel@suse.de - we send data to the smolts project and not fedora [bnc#381647] * Thu Apr 03 2008 hvogel@suse.de - Update to version 1.1.1.1 * various bugfixes * new default configuration * new default server - dont stop or restart. its only touching files anyway * Wed Jan 16 2008 hvogel@suse.de - Fix missing requires - Use smolts.org as default server * Tue Jul 24 2007 hvogel@suse.de - Initial Package, Version 0.9.8.3
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