rpms/smolt/FC-6 smolt.spec,1.5,1.6 sources,1.3,1.4

Michael Patrick McGrath (mmcgrath) fedora-extras-commits at redhat.com
Tue Jan 30 19:02:31 UTC 2007


Author: mmcgrath

Update of /cvs/extras/rpms/smolt/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14336/FC-6

Modified Files:
	smolt.spec sources 
Log Message:
Added firstboot integration and new upstream release


Index: smolt.spec
===================================================================
RCS file: /cvs/extras/rpms/smolt/FC-6/smolt.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- smolt.spec	25 Jan 2007 22:08:04 -0000	1.5
+++ smolt.spec	30 Jan 2007 19:02:01 -0000	1.6
@@ -1,7 +1,7 @@
 Name: smolt
 Summary: Fedora hardware profiler
-Version: 0.5
-Release: 4%{?dist}
+Version: 0.6.1
+Release: 1%{?dist}
 License: GPL
 Group: Applications/Internet
 URL: http://hosted.fedoraproject.org/projects/smolt
@@ -14,6 +14,10 @@
 
 BuildArch: noarch
 Requires: dbus-python
+Requires: /usr/bin/lsb_release
+
+# If firstboot is installed
+#Requires: firstboot
 
 %description
 The Fedora hardware profiler is a server-client system that does a hardware
@@ -37,6 +41,15 @@
 
 This package contains the server portion
 
+%package firstboot
+Summary: Fedora hardware profile firstboot
+Group: Applications/Internet
+Requires: smolt = %{version}-%{release}
+
+%description firstboot
+This provides firstboot integration for smolt.  It has been broken into a
+separate package so firstboot isn't a requisite to use smolt.
+
 %prep
 %setup -q
 
@@ -51,8 +64,16 @@
 %{__cp} -adv hw-client/* %{buildroot}/%{_datadir}/%{name}/client/
 
 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/sysconfig/
+%{__mkdir} -p %{buildroot}/%{_bindir}
+%{__mkdir} -p %{buildroot}/%{_datadir}/firstboot/modules/
+%{__cp} -adv firstboot/smolt.py %{buildroot}/%{_datadir}/firstboot/modules/
 touch %{buildroot}/%{_sysconfdir}/sysconfig/hw-uuid
 
+ln -s %{_datadir}/%{name}/client/readProfile.py %{buildroot}/%{_bindir}/smoltPrint
+ln -s %{_datadir}/%{name}/client/sendProfile.py %{buildroot}/%{_bindir}/smoltSendProfile
+%{__chmod} +x %{buildroot}/%{_datadir}/%{name}/client/sendProfile.py
+%{__chmod} +x %{buildroot}/%{_datadir}/%{name}/client/readProfile.py
+
 %clean
 rm -rf %{buildroot}
 
@@ -69,13 +90,26 @@
 %doc README GPL 
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/client
+%{_bindir}/%{name}*
 %ghost %config(noreplace) %{_sysconfdir}/sysconfig/hw-uuid
 
 %files server
 %defattr(-,root,root,-)
 %{_datadir}/%{name}/server
 
+%files firstboot
+%defattr(-,root,root,-)
+%{_datadir}/firstboot/modules/smolt.py
+
 %changelog
+* Tue Jan 30 2007 Mike McGrath <imlinux at gmail.com> 0.6.1-1
+- Added firstboot
+- Upstream released new version
+
+* Mon Jan 29 2007 Mike McGrath <imlinux at gmail.com> 0.6-1
+- Upstream released new version
+- Added new symlinks for smoltPrint and smoltSendProfile
+
 * Thu Jan 25 2007 Mike McGrath <imlinux at gmail.com> 0.5-4
 - Forgot Requires of dbus-python
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/smolt/FC-6/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	22 Jan 2007 19:14:01 -0000	1.3
+++ sources	30 Jan 2007 19:02:01 -0000	1.4
@@ -1 +1 @@
-b7144cebe5131d204310cac04fe5a159  smolt-0.5.tar.bz2
+72441a70d8b5b3c48a96a75266a82b31  smolt-0.6.1.tar.bz2




More information about the fedora-extras-commits mailing list