initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
65273fde31
commit
f6010380fd
|
@ -0,0 +1 @@
|
|||
/tasksh-1.1.0.tar.gz
|
|
@ -0,0 +1 @@
|
|||
SHA512 (tasksh-1.1.0.tar.gz) = ba8820c26a86085f996cf884c57e8fd7913cded40ea81d3f17242295e865ed1058b2c0af78d76b2f64aebf96c981665fb2482808d41312e5ff40ecb1eba7bf8a
|
|
@ -0,0 +1,29 @@
|
|||
From 951624e61508c5d48d5e1067657bb34f47b64539 Mon Sep 17 00:00:00 2001
|
||||
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
||||
Date: Thu, 1 Dec 2016 09:23:40 +0100
|
||||
Subject: [PATCH] don't install docs
|
||||
|
||||
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index cb8617f..63a9e12 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -63,11 +63,6 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/test)
|
||||
add_subdirectory (test EXCLUDE_FROM_ALL)
|
||||
endif (EXISTS ${CMAKE_SOURCE_DIR}/test)
|
||||
|
||||
-set (doc_FILES NEWS ChangeLog README.md INSTALL AUTHORS COPYING)
|
||||
-foreach (doc_FILE ${doc_FILES})
|
||||
- install (FILES ${doc_FILE} DESTINATION ${TASKSH_DOCDIR})
|
||||
-endforeach (doc_FILE)
|
||||
-
|
||||
# ---
|
||||
|
||||
set (CPACK_SOURCE_GENERATOR "TGZ")
|
||||
--
|
||||
2.10.2
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
Name: tasksh
|
||||
Version: 1.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Shell command that wraps Taskwarrior commands
|
||||
|
||||
License: MIT
|
||||
URL: https://taskwarrior.org/
|
||||
Source0: https://taskwarrior.org/download/%{name}-%{version}.tar.gz
|
||||
# We install docs ourselves
|
||||
Patch0: %{name}-0001-don-t-install-docs.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: readline-devel
|
||||
Requires: task
|
||||
|
||||
%description
|
||||
Tasksh is a shell command that wraps Taskwarrior commands. It is intended to
|
||||
provide simpler Taskwarrior access, and add a few new features of its own.
|
||||
|
||||
Tasksh replaces the built-in shell command of older releases, and the bundled
|
||||
tasksh program of version 2.3.0. The former was very limited and the latter
|
||||
unsupported, buggy and flawed.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
popd
|
||||
%make_build -C %{_target_platform}
|
||||
|
||||
%install
|
||||
%make_install -C %{_target_platform}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md ChangeLog AUTHORS NEWS
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 01 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.1.0-1
|
||||
- Initial package
|
Loading…
Reference in New Issue