]> git.pld-linux.org Git - packages/amarok-script-lyrics_glen.git/blob - 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
1 %define         scriptname      lyrics_glen
2 Summary:        amaroK lyrics script by glen
3 Name:           amarok-lyrics-glen
4 Version:        0.1
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        lyrics_glen.tar.bz2
9 # Source0-md5:  8b42a91c90f3a675a9d73019a030f23e
10 BuildRequires:  sed >= 4.0
11 Requires:       amarok
12 Requires:       ruby-modules
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _scriptdir %{_datadir}/apps/amarok/scripts
17
18 %description
19 This 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
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
28 cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
29
30 %clean
31 rm -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.067059 seconds and 3 git commands to generate.