Mageia Bugzilla – Attachment 3892 Details for
Bug 9987
[backport request] - Solaar tools to monitor Logitechâs Unifying Receiver peripherals
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Solaar.spec file
Solaar.spec (text/x-rpm-spec), 2.83 KB, created by
David GEIGER
on 2013-05-05 09:12:44 CEST
(
hide
)
Description:
Solaar.spec file
Filename:
MIME Type:
Creator:
David GEIGER
Created:
2013-05-05 09:12:44 CEST
Size:
2.83 KB
patch
obsolete
># ># Please submit bugfixes or comments via http://bugs.opensuse.org/ ># > >Name: Solaar >Version: 0.8.7 >Release: 5.1 >License: GPL-3.0+ >Summary: Tools to monitor Logitech hardware >Url: http://pwr.github.com/Solaar/ >Group: Hardware/Other >Source: %{name}-%{version}.tar.bz2 > >BuildRequires: update-desktop-files kde4-filesystem python-base python-devel python-distribute fdupes > >Requires: python-pyudev udev >Requires: python-gtk >Requires: libgirepository-1_0-1 python-gobject python-gobject2 > >BuildRoot: %{_tmppath}/%{name}-%{version}-build >Prefix: /usr >BuildArch: noarch > > >%description >Solaar provides tools to monitor wireless Logitech hardware as long ia it uses the "Unifying receiver", such as the K750 wireless keyboard. >It also provides a tray icon that will show the battery levels of such hardware. > >%prep >%setup -q > >%build >python setup.py build > >%install >python setup.py install --prefix=%{_prefix} --root=%{buildroot} >mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d >cat rules.d/99-logitech-unifying-receiver.rules |sed 's/plugdev/users/' > $RPM_BUILD_ROOT/etc/udev/rules.d/99-logitech-unifying-receiver.rules >cp -r share $RPM_BUILD_ROOT/usr >rm $RPM_BUILD_ROOT/usr/share/README >install -d $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/128x128/apps >cp $RPM_BUILD_ROOT/%{_datadir}/icons/solaar.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/128x128/apps >%suse_update_desktop_file -c solaar Solaar "Monitor for Logitech wireless hardware" solaar solaar System\;Monitor > ># %fdupes $RPM_BUILD_ROOT > >%clean >rm -rf %{buildroot} > >%files >%defattr(-,root,root) >%doc share/README docs > >%dir %{_datadir}/solaar/ >%dir %{python_sitelib}/hidapi >%dir %{python_sitelib}/logitech >%dir %{python_sitelib}/solaar > > >%{_bindir}/solaar >%{_bindir}/solaar-cli >%{_datadir}/icons/* >%{_datadir}/applications/solaar.desktop >%{_datadir}/solaar/* > >%{python_sitelib}/solaar-%{version}-py2.7.egg-info >%{python_sitelib}/hidapi/* >%{python_sitelib}/logitech/* >%{python_sitelib}/solaar/* > >%config %{_sysconfdir}/udev/rules.d/99-logitech-unifying-receiver.rules > >%if 0%{?suse_version} >= 1230 >%dir %{_sysconfdir}/udev >%dir %{_sysconfdir}/udev/rules.d >%endif > > >%changelog >* Thu Jan 24 2013 Mathias.Homann@opensuse.org > 0.8.7: > * Don't show the "device disconnected" notification, it can be annoying and > not very useful. > * More robust detection of systray icon visibility. > 0.8.6: > * Ensure the Gtk application is single-instance. > * Fix identifying available dpi values. > * Fixed locating application icons when installed in a custom prefix. > * Fixed some icon names for the oxygen theme. > * Python 3 fixes. >* Fri Jan 4 2013 Mathias.Homann@opensuse.org >- updated to 0.8.5 release >- finalized packaging >* Fri Jan 4 2013 Mathias.Homann@opensuse.org >- updated to use git source >* Thu Jan 3 2013 Mathias.Homann@opensuse.org >- initial package: 0.8.4
# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: Solaar Version: 0.8.7 Release: 5.1 License: GPL-3.0+ Summary: Tools to monitor Logitech hardware Url: http://pwr.github.com/Solaar/ Group: Hardware/Other Source: %{name}-%{version}.tar.bz2 BuildRequires: update-desktop-files kde4-filesystem python-base python-devel python-distribute fdupes Requires: python-pyudev udev Requires: python-gtk Requires: libgirepository-1_0-1 python-gobject python-gobject2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: /usr BuildArch: noarch %description Solaar provides tools to monitor wireless Logitech hardware as long ia it uses the "Unifying receiver", such as the K750 wireless keyboard. It also provides a tray icon that will show the battery levels of such hardware. %prep %setup -q %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d cat rules.d/99-logitech-unifying-receiver.rules |sed 's/plugdev/users/' > $RPM_BUILD_ROOT/etc/udev/rules.d/99-logitech-unifying-receiver.rules cp -r share $RPM_BUILD_ROOT/usr rm $RPM_BUILD_ROOT/usr/share/README install -d $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/128x128/apps cp $RPM_BUILD_ROOT/%{_datadir}/icons/solaar.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/128x128/apps %suse_update_desktop_file -c solaar Solaar "Monitor for Logitech wireless hardware" solaar solaar System\;Monitor # %fdupes $RPM_BUILD_ROOT %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc share/README docs %dir %{_datadir}/solaar/ %dir %{python_sitelib}/hidapi %dir %{python_sitelib}/logitech %dir %{python_sitelib}/solaar %{_bindir}/solaar %{_bindir}/solaar-cli %{_datadir}/icons/* %{_datadir}/applications/solaar.desktop %{_datadir}/solaar/* %{python_sitelib}/solaar-%{version}-py2.7.egg-info %{python_sitelib}/hidapi/* %{python_sitelib}/logitech/* %{python_sitelib}/solaar/* %config %{_sysconfdir}/udev/rules.d/99-logitech-unifying-receiver.rules %if 0%{?suse_version} >= 1230 %dir %{_sysconfdir}/udev %dir %{_sysconfdir}/udev/rules.d %endif %changelog * Thu Jan 24 2013 Mathias.Homann@opensuse.org 0.8.7: * Don't show the "device disconnected" notification, it can be annoying and not very useful. * More robust detection of systray icon visibility. 0.8.6: * Ensure the Gtk application is single-instance. * Fix identifying available dpi values. * Fixed locating application icons when installed in a custom prefix. * Fixed some icon names for the oxygen theme. * Python 3 fixes. * Fri Jan 4 2013 Mathias.Homann@opensuse.org - updated to 0.8.5 release - finalized packaging * Fri Jan 4 2013 Mathias.Homann@opensuse.org - updated to use git source * Thu Jan 3 2013 Mathias.Homann@opensuse.org - initial package: 0.8.4
View Attachment As Raw
Actions:
View
Attachments on
bug 9987
: 3892 |
3990
|
4104