LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File lxtask.spec of Package lxtask (Project X11:lxde)

#
# spec file for package lxtask
#
# Copyright (c) 2013 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:           lxtask
Version:        0.1.4
Release:        0
Summary:        Lightweight Task Manager
License:        GPL-2.0
Group:          System/GUI/LXDE
Url:            http://www.lxde.org/
Source0:        %name-%version.tar.bz2
Patch0:         lxtask-automake-1.12.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  automake
BuildRequires:  docbook-utils
BuildRequires:  fdupes
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  libtool
BuildRequires:  pkg-config
BuildRequires:  update-desktop-files

%description
LXTask is a lightweight Task Manager.
This is the default LXDE task manager.

%prep
%setup -q
%patch0 -p1

%build
sh autogen.sh
%configure
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%__rm -rf %{buildroot}/%{_datadir}/locale/{frp,ur_PK,es_VE}
%suse_update_desktop_file %name System Monitor
%find_lang %{name}
%fdupes -s %{buildroot}              

%clean
%__rm -rf $RPM_BUILD_ROOT

%if 0%{?suse_version} >= 1140

%post
%desktop_database_post

%postun
%desktop_database_postun
%endif

%files -f %{name}.lang
%defattr(-,root,root,0755)
%doc COPYING
%_bindir/%name
%_datadir/applications/%name.desktop

%changelog