]> git.pld-linux.org Git - packages/eclair.git/blob - eclair.spec
c628a3ae0741d236df21ed0ea140d966a57e20a9
[packages/eclair.git] / eclair.spec
1 Summary:        EFL media player
2 Name:           eclair
3 Version:        0.0.1
4 %define _snap   20050707
5 Release:        0.%{_snap}.0.1
6 License:        GPL v2
7 Group:          X11/Applications
8 #Source0:       http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
9 Source0:        ftp://ftp.sparky.homelinux.org/snaps/enli/e17/apps/%{name}-%{_snap}.tar.gz
10 # Source0-md5:  610022a6acc857630375c2faf5d4bc85
11 URL:            http://enlightenment.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  esmart-devel
15 BuildRequires:  gtk+2-devel
16 BuildRequires:  libglade2-devel
17 BuildRequires:  libtool
18 BuildRequires:  libxml2-devel
19 BuildRequires:  sqlite3-devel
20 Requires:       fonts-TTF-bitstream-vera
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 EFL media player.
25
26 %prep
27 %setup -q -n %{name}
28
29 %build
30 %{__libtoolize}
31 %{__aclocal}
32 %{__autoconf}
33 %{__autoheader}
34 %{__automake}
35 %configure
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
45 VERA=$(ls Vera*.ttf)
46 for FONT in $VERA; do
47         rm -f $FONT
48         ln -s %{_fontsdir}/TTF/$FONT .
49 done
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc AUTHORS README TODO
57 %attr(755,root,root) %{_bindir}/%{name}
58 %attr(755,root,root) %{_bindir}/%{name}_wsz2edj
59 %{_datadir}/%{name}
This page took 0.046783 seconds and 3 git commands to generate.