/[packages]/cauldron/wicd/current/SPECS/wicd.spec
ViewVC logotype

Contents of /cauldron/wicd/current/SPECS/wicd.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 89374 - (show annotations) (download)
Thu Apr 21 02:32:07 2011 UTC (13 years ago) by ahmad
File size: 1817 byte(s)
imported package wicd
1 Name: wicd
2 Version: 1.7.0
3 Release: %mkrel 3
4 License: GPLv2
5 Group: System/Configuration/Networking
6 Source0: http://dl.sourceforge.net/wicd/%{name}-%{version}.tar.gz
7 Source1: %{name}.init
8 # Install pm-utils scripts in %{libdir}/pm-utils, not in /usr/lib/pm-utils
9 Patch0: wicd-libdir.patch
10 URL: http://wicd.net/
11 Summary: wired and wireless network manager
12 BuildRequires: python-devel
13 Requires: python
14 Requires: python-urwid
15 BuildRoot: %{tmpdir}/%{name}-%{version}
16
17 %description
18 Wicd is an open source wired and wireless network manager for Linux
19 which aims to provide a simple interface to connect to networks with a
20 wide variety of settings.
21
22 %prep
23 %setup -q
24 %patch0 -p1 -b .libdir
25 python setup.py configure --no-install-kde
26
27 %build
28 python setup.py build
29
30 %install
31 rm -rf %{buildroot}
32 python setup.py install \
33 --optimize=2 \
34 --root=%{buildroot}
35
36 install -D %{SOURCE1} %{buildroot}/%{_initrddir}/%{name}
37
38 %find_lang %name
39
40 %clean
41 rm -rf %{buildroot}
42
43 %post
44 %_preun_service network
45 %_preun_service network-up
46 %_post_service %{name}
47
48 %preun
49 %_preun_service %{name}
50 %_post_service network
51 %_post_service network-up
52
53 %files -f %name.lang
54 %defattr(-,root,root)
55 %doc AUTHORS README
56 %{_bindir}/*
57 %{_sysconfdir}/acpi/resume.d/80-wicd-connect.sh
58 %{_sysconfdir}/acpi/suspend.d/50-wicd-suspend.sh
59 %{_libdir}/pm-utils/sleep.d/91wicd
60 %{py_puresitedir}/%{name}/*
61 %{py_puresitedir}/*.egg-info
62 %{_datadir}/pixmaps/*
63 %{_mandir}
64 %{_datadir}/%{name}
65 %{_iconsdir}/hicolor
66 %{_sysconfdir}/dbus-1/system.d/wicd.conf
67 %{_sysconfdir}/wicd
68 %{_sysconfdir}/xdg/autostart/wicd-tray.desktop
69 %attr(755,root,root) %{_sbindir}/wicd
70 %{_datadir}/applications/wicd.desktop
71 %{_var}/lib/%{name}
72 %_logdir/%{name}
73 %attr(754,root,root) /etc/rc.d/init.d/%{name}
74
75

  ViewVC Help
Powered by ViewVC 1.1.30