Author: blekot                       Date: Tue Jan 16 16:56:55 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.3
- BR: python-PyKDE, sed
- desktop icon + desktop file moved to proper directories (TODO done)
- patched desktop file by sed
- deleted debian (doesn't work for me ;-)

---- Files affected:
SPECS:
   kde-hal-device-manager.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/kde-hal-device-manager.spec
diff -u SPECS/kde-hal-device-manager.spec:1.3 
SPECS/kde-hal-device-manager.spec:1.4
--- SPECS/kde-hal-device-manager.spec:1.3       Sun Dec 24 02:39:22 2006
+++ SPECS/kde-hal-device-manager.spec   Tue Jan 16 17:56:50 2007
@@ -4,13 +4,15 @@
 Summary:       kde-hal-device-manager - a port of HAL Device Manager to KDE
 Summary(pl):   kde-hal-device-manager - port zarządcy urządzeń HAL dla KDE
 Name:          kde-hal-device-manager
-Version:       0.1
+Version:       0.3
 Release:       1
 License:       GPL
 Group:         X11/Applications
-Source0:       
http://kubuntu.org/~jriddell/kde-hal-device-manager/%{name}_%{version}.tar.gz
-# Source0-md5: 6e4f4e042ddf9859e5064a1c55b24d82
+Source0:       
http://kubuntu.org/~jriddell/kde-hal-device-manager/%{name}_%{version}.orig.tar.gz
+# Source0-md5: b16811cde547790b6f0f4d9cdfd59fa3
 URL:           http://www.kde-apps.org/content/show.php?content=33315
+BuildRequires: python-PyKDE
+BuildRequires: sed >= 4.0
 Requires:      hal
 Requires:      python-PyQt
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,10 +27,20 @@
 
 %prep
 %setup -q
+rm -frd debian
+%{__sed} -i 's,Exec=%{name},Exec=%{_libdir}/%{name}/%{name},g' 
kde-hal-device-manager.desktop
+
+%build
+kdepyuic DeviceManagerWidgetUI.ui
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
+install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/ \
+       $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+
+mv %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
+mv %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
+
 install * $RPM_BUILD_ROOT%{_libdir}/%{name}
 
 %clean
@@ -36,10 +48,12 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc ChangeLog README
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/%{name}
 %{_libdir}/%{name}/*.*
+%{_pixmapsdir}/*.png
+%{_desktopdir}/*.desktop
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -47,6 +61,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/01/16 16:56:50  blekot
+- updated to 0.3
+- BR: python-PyKDE, sed
+- desktop icon + desktop file moved to proper directories (TODO done)
+- patched desktop file by sed
+- deleted debian (doesn't work for me ;-)
+
 Revision 1.3  2006/12/24 01:39:22  qboosh
 - updated Source0 URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kde-hal-device-manager.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to