Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:opensuse_zh
LoveWallPaper
lovewallpaper.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lovewallpaper.spec of Package LoveWallPaper
# # spec file for package lovewallpaper # # Copyright (c) 2012 lovebizhi.com # # 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 info@lovebizhi.com # Name: lovewallpaper Version: 1.5.4 Release: 0 License: SUSE-NonFree Summary: The most professional WallPaper Application Url: http://lovebizhi.com Group: System/GUI/GNOME Source0: %{name}-%{version}.tar.bz2 BuildRequires: python-devel %if 0%{?suse_version} BuildRequires: update-desktop-files %{py_requires} %endif %if 0%{?fedora_version} Requires: python >= 2.7.0-0 %endif Requires: python-pyside BuildArch: noarch %description Lovewallpaper is a simple app letting you able to play around with your desktop wallpapers. Get access to over 500,000 wallpapers in all kinds and start the fun ! %prep %setup -q %build %install #build dirs mkdir -p %{buildroot}%{python_sitelib}/%{name} mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps/ mkdir -p %{buildroot}%{_bindir}/ #copy files cp -r ./* %{buildroot}%{python_sitelib}/%{name}/ #deploy icon file ln -s %{python_sitelib}/%{name}/source/notify.png %{buildroot}%{_datadir}/pixmaps/love-wallpaper.png #deploy .desktop file mv %{buildroot}%{python_sitelib}/%{name}/love-wallpaper.desktop %{buildroot}%{_datadir}/applications/love-wallpaper.desktop %if 0%{?suse_version} %suse_update_desktop_file love-wallpaper %endif #deploy launcher file mv %{buildroot}%{python_sitelib}/%{name}/source/love-wallpaper.at_usr_bin %{buildroot}%{_bindir}/love-wallpaper echo /usr/bin/python2 %{python_sitelib}/%{name}/love-wallpaper >> %{buildroot}%{_bindir}/love-wallpaper %post %if 0%{?suse_version} %desktop_database_post %endif %postun %if 0%{?suse_version} %desktop_database_postun %endif rm -rf /tmp/lovewallpaper %files %defattr(-,root,root) %{_bindir}/love-wallpaper %{_datadir}/applications/love-wallpaper.desktop %{_datadir}/pixmaps/love-wallpaper.png %{python_sitelib}/%{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