]> git.pld-linux.org Git - SPECS.git/blob - ruby-albino.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ruby-albino.spec
1
2 %define gitrev 27e2eba
3 %define gitauthor github
4 %define gitname albino
5
6 Summary:        Ruby wrapper for the Pygments syntax highlighter
7 Name:           ruby-albino
8 Version:        1.0
9 Release:        1
10 License:        MIT
11 Group:          Development/Tools
12 Source0:        http://download.github.com/%{gitauthor}-%{gitname}-%{gitrev}.tar.gz
13 # Source0-md5:  37e23e2759fa95c01c89258acf61a27a
14 URL:            http://github.com/github/albino
15 BuildRequires:  rpmbuild(macros) >= 1.277
16 BuildRequires:  ruby
17 BuildRequires:  ruby-modules
18 BuildRequires:  setup.rb >= 3.4.1
19 %{?ruby_mod_ver_requires_eq}
20 #BuildArch:     noarch
21 Requires:       python-pygments
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Ruby wrapper for the Pygments syntax highlighter. 
26
27 %prep
28 %setup -q -n %{gitauthor}-%{gitname}-%{gitrev}
29 cp %{_datadir}/setup.rb .
30 ruby setup.rb config \
31         --installdirs=std
32 ruby setup.rb setup
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 ruby setup.rb install \
38         --prefix=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %{ruby_rubylibdir}/albino.rb
This page took 6.240006 seconds and 3 git commands to generate.