SPECS (AC-branch): driconf.spec - sort BR - add desktop file
jasw
jasw at pld-linux.org
Tue Dec 12 12:27:28 CET 2006
Author: jasw Date: Tue Dec 12 11:27:28 2006 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- sort BR
- add desktop file
---- Files affected:
SPECS:
driconf.spec (1.10.4.1 -> 1.10.4.2)
---- Diffs:
================================================================
Index: SPECS/driconf.spec
diff -u SPECS/driconf.spec:1.10.4.1 SPECS/driconf.spec:1.10.4.2
--- SPECS/driconf.spec:1.10.4.1 Sun Dec 10 23:59:33 2006
+++ SPECS/driconf.spec Tue Dec 12 12:27:22 2006
@@ -8,10 +8,11 @@
Group: X11/Applications
Source0: http://people.freedesktop.org/~fxkuehl/driconf/%{name}-%{version}.tar.gz
# Source0-md5: 76d610bcd56aa5e8a489debb5081178a
+Patch1: %{name}-desktop.patch
URL: http://dri.sourceforge.net/cgi-bin/moin.cgi/DriConf
BuildRequires: python
+BuildRequires: python-devel
BuildRequires: python-modules
-BuildRequires: python-devel
BuildRequires: rpm-pythonprov
Requires: python-pygtk-gtk >= 2:2.4
Requires: X11-tools
@@ -29,12 +30,14 @@
%prep
%setup -q
+%patch1 -p0
%build
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
python setup.py install \
--optimize=2 \
@@ -44,6 +47,10 @@
rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
+mv %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
+mv %{name}-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
+
%find_lang %{name}
%clean
@@ -53,6 +60,8 @@
%defattr(644,root,root,755)
%doc CHANGELOG README TODO
%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
%{_datadir}/driconf
%{py_sitescriptdir}/*.py[co]
@@ -62,6 +71,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10.4.2 2006/12/12 11:27:22 jasw
+- sort BR
+- add desktop file
+
Revision 1.10.4.1 2006/12/10 22:59:33 jasw
- copy to AC-brnach
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/driconf.spec?r1=1.10.4.1&r2=1.10.4.2&f=u
More information about the pld-cvs-commit
mailing list