]> git.pld-linux.org Git - packages/fbpanel.git/blob - fbpanel.spec
d565e6ea2d9129e89ab7afaa6839a7a9ee30e817
[packages/fbpanel.git] / fbpanel.spec
1 Summary:        Lightweight and NETWM compliant desktop panel
2 Summary(pl):    Lekki i zgodny z NETWM panel
3 Name:           fbpanel
4 Version:        4.1
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/fbpanel/%{name}-%{version}.tgz
9 # Source0-md5:  70c1b3f9682a0cce0d6b5477b2bc83e4
10 Source1:        %{name}.menu.readme
11 Patch0:         %{name}-build_fixes.patch
12 Patch1:         %{name}-cleanup.patch
13 Patch2:         %{name}-file_watcher.patch
14 URL:            http://fbpanel.sourceforge.net/
15 BuildRequires:  gtk+2-devel >= 2:2.4.0
16 BuildRequires:  pkgconfig
17 BuildRequires:  sed >= 4.0
18 Requires:       gtk+2 >= 2:2.4.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 fbpanel is a lightweight, NETWM compliant desktop panel.
23
24 %description -l pl
25 fbpanel to lekki i zgodny ze specyfikacj± NETWM panel.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30 %patch1 -p1
31 %patch2 -p1
32
33 sed -i -e 's|/lib/fbpanel|/%{_lib}/fbpanel|' plugin.c
34
35 %build
36 # no auto* tools here
37 ./configure \
38         --prefix=%{_prefix}
39
40 %{__make} \
41         OPTFLAGS="%{rpmcflags}"
42         
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT \
48         LIBDIR="%{_libdir}"
49
50 install %{SOURCE1} .
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc CHANGELOG CREDITS README fbpanel.menu.readme
58 %attr(755,root,root) %{_bindir}/*
59 %dir %{_libdir}/%{name}
60 %attr(755,root,root) %{_libdir}/%{name}/plugins
61 %{_datadir}/%{name}
62 %{_mandir}/man1/fbpanel*
This page took 0.039962 seconds and 2 git commands to generate.