packages: ruby-albino/ruby-albino.spec (NEW) - added

aredridel aredridel at pld-linux.org
Sat Aug 28 21:39:39 CEST 2010


Author: aredridel                    Date: Sat Aug 28 19:39:39 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: packages/ruby-albino/ruby-albino.spec
diff -u /dev/null packages/ruby-albino/ruby-albino.spec:1.1
--- /dev/null	Sat Aug 28 21:39:39 2010
+++ packages/ruby-albino/ruby-albino.spec	Sat Aug 28 21:39:33 2010
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+
+%define gitrev 27e2eba
+%define gitauthor github
+%define gitname albino
+
+Summary:	Ruby wrapper for the Pygments syntax highlighter
+Name:		ruby-albino
+Version:	1.0
+Release:	1
+License:	MIT
+Group:		Development/Tools
+Source0:	http://download.github.com/%{gitauthor}-%{gitname}-%{gitrev}.tar.gz
+# Source0-md5:	37e23e2759fa95c01c89258acf61a27a
+URL:		http://github.com/github/albino
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby
+BuildRequires:	ruby-modules
+BuildRequires:	setup.rb = 3.4.1
+%{?ruby_mod_ver_requires_eq}
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby wrapper for the Pygments syntax highlighter. 
+
+%prep
+%setup -q -n %{gitauthor}-%{gitname}-%{gitrev}
+cp %{_datadir}/setup.rb .
+ruby setup.rb config \
+	--installdirs=std
+ruby setup.rb setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+ruby setup.rb install \
+	--prefix=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+/usr/lib/ruby/1.8/albino.rb
+
+%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/08/28 19:39:33  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list