|
@@ -3,21 +3,13 @@
|
|
|
Summary: A wireless and wired network manager
|
|
|
Summary(ja): 無線・有線ネットワークマネージャ
|
|
|
Name: wicd
|
|
|
-Version: 1.7.0
|
|
|
-Release: 6%{?_dist_release}
|
|
|
-Source0: %{name}-%{version}.tar.bz2
|
|
|
-# from ATrpms package
|
|
|
-Patch0: wicd-1.7.0-init-script.patch
|
|
|
-Patch1: wicd-desktop.patch
|
|
|
-
|
|
|
-# from Debian
|
|
|
-Patch2: 18-dont_run_unexpected_files_in_scripts.patch
|
|
|
-Patch3: 27-fix_resolv.conf_perms.patch
|
|
|
-Patch4: 03-fix_typo_wicd-cli.patch
|
|
|
-Patch5: 08-fix_help_message.patch
|
|
|
-Patch6: 22-fix_deprecation.patch
|
|
|
-Patch7: 23-fix_script_macro_expansion.patch
|
|
|
-Patch8: 32-prefer_gksu.patch
|
|
|
+Version: 1.7.1
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+Source0: %{name}-%{version}.tar.gz
|
|
|
+Patch0: wicd-desktop.patch
|
|
|
+Patch1: 02-workaround_dhclient_bug.patch
|
|
|
+Patch2: 26-support_etc-network_scripts.patch
|
|
|
+Patch100: add_fix_ja.patch
|
|
|
|
|
|
License: GPLv2
|
|
|
Group: System Environment/Base
|
|
@@ -28,6 +20,7 @@ BuildArch: noarch
|
|
|
BuildRequires: gettext
|
|
|
BuildRequires: desktop-file-utils
|
|
|
BuildRequires: python >= 2.4 python-devel >= 2.4
|
|
|
+BuildRequires: python-babel
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
|
Requires: pm-utils >= 1.2.4
|
|
@@ -101,19 +94,18 @@ Client program for wicd that uses a GTK+ interface.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch0 -p1 -b .init
|
|
|
+%patch0 -p1
|
|
|
%patch1 -p1
|
|
|
%patch2 -p1
|
|
|
-%patch3 -p1
|
|
|
-%patch4 -p1
|
|
|
-%patch5 -p1
|
|
|
-%patch6 -p1
|
|
|
-%patch7 -p1
|
|
|
-%patch8 -p1
|
|
|
+%patch100 -p1
|
|
|
|
|
|
%{__sed} -i 's/\r//' wicd/logfile.py
|
|
|
|
|
|
%build
|
|
|
+python setup.py compile_translations
|
|
|
+# python-babel currently doesn't support Asturian, using gettext
|
|
|
+msgfmt po/ast.po -o translations/ast/LC_MESSAGES/wicd.mo
|
|
|
+
|
|
|
%{__python} setup.py configure --share=%{_datadir}/%{name} \
|
|
|
--etc=%{_sysconfdir}/%{name} \
|
|
|
--bin=%{_bindir} \
|
|
@@ -189,7 +181,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
%doc AUTHORS CHANGES INSTALL LICENSE NEWS README other/WHEREAREMYFILES
|
|
|
-%{_libdir}/pm-utils/sleep.d/91wicd
|
|
|
+%{_libdir}/pm-utils/sleep.d/55wicd
|
|
|
|
|
|
%files common -f %{name}.lang
|
|
|
%{_bindir}/wicd-cli
|
|
@@ -197,13 +189,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%{python_sitelib}/wicd
|
|
|
%{python_sitelib}/*.egg-info
|
|
|
%{_datadir}/applications/wicd.desktop
|
|
|
+%{_datadir}/dbus-1/system-services/
|
|
|
%{_datadir}/man/man1/wicd-client.1*
|
|
|
%{_datadir}/man/man5/wicd-manager-settings.conf.5*
|
|
|
%{_datadir}/man/man5/wicd-wired-settings.conf.5*
|
|
|
%{_datadir}/man/man5/wicd-wireless-settings.conf.5*
|
|
|
%{_datadir}/man/man8/wicd-cli.8*
|
|
|
%{_datadir}/man/man8/wicd.8*
|
|
|
-%{_mandir}/nl/man?/%{name}*
|
|
|
%{_datadir}/pixmaps/wicd*
|
|
|
%dir %{_datadir}/wicd
|
|
|
%dir %{_datadir}/wicd/backends
|
|
@@ -212,14 +204,17 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%{_datadir}/wicd/backends/*
|
|
|
%{_datadir}/wicd/cli/*
|
|
|
%{_datadir}/wicd/daemon/*
|
|
|
+%{_mandir}/nl/man?/%{name}*
|
|
|
%{_sysconfdir}/%{name}
|
|
|
%{_sysconfdir}/acpi/resume.d/80-wicd-connect.sh
|
|
|
%{_sysconfdir}/acpi/suspend.d/50-wicd-suspend.sh
|
|
|
%{_sysconfdir}/dbus-1/system.d/wicd.conf
|
|
|
+%{_sysconfdir}/logrotate.d/
|
|
|
%{_sysconfdir}/rc.d/init.d/wicd
|
|
|
%{_sysconfdir}/xdg/autostart/wicd-tray.desktop
|
|
|
%{_sbindir}/wicd
|
|
|
%{_localstatedir}/lib/wicd
|
|
|
+%exclude /lib/systemd/system/wicd.service
|
|
|
|
|
|
%files curses
|
|
|
%defattr(-,root,root,-)
|
|
@@ -242,6 +237,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/wicd-gtk.svg
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Feb 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.1-1
|
|
|
+- dropt almost pathces
|
|
|
+ - enabled patch is wicd-desktop.patch (Patch0)
|
|
|
+- added patch1 and patch2 from Debian sid
|
|
|
+- added patch100 to fix Japanese translation
|
|
|
+- added BuildRequires: python-babel
|
|
|
+
|
|
|
* Sun May 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.0-6
|
|
|
- changed BuildArch to noarch
|
|
|
- updated spec
|