]> git.pld-linux.org Git - packages/epbb.git/blob - epbb.spec
3c6eafd7fcdb649e8bae243cdaff3dcf207baf82
[packages/epbb.git] / epbb.spec
1 Summary:        pbbuttonsd client using EFL
2 Name:           epbb
3 Version:        0.0.5
4 %define _snap   20050701
5 Release:        0.%{_snap}.0.3
6 License:        BSD
7 Group:          X11/Applications
8 #Source0:       http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
9 Source0:        http://sparky.homelinux.org/snaps/enli/misc/%{name}-%{_snap}.tar.gz
10 # Source0-md5:  997c060d20720caba7f7d30a24fc5042
11 Source1:        %{name}-metalsphere.png
12 URL:            http://enlightenment.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  edje-devel
16 BuildRequires:  ecore-devel
17 BuildRequires:  evas-devel
18 BuildRequires:  pbbuttonsd-lib
19 BuildRequires:  sed >= 4.0
20 Requires:       fonts-TTF-bitstream-vera
21 ExclusiveArch:  %{ix86} ppc
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 pbbuttonsd client using EFL. Only thing it can do is checking
26 battery status.
27
28 %prep
29 %setup -q -n %{name}
30 install %{SOURCE1} data/images/metalsphere.png
31 sed 's/ipc_init(LIBMODE_CLIENT, 1)/ipc_init("epbb", LIBMODE_CLIENT, 1)/' \
32         -i src/bin/main.c
33
34 %build
35 %{__libtoolize}
36 %{__aclocal}
37 %{__autoconf}
38 %{__autoheader}
39 %{__automake}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
50 VERA=$(ls Vera*.ttf)
51 for FONT in $VERA; do
52         rm -f $FONT
53         ln -s %{_fontsdir}/TTF/$FONT .
54 done
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS COPYING README
62 %attr(755,root,root) %{_bindir}/%{name}
63 %{_datadir}/%{name}
This page took 0.104344 seconds and 2 git commands to generate.