8a684f130e5986fc60d0dfd4cd16cfda80cbfa08
[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.3
5 Release:        1
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 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 md5 mtime size) %{_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.046125 seconds and 2 git commands to generate.