]>
Commit | Line | Data |
---|---|---|
b87d68f4 | 1 | Summary: EFL media player written in ruby |
2 | Name: euphoria | |
3 | Version: 0.8.0 | |
4 | %define _snap 20050708 | |
5 | Release: 0.%{_snap}.0.1 | |
6 | License: BSD | |
7 | Group: X11/Applications | |
8 | #Source0: http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz | |
230fcda7 | 9 | Source0: http://sparky.homelinux.org/snaps/enli/e17/apps/%{name}-%{_snap}.tar.gz |
b87d68f4 | 10 | # Source0-md5: 19adcb18e092ebded5e3f81ded3f8061 |
11 | URL: http://enlightenment.org/ | |
12 | BuildRequires: edje-devel | |
13 | BuildRequires: rake | |
9641dff4 | 14 | BuildRequires: ruby-ecore |
15 | BuildRequires: ruby-edje | |
16 | BuildRequires: ruby-esmart | |
17 | BuildRequires: ruby-evas | |
45f49b2b | 18 | Requires: ruby-xmmsclient |
b87d68f4 | 19 | Requires: xmms2 |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %define _rubylibdir %(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]') | |
24 | ||
25 | %description | |
26 | EFL media player written in ruby. | |
27 | ||
28 | %prep | |
29 | %setup -q -n %{name} | |
30 | ||
31 | %build | |
32 | rake | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{_bindir} | |
37 | ||
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | PREFIX=%{_usr} | |
40 | RUBYLIBDIR=%{_rubylibdir} | |
41 | export DESTDIR PREFIX RUBYLIBDIR | |
42 | rake install | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc AUTHORS ChangeLog COPYING README TODO | |
50 | %attr(755,root,root) %{_bindir}/%{name} | |
51 | %{_datadir}/%{name} | |
52 | %{_rubylibdir}/%{name} |