[git-ftp/el6] Initial import git-ftp

Eduardo Javier Echeverria Alvarado echevemaster at fedoraproject.org
Tue May 21 08:16:25 UTC 2013


commit 501f728c0202207dc874d27e49a34de7f97ae2d8
Author: Eduardo Echeverria <echevemaster at gmail.com>
Date:   Tue May 21 03:46:17 2013 -0430

    Initial import git-ftp

 .gitignore                            |    1 +
 git-ftp-0.83-fix-path-man-pages.patch |   19 +++++++++++++++
 git-ftp.spec                          |   40 +++++++++++++++++++++++++++++++++
 sources                               |    1 +
 4 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..eb5a028 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/git-ftp-0.84-b543bd7.tar.gz
diff --git a/git-ftp-0.83-fix-path-man-pages.patch b/git-ftp-0.83-fix-path-man-pages.patch
new file mode 100644
index 0000000..d69ab97
--- /dev/null
+++ b/git-ftp-0.83-fix-path-man-pages.patch
@@ -0,0 +1,19 @@
+--- git-ftp-b543bd73558810d825fc7b09ff3ea1e2a201b344-orig/Makefile	2013-05-10 06:10:46.230943809 -0430
++++ git-ftp-b543bd73558810d825fc7b09ff3ea1e2a201b344/Makefile	2013-05-10 06:13:28.864422081 -0430
+@@ -24,12 +24,12 @@
+ 	install -m 0755 $(EXEC_FILES) $(prefix)/bin
+ 
+ install-man:
+-	install -d -m 0755 $(prefix)/man
++	install -d -m 0755 $(prefix)/share/man
+ 	cd man && \
+ 	make man && \
+-	install -d -m 0755 $(prefix)/man/man1 && \
+-	install -m 0644 $(MAN_FILE) $(prefix)/man/man1 && \
+-	mandb $(prefix)/man/man1
++	install -d -m 0755 $(prefix)/share/man/man1 && \
++	install -m 0644 $(MAN_FILE) $(prefix)/share/man/man1 && \
++	mandb $(prefix)/share/man/man1
+ 
+ install-all: install install-man
+ 
diff --git a/git-ftp.spec b/git-ftp.spec
new file mode 100644
index 0000000..a2a725f
--- /dev/null
+++ b/git-ftp.spec
@@ -0,0 +1,40 @@
+%global commit b543bd73558810d825fc7b09ff3ea1e2a201b344
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+Name:		git-ftp		
+Version:	0.84
+Release:	1%{?dist}
+Summary:	Git powered FTP client written as shell script
+License:	GPLv3	
+URL:		https://github.com/git-ftp
+Source0:	https://github.com/resmo/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+Patch1:		git-ftp-0.83-fix-path-man-pages.patch
+BuildArch:	noarch
+Requires:	git
+Requires:	curl	
+
+%description
+A shell script for pushing git tracked changed files to a 
+remote host by FTP
+
+%prep
+%setup -qn %{name}-%{commit}
+%patch1 -p1
+
+%build
+#Nothing to build 
+
+
+%install
+make install DESTDIR=%{buildroot}%{_prefix}
+
+%check
+# The testing environment expects to have Xampp installed 
+# not applicable in this case
+
+%files
+%doc LICENSE README.md AUTHORS CHANGELOG.md
+%{_bindir}/%{name}
+
+%changelog
+* Fri May 10 2013 Eduardo Echeverria  <echevemaster at gmail.com> - 0.84-1
+- Initial Packaging
diff --git a/sources b/sources
index e69de29..b3a9aad 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4e0fd8b17e324b0a65116d80d0fe3963  git-ftp-0.84-b543bd7.tar.gz


More information about the scm-commits mailing list