File project.diff of Package obmenu
--- obmenu.changes.orig
+++ obmenu.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Sep 11 09:09:12 UTC 2013 - i@marguerite.su
+
+- make package apply to openSUSE packaging standard.
+
+-------------------------------------------------------------------
Thu Apr 3 19:33:00 CEST 2008 - bwalle@suse.de
- initial package
--- obmenu.spec.orig
+++ obmenu.spec
@@ -1,38 +1,63 @@
-# norootforbuild
-Name: obmenu
-BuildRequires: python-devel
-Summary: Small tea systray icon
-Version: 1.0
-Release: 0
-Source0: %{name}-%{version}.tar.bz2
-License: GPL
-Group: System/X11/Utilities
-Autoreqprov: on
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#
+# spec file for package obmenu
+#
+# Copyright (c) 2013 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: obmenu
+Version: 1.0
+Release: 0
+License: GPL-2.0
+Summary: Small tea systray icon
+URL: http://obmenu.sourceforge.net
+Group: System/X11/Utilities
+Source0: %{name}-%{version}.tar.bz2
+BuildRequires: python-devel
+%if 0%{?suse_version} <= 1140
+BuildRequires: python-setuptools
+%else
+BuildRequires: python-distribute
+%endif
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
%py_requires
%description
Obmenu is a menu editor designed for openbox
-
%prep
-%setup
+%setup -q
%build
-export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="%{optflags}"
python setup.py build
%install
-python setup.py install --root %{buildroot} --prefix %{_prefix} \
- --record-rpm %{name}.files
-
+python setup.py install --root %{buildroot} --prefix %{_prefix}
-%clean
-%{__rm} -rf %{buildroot}
-
-%files -f %{name}.files
+%files
%defattr(-,root,root,-)
%doc README COPYING
-
+%{_bindir}/obm-dir
+%{_bindir}/obm-moz
+%{_bindir}/obm-nav
+%{_bindir}/obm-xdg
+%{_bindir}/obmenu
+%{python_sitelib}/obxml.py
+%{python_sitelib}/obxml.pyc
+%{python_sitelib}/obMenu-%{version}-py%{py_ver}.egg-info
+%{_datadir}/obmenu
%changelog