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