[obapps/f17] Initial commit

Mario Blättermann mariobl at fedoraproject.org
Tue Oct 30 14:04:58 UTC 2012


commit 0eea5a9b6f9979167e75b048639e1c228122f4c2
Author: Mario Blättermann <mario.blaettermann at gmail.com>
Date:   Tue Oct 30 15:05:31 2012 +0100

    Initial commit

 .gitignore     |    1 +
 obapps.desktop |   11 ++++++++++
 obapps.spec    |   62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 4 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ada53d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/obapps-0.1.7.tar.gz
diff --git a/obapps.desktop b/obapps.desktop
new file mode 100644
index 0000000..9d5c325
--- /dev/null
+++ b/obapps.desktop
@@ -0,0 +1,11 @@
+
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Openbox per-application settings
+Icon=openbox.png
+Exec=obapps
+Categories=Settings;DesktopSettings;GTK;X-Fedora;
+StartupNotify=true
+Terminal=false
+X-Desktop-File-Install-Version=0.19
diff --git a/obapps.spec b/obapps.spec
new file mode 100644
index 0000000..7f6896d
--- /dev/null
+++ b/obapps.spec
@@ -0,0 +1,62 @@
+Name:           obapps
+Version:        0.1.7
+Release:        3%{?dist}
+Summary:        Graphical tool for configuring per-application settings in Openbox
+
+License:        MIT
+URL:            http://sourceforge.net/projects/obapps/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source1:        %{name}.desktop
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  desktop-file-utils
+
+Requires:       openbox
+Requires:       wxPython
+Requires:       python-xlib
+
+
+%description
+A graphical tool for configuring the per-application settings (window matching)
+in the Openbox window manager.
+
+%prep
+%setup -q
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+desktop-file-install                                    \
+--dir=%{buildroot}%{_datadir}/applications         \
+%{SOURCE1}
+
+%post
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+ 
+%files
+%doc README
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{python_sitelib}/*
+
+
+%changelog
+* Tue Oct 30 2012 Mario Blättermann <mariobl at fedoraproject.org> - 0.1.7-3
+- Use python2 instead of python
+- No macros in URL
+
+* Mon Oct 29 2012 Mario Blättermann <mario.blaettermann at gmail.com> - 0.1.7-2
+- Concatenated installing and validating the desktop file
+- Added scriptlets for updating the desktop database
+
+* Mon Oct 29 2012 Mario Blättermann <mariobl at fedoraproject.org> - 0.1.7-1
+- Initial package
+
diff --git a/sources b/sources
index e69de29..18a0720 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+de9fcc8430faa3ebeeaa4d4abf7aae17  obapps-0.1.7.tar.gz


More information about the scm-commits mailing list