Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:llunak:attic
plasmoid-countdown
plasmoid-countdown.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plasmoid-countdown.spec of Package plasmoid-countdown
# # spec file for package kde4-plasmoid-countdown (Version 0.2.2) # # Copyright (c) 2008 Buschmann. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild BuildRequires: kdebase4-workspace-devel update-desktop-files BuildRequires: licenses Name: plasmoid-countdown Summary: Countdown Plasmoid Version: 0.2.2 Release: 1 License: GPL Group: System/GUI/KDE Source0: plasmoid-countdown_%{version}.orig.tar.gz Patch0: desktop-file.patch Patch1: kde4.2-cmake-changes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: yes Provides: kde4-plasmoid-countdown = 0.1 Obsoletes: kde4-plasmoid-countdown <= 0.1 Requires: kdebase4-workspace Requires: licenses %kde4_runtime_requires Url: http://www.kde-look.org/content/show.php/countdown?content=74950 %description Plasma Applet to countdown to a specific time. It allows you to set a target time and see a counter displaying how much time is left. The display adjusts itself in precision depending on how much time is left until the set time. NOTE: If you run the applet for the first time, it will ask you to configure it. DO NOT click the button in the widget, use right click or the side button, apparently libplasma has some issues with that and eats the widget. Author: ------- Christoph Burger-Scheidlin %prep %setup -n plasmoid-countdown-%{version} %patch -P 0 -p1 KDEVERSION=$(kde4-config --version | grep -o "KDE: [0-9]\.[0-9]\.[0-9]." | sed 's!KDE: !!' | sed 's! !0!' | sed 's!\.!!g') if test $KDEVERSION -ge 4160 ; then %patch -P 1 -p1 fi %build %cmake_kde4 -d builddir %make_jobs %install cd builddir %kde4_makeinstall cd .. mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} cp AUTHORS $RPM_BUILD_ROOT%{_docdir}/%{name} cp README $RPM_BUILD_ROOT%{_docdir}/%{name} cp TODO $RPM_BUILD_ROOT%{_docdir}/%{name} MD5SUM=$(md5sum COPYING | sed 's/ .*//') if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then ln -sf /usr/share/doc/licenses/md5/$MD5SUM $RPM_BUILD_ROOT%{_docdir}/%{name}/COPYING; else cp COPYING $RPM_BUILD_ROOT%{_docdir}/%{name} fi %suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-countdown.desktop %kde_post_install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %_libdir/kde4/plasma_applet_countdown.so %_kde_share_dir/services/plasma-applet-countdown.desktop %{_docdir}/%{name} %changelog * Wed Jan 14 2009 Buschmann <buschmann23@opensuse.org> - cleaning spec file - adding kde4.2-cmake-changes.patch * Tue Dec 02 2008 Buschmann <buschmann23@opensuse.org> - renaming package from kde4-plasmoid-countdown to plasmoid-countdown - update to version 0.2.2 * Sat Feb 09 2008 Buschmann <buschmann@huessenbergnetz.de> - initial spec file
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