- from PLD
[packages/lxnm.git] / lxnm.spec
1 Summary:        Lightweight stand-alone network manager
2 Name:           lxnm
3 Version:        0.2.2
4 Release:        2
5 License:        GPL v2
6 Group:          X11/Applications/Networking
7 Source0:        http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
8 # Source0-md5:  2ee64e5fad4a27a522f1eb2da08dd46a
9 URL:            http://wiki.lxde.org/en/LXNM
10 BuildRequires:  glib2-devel
11 BuildRequires:  pkgconfig
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %undefine       __cxx
15
16 %description
17 LXNetdaemon is a fast, lightweight, stand-alone network manager.
18
19 %prep
20 %setup -q
21
22 %build
23 %configure
24 %{__make}
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28
29 %{__make} install \
30         DESTDIR=$RPM_BUILD_ROOT
31
32 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/{frp,ur_PK}
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc AUTHORS README
40 %attr(755,root,root) %{_sbindir}/lxnm
41 %attr(755,root,root) %{_datadir}/lxnm
42 %{_mandir}/man1/lxnm*