2 %bcond_with gtk3 # build GTK+3 disables GTK+2
3 %bcond_without gtk2 # build with GTK+2
9 Summary: Lightweight task manager
14 Group: X11/Applications
15 Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
16 # Source0-md5: eb2ad374e97c317e2f74d47b1e582303
17 URL: http://wiki.lxde.org/en/LXTask
18 BuildRequires: gettext-tools
19 %{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.12.0}
20 %{?with_gtk3:BuildRequires: gtk+3-devel}
21 BuildRequires: intltool
22 BuildRequires: pkgconfig
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 LXTask - lightweight and desktop-independent task manager derived from
27 xfce4-taskmanager with all dependencies on xfce removed, new features,
28 and some improvement of the user interface.
35 %{?with_gtk3:--enable-gtk3}
39 rm -rf $RPM_BUILD_ROOT
41 DESTDIR=$RPM_BUILD_ROOT
44 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
45 # unsupported by glibc
46 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/frp
47 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU
52 rm -rf $RPM_BUILD_ROOT
54 %files -f %{name}.lang
55 %defattr(644,root,root,755)
57 %attr(755,root,root) %{_bindir}/lxtask
58 %{_desktopdir}/lxtask.desktop
59 %{_mandir}/man1/lxtask.1.*