packages: taskwarrior/taskwarrior.spec (NEW) - initial

uzsolt uzsolt at pld-linux.org
Tue Feb 23 20:08:40 CET 2010


Author: uzsolt                       Date: Tue Feb 23 19:08:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/taskwarrior:
   taskwarrior.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/taskwarrior/taskwarrior.spec
diff -u /dev/null packages/taskwarrior/taskwarrior.spec:1.1
--- /dev/null	Tue Feb 23 20:08:40 2010
+++ packages/taskwarrior/taskwarrior.spec	Tue Feb 23 20:08:34 2010
@@ -0,0 +1,112 @@
+# $Revision$, $Date$
+# TODO:
+# - zsh completion subpackage (I don't know, what is the correct place)
+%define	shortname task
+Summary:	Taskwarrior is a command-line to do list manager
+Summary(hu.UTF-8):	Taskwarrior egy parancssoros ToDo-kezelő
+Name:		taskwarrior
+Version:	1.9.0
+Release:	0.1
+License:	GPL v2
+Group:		Applications
+Source0:	http://www.taskwarrior.org/download/%{shortname}-%{version}.tar.gz
+# Source0-md5:	b9c12f60ff509c1ce5c6292041789baa
+Patch0:		%{name}-flags.patch
+URL:		http://taskwarrior.org/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	intltool
+BuildRequires:	libtool
+BuildRequires:	ncurses-devel
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define bashdir	%{_sysconfdir}/bash_completion.d
+%define vimdir %{_datadir}/vim/vimfiles
+
+%description
+Taskwarrior is an ambitious project to supercharge task (most
+excellent CLI task manager by Paul Beckingham) with an interactive
+interface, a powerful search tool, hotkeys, forms data entry, and a
+host of new features.
+
+%description -l pl.UTF-8
+Taskwarrior egy törekvő project, amely a task-ot bővíti ki (a legjobb
+CLI feladatkezelő Paul Beckingham-től) egy interaktív felületettel,
+hatékony kereső eszközzel, hotkey-ekkel, űrlapokkal és új lehetőségek
+tömegeivel.
+
+%package -n bash-completion-taskwarrior
+Summary:	bash-completion for taskwarrior
+Group:		Applications/Shells
+Requires:	%{name} = %{version}-%{release}
+
+%description -n bash-completion-taskwarrior
+bash-completion for taskwarrior.
+
+%package -n vim-syntax-taskwarrior
+Summary:	Vim-syntax: taskwarrior
+Group:		Applications/Editors/Vim
+Requires:	%{name} = %{version}-%{release}
+
+%description -n vim-syntax-taskwarrior
+Vim-syntax: taskwarrior.
+
+%prep
+%setup -q -n %{shortname}-%{version}
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--with-ncurses-inc=/usr/include/ncursesw
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{shortname}
+
+install -d $RPM_BUILD_ROOT%{bashdir}
+install scripts/bash/task_completion.sh $RPM_BUILD_ROOT%{bashdir}/%{shortname}
+
+install -d $RPM_BUILD_ROOT%{vimdir}/{ftdetect,syntax}
+for dir in ftdetect syntax; do
+	install -d $RPM_BUILD_ROOT%{vimdir}/$dir
+	install scripts/vim/$dir/* $RPM_BUILD_ROOT%{vimdir}/$dir
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README i18n doc/rc
+%attr(755,root,root) %{_bindir}/%{shortname}
+%{_mandir}/man1/*1*
+%{_mandir}/man5/*5*
+
+%files -n bash-completion-taskwarrior
+%defattr(644,root,root,755)
+%{bashdir}/%{shortname}
+
+%files -n vim-syntax-taskwarrior
+%{vimdir}/ftdetect/*
+%{vimdir}/syntax/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/02/23 19:08:34  uzsolt
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list