]> git.pld-linux.org Git - packages/amarok-script-lyrics_glen.git/blob - amarok-script-lyrics_glen.spec
- rename package
[packages/amarok-script-lyrics_glen.git] / amarok-script-lyrics_glen.spec
1 %define         scriptname      lyrics_glen
2 Summary:        amaroK lyrics script by glen
3 Summary(pl.UTF-8):      Skrypt autorstwa glena do tekstów piosenek w amaroKu
4 Name:           amarok-script-lyrics_glen
5 Version:        0.1
6 Release:        2
7 License:        GPL
8 Group:          X11/Applications/Multimedia
9 Source0:        lyrics_glen.tar.bz2
10 # Source0-md5:  8b42a91c90f3a675a9d73019a030f23e
11 BuildRequires:  sed >= 4.0
12 Requires:       amarok
13 Requires:       ruby-modules
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _scriptdir %{_datadir}/apps/amarok/scripts
18
19 %description
20 This package contains lyrc lyrics wrapper written by glen.
21
22 %description -l pl.UTF-8
23 Ten pakiet zawiera wrapper do tekstów piosenek lyrc napisany przez
24 glena.
25
26 %prep
27 %setup -q -n %{scriptname}
28 %{__sed} -i -e '1s,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' *.rb
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
33 cp -a . $RPM_BUILD_ROOT%{_scriptdir}/%{scriptname}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %dir %{_scriptdir}/%{scriptname}
41 %{_scriptdir}/%{scriptname}/README
42 %{_scriptdir}/%{scriptname}/COPYING
43 %attr(755,root,root) %{_scriptdir}/%{scriptname}/*.rb
44 %{_scriptdir}/%{scriptname}/*.spec
This page took 0.04467 seconds and 3 git commands to generate.