]> git.pld-linux.org Git - packages/amarok-script-lyrics_glen.git/blame - amarok-script-lyrics_glen.spec
- R: ruby-modules for net/http.rb; rel 2
[packages/amarok-script-lyrics_glen.git] / amarok-script-lyrics_glen.spec
CommitLineData
644063c5
ER
1%define scriptname lyrics_glen
2Summary: amaroK lyrics script by glen
50436190 3Name: amarok-lyrics-glen
644063c5 4Version: 0.1
15298741 5Release: 2
644063c5
ER
6License: GPL
7Group: X11/Applications/Multimedia
8Source0: lyrics_glen.tar.bz2
9# Source0-md5: 8b42a91c90f3a675a9d73019a030f23e
10BuildRequires: sed >= 4.0
11Requires: amarok
15298741 12Requires: ruby-modules
644063c5
ER
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _scriptdir %{_datadir}/apps/amarok/scripts
17
18%description
19This package contains lyrc lyrics wrapper written by glen.
20
21%prep
22%setup -q -n %{scriptname}
23%{__sed} -i -e '1s,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' *.rb
24
25%install
26rm -rf $RPM_BUILD_ROOT
27install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
28cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
29
30%clean
31rm -rf $RPM_BUILD_ROOT
32
33%files
34%defattr(644,root,root,755)
35%dir %{_scriptdir}/%{scriptname}
36%{_scriptdir}/%{scriptname}/README
37%{_scriptdir}/%{scriptname}/COPYING
38%attr(755,root,root) %{_scriptdir}/%{scriptname}/*.rb
39%{_scriptdir}/%{scriptname}/*.spec
This page took 0.064733 seconds and 4 git commands to generate.