Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vuntz:Attic
wiican
wiican.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wiican.spec of Package wiican
# # spec file for package wiican (Version 0.3.0) # # Copyright (c) 2010 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: wiican Version: 0.3.0 # FIXME: look for FIXME in this file :-) Release: 1 License: GPLv3 Summary: Assistant to use Wiimotes Url: https://launchpad.net/wiican Group: Hardware/Joystick Source: %{name}-%{version}.tar.bz2 BuildRequires: fdupes BuildRequires: gconf2-devel BuildRequires: hicolor-icon-theme BuildRequires: python-devel BuildRequires: update-desktop-files Requires: dbus-1-python Requires: gnome-bluetooth Requires: hal Requires: python-gnome Requires: python-gobject2 Requires: python-gtk Requires: python-ply Requires: python-xdg #FIXME: needed? #Requires: wminput Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %py_requires %gconf_schemas_requires %description WiiCan helps setup a wiimote, create and share mappings. It also provides a d-bus api, so applications can make use of wiimotes easily. %lang_package %prep %setup -q %build %{__python} setup.py build %install %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} %find_lang %{name} ## Installation workarounds, see lp#630852 # Install udev rules that is not installed by setup.py. Remove hack when test fails test ! -d %{buildroot}/lib/udev/rules.d/ install -D -m0644 udev-rules/99-uinput-rules %{buildroot}/lib/udev/rules.d/99-wiican-uinput.rules # Install schema that is not installed by setup.py. Remove hack when test fails test ! -f %{buildroot}%{_sysconfdir}/gconf/schemas/wiican.schemas install -D -m0644 wiican.schemas %{buildroot}%{_sysconfdir}/gconf/schemas/wiican.schemas # Install mime handling data that is not installed by setup.py. Remove hack when test fails test ! -f %{buildroot}%{_datadir}/mime/packages/wiican.xml install -D -m0644 data/mime/wiican.xml %{buildroot}%{_datadir}/mime/packages/wiican.xml test ! -d %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/ install -D -m0644 data/mime/gnome-mime-application-x-wii.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-wii.svg %find_gconf_schemas # FIXME: check this is the right category to add %suse_update_desktop_file wiican Settings %fdupes %{buildroot}%{_datadir} %clean rm -rf %{buildroot} %pre -f %{name}.schemas_pre %post if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi %if 0%{?suse_version} >= 1140 %icon_theme_cache_post %endif %preun -f %{name}.schemas_preun %postun if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi %if 0%{?suse_version} >= 1140 %icon_theme_cache_postun %endif %posttrans -f %{name}.schemas_posttrans %files -f %{name}.schemas_list %defattr(-, root, root) %doc AUTHORS COPYING %{_bindir}/wiican %{_bindir}/wiican-service %{_datadir}/applications/wiican.desktop %{_datadir}/dbus-1/services/org.gnome.wiican.service %{_datadir}/icons/hicolor/*/devices/wiican-*.* %{_datadir}/icons/hicolor/*/mimetypes/application-x-wii.svg %{_datadir}/icons/hicolor/*/status/wiican-*.* %{_datadir}/mime/packages/wiican.xml %{_datadir}/pixmaps/wiican.svg %{_datadir}/wiican/ %{python_sitelib}/wiican-%{version}-*.egg-info %{python_sitelib}/wiican/ %dir /lib/udev %dir /lib/udev/rules.d /lib/udev/rules.d/99-wiican-uinput.rules %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor