[packages/lxtask] - updated to 0.1.10
qboosh
qboosh at pld-linux.org
Sat May 6 07:26:49 CEST 2023
commit 6fc92bc6ca96243d3e558d99669bc3c50855d922
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 6 07:29:12 2023 +0200
- updated to 0.1.10
lxtask.spec | 46 +++++++++++++++++++++++++++-------------------
1 file changed, 27 insertions(+), 19 deletions(-)
---
diff --git a/lxtask.spec b/lxtask.spec
index 707ab92..69b40fa 100644
--- a/lxtask.spec
+++ b/lxtask.spec
@@ -1,32 +1,36 @@
#
# Conditional build:
-%bcond_with gtk3 # build GTK+3 disables GTK+2
-%bcond_without gtk2 # build with GTK+2
-
-%if %{with gtk3}
-%undefine with_gtk2
-%endif
+%bcond_with gtk3 # use GTK+3 instead of GTK+2
Summary: Lightweight task manager
+Summary(pl.UTF-8): Lekki zarządca zadań
Name: lxtask
-Version: 0.1.4
-Release: 2
+Version: 0.1.10
+Release: 1
License: GPL v2
Group: X11/Applications
-Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
-# Source0-md5: c4ab47d03d41a88696d64d3f1e78cf7f
-URL: http://wiki.lxde.org/en/LXTask
+Source0: https://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
+# Source0-md5: 27b5258847afc237a5b89666e7a8b45b
+URL: http://www.lxde.org/
BuildRequires: gettext-tools
-%{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.12.0}
-%{?with_gtk3:BuildRequires: gtk+3-devel}
+%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.12.0}
+%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0.0}
BuildRequires: intltool
BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+%{!?with_gtk3:Requires: gtk+2 >= 2:2.12.0}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-LXTask - lightweight and desktop-independent task manager derived from
-xfce4-taskmanager with all dependencies on xfce removed, new features,
-and some improvement of the user interface.
+LXTask is a lightweight and desktop-independent task manager derived
+from xfce4-taskmanager with all dependencies on XFCE removed, new
+features, and some improvement of the user interface.
+
+%description -l pl.UTF-8
+LXTask to lekki i niezależny od środowiska zarządca zadań, wywodzący
+się z pakietu xfce4-taskmanager z usuniętymi zależnościami od XFCE,
+nowymi możliwościami i pewnymi ulepszeniami interfejsu użytkownika.
%prep
%setup -q
@@ -38,13 +42,16 @@ and some improvement of the user interface.
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# unify name
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{tt_RU,tt}
# duplicate of ur
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
# unsupported by glibc
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/frp
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/frp
%find_lang %{name}
@@ -53,6 +60,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS README
+%doc AUTHORS README TODO
%attr(755,root,root) %{_bindir}/lxtask
%{_desktopdir}/lxtask.desktop
+%{_mandir}/man1/lxtask.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lxtask.git/commitdiff/6fc92bc6ca96243d3e558d99669bc3c50855d922
More information about the pld-cvs-commit
mailing list