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