Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
variety
variety.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File variety.spec of Package variety
# # spec file for package variety # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Malcolm J Lewis <malcolmlewis@opensuse.org> # # 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: variety Version: 0.6.6 Release: 0 Summary: Wallpaper changer License: GPL-3.0 Group: Productivity/Multimedia/Other Url: https://launchpad.net/variety/ Source0: https://launchpadlibrarian.net/337505449/variety_0.6.6.tar.gz Source1: variety.desktop # Todo: Variety should follow FDO icon standards Source2: VarietyIcons.tar.gz # PATCH-FIX-OPENSUSE variety-appdata-path.patch malcolmlewis@opensuse.org -- Set correct name/path for appdata not metadata. Patch0: variety-appdata-path.patch BuildRequires: fdupes BuildRequires: gobject-introspection BuildRequires: intltool BuildRequires: python-devel BuildRequires: python-distutils-extra BuildRequires: python-setuptools BuildRequires: update-desktop-files # MANUAL BEGIN Requires: ImageMagick Requires: dbus-1-python Requires: libnotify4 Requires: python-Pillow Requires: python-beautifulsoup4 Requires: python-configobj Requires: python-gexiv2 Requires: python-httplib2 Requires: python-lxml Requires: python-pycurl Requires: yelp # MANUAL END BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Variety changes the desktop wallpaper on a regular basis, using user-specified or automatically downloaded images. Variety sits conveniently as an indicator in the panel and can be easily paused and resumed. The mouse wheel can be used to scroll wallpapers back and forth until you find the perfect one for your current mood. Apart from displaying images from local folders, several different online sources can be used to fetch wallpapers according to user-specified criteria. %prep %setup -q -n %{name}-%{version} -a 2 %patch0 -p1 %build python setup.py build %install python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot} # Create our own desktop file and remove the pre-installed version rm build/share/applications/%{name}.desktop cp %{SOURCE1} . # Todo: Add support for FDO icon standard upstream install -Dm0644 data/media/variety.svg %{buildroot}%{_datadir}/pixmaps/variety.svg cp VarietyIcons/* %{buildroot}%{_datadir}/variety/media/ %suse_update_desktop_file -i %{name} %fdupes -s %{buildroot} %post %desktop_database_post %postun %desktop_database_postun %files %defattr(-,root,root) %doc AUTHORS COPYING %{_bindir}/%{name} %{python_sitelib}/jumble %{python_sitelib}/%{name} %{python_sitelib}/%{name}_lib %{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info %dir %{_datadir}/appdata %{_datadir}/appdata/variety.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/variety.svg %{_datadir}/%{name} %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