packages: gist/gist.spec (NEW) - initial. Something like pastebinit, for gi...

pawelz pawelz at pld-linux.org
Mon Mar 22 13:42:48 CET 2010


Author: pawelz                       Date: Mon Mar 22 12:42:48 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial. Something like pastebinit, for gists.github.com.
- crude, based on tempate-specs/ruby.spec. Please review. I have no experience
with ruby.

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

---- Diffs:

================================================================
Index: packages/gist/gist.spec
diff -u /dev/null packages/gist/gist.spec:1.1
--- /dev/null	Mon Mar 22 13:42:48 2010
+++ packages/gist/gist.spec	Mon Mar 22 13:42:43 2010
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+# TODO:
+# - /usr/bin/gist:86: command not found: pbcopy
+#   which: no pbcopy in (/usr/local/bin:/usr/bin:/bin:/home/users/z/bin)
+# - cleanup? I have no experience with ruby.
+
+%define		commit	2c90f46
+
+Summary:	Command-line interface for gists.github.com
+Name:		gist
+Version:	1.0.3
+Release:	0.1
+License:	MIT
+Source0:	http://github.com/defunkt/gist/tarball/v%{version}
+# Source0-md5:	e0b9eb913c46ad49e5d6072c420b2a17
+Group:		Development/Languages
+URL:		http://github.com/defunkt/gist
+BuildRequires:	rpmbuild(macros) >= 1.484
+BuildRequires:	ruby >= 1:1.8.6
+BuildRequires:	ruby-modules
+%{?ruby_mod_ver_requires_eq}
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# nothing to be placed there. we're not noarch only because of ruby packaging
+%define		_enable_debug_packages	0
+
+%description
+Command-line interface for gists.github.com.
+
+%prep
+%setup -q -n defunkt-%{name}-%{commit}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+cp gist $RPM_BUILD_ROOT%{_bindir}/gist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.markdown
+%attr(755,root,root) %{_bindir}/gist
+
+%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/03/22 12:42:43  pawelz
+- initial. Something like pastebinit, for gists.github.com.
+- crude, based on tempate-specs/ruby.spec. Please review. I have no experience
+with ruby.
+
================================================================


More information about the pld-cvs-commit mailing list