4ee073f84e6a2c155bd541c9edf56c16e1224056
[packages/fbpanel.git] / fbpanel.spec
1 Summary:        Lightweight and NETWM compliant desktop panel
2 Summary(pl.UTF-8):      Lekki i zgodny z NETWM panel
3 Name:           fbpanel
4 Version:        4.3
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/fbpanel/%{name}-%{version}.tgz
9 # Source0-md5:  2d2f3713cf3c17b71997064f39d4c888
10 Source1:        %{name}.menu.readme
11 Patch0:         %{name}-build_fixes.patch
12 Patch1:         %{name}-file_watcher.patch
13 Patch2:         %{name}-client_list.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.UTF-8
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         DATADIR="%{_datadir}" \
49         LIBDIR="%{_libdir}"
50
51 install %{SOURCE1} .
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc CHANGELOG CREDITS README fbpanel.menu.readme
59 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fbpanel
60 %attr(755,root,root) %{_bindir}/*
61 %dir %{_libdir}/%{name}
62 %attr(755,root,root) %{_libdir}/%{name}/plugins
63 %{_datadir}/%{name}
64 %{_mandir}/man1/fbpanel*
This page took 0.046741 seconds and 2 git commands to generate.