|
@@ -1,18 +1,19 @@
|
|
|
+%define pkg_name peco
|
|
|
%define pkg_version 0.3.5
|
|
|
-%define pkg_release 4%{?_dist_release}
|
|
|
+%define pkg_release 5%{?_dist_release}
|
|
|
|
|
|
%global gopath %{_datadir}/gocode
|
|
|
|
|
|
-Summary: Simplistic interactive filtering tool
|
|
|
-Summary(ja): シンプルな対話式フィルタリングツール
|
|
|
-Name: peco
|
|
|
-Version: %{pkg_version}
|
|
|
-Release: %{pkg_release}
|
|
|
+Summary: Simplistic interactive filtering tool
|
|
|
+Summary(ja): シンプルな対話式フィルタリングツール
|
|
|
+Name: %{pkg_name}
|
|
|
+Version: %{pkg_version}
|
|
|
+Release: %{pkg_release}
|
|
|
|
|
|
-License: MIT License
|
|
|
-Group: Applications/Text
|
|
|
-URL: https://github.com/peco/peco
|
|
|
-Source: https://github.com/peco/peco/archive/v%{version}.tar.gz#/peco-%{version}.tar.gz
|
|
|
+License: MIT License
|
|
|
+Group: Applications/Text
|
|
|
+URL: https://github.com/peco/peco
|
|
|
+Source: https://github.com/peco/peco/archive/v%{version}.tar.gz#/peco-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root
|
|
|
BuildRequires: golang
|
|
@@ -23,7 +24,8 @@ BuildRequires: golang(github.com/nsf/termbox-go)
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
-Packager: Toshiaki Ara <ara_t@384.jp>
|
|
|
+Packager: ara_t
|
|
|
+
|
|
|
|
|
|
%description
|
|
|
peco is a simplistic interactive filtering tool
|
|
@@ -48,7 +50,7 @@ export GOPATH=$BUILD_DIR:%{gopath}
|
|
|
go build cmd/peco/peco.go
|
|
|
|
|
|
%install
|
|
|
-%{__mkdir} -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
%{__install} -m 755 peco ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
|
|
%clean
|
|
@@ -63,6 +65,9 @@ go build cmd/peco/peco.go
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 0.3.5-5
|
|
|
+- correct SPEC file
|
|
|
+
|
|
|
* Fri Jan 29 2016 Toshiaki Ara <ara_t@384.jp> 0.3.5-4
|
|
|
- defile %%{gopath}
|
|
|
|