|
@@ -2,28 +2,39 @@ Summary: An initscript and xinetd configuration utility
|
|
|
Summary(ja): initscript と xinetd の設定ユーティリティ
|
|
|
|
|
|
Name: system-config-services
|
|
|
-Version: 0.9.4
|
|
|
+Version: 0.99.47
|
|
|
Release: 1%{?_dist_release}
|
|
|
-URL: http://fedoraproject.org/wiki/SystemConfig/services
|
|
|
+URL: http://fedoraproject.org/%{name}
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
-Patch10: %{name}-0.9.4-desktop-file.patch
|
|
|
-License: GPL
|
|
|
+License: GPLv2+
|
|
|
Group: Applications/System
|
|
|
+
|
|
|
BuildArch: noarch
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
AutoReq: no
|
|
|
+
|
|
|
+BuildRequires: intltool, sed, desktop-file-utils
|
|
|
+BuildRequires: gettext
|
|
|
+BuildRequires: python, python-devel
|
|
|
Requires: chkconfig
|
|
|
Requires: python
|
|
|
Requires: pygtk2, pygtk2-libglade, rhpl
|
|
|
-Requires: usermode
|
|
|
Requires: htmlview
|
|
|
Requires: python
|
|
|
+Requires: gamin-python
|
|
|
+Requires: initscripts
|
|
|
+Requires: python
|
|
|
+Requires: dbus-python
|
|
|
+Requires: python-slip
|
|
|
+Requires: python-slip-dbus
|
|
|
+Requires: python-slip-gtk
|
|
|
+Requires: polkit
|
|
|
Requires(post): hicolor-icon-theme, gtk2
|
|
|
Requires(postun): hicolor-icon-theme, gtk2
|
|
|
-BuildRequires: intltool, sed, desktop-file-utils
|
|
|
-BuildRequires: perl(XML::Parser)
|
|
|
-BuildRequires: gettext
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: daisuke
|
|
|
|
|
|
%description
|
|
|
system-config-services is a utility which allows you to configure which services
|
|
@@ -35,14 +46,13 @@ should be enabled on your machine.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch10 -p1 -b .desktop-file
|
|
|
|
|
|
%build
|
|
|
make
|
|
|
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
-make DESTDIR=%buildroot install
|
|
|
+make DESTDIR=%buildroot POLKIT0_SUPPORTED=0 install
|
|
|
|
|
|
desktop-file-install --vendor system --delete-original \
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
@@ -56,13 +66,13 @@ chmod a-x %{buildroot}%{_mandir}/*/*
|
|
|
%post
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
+ gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
|
fi
|
|
|
|
|
|
%postun
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
+ gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
|
fi
|
|
|
|
|
|
%clean
|
|
@@ -71,19 +81,24 @@ rm -rf %{buildroot}
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
%doc COPYING
|
|
|
-%doc docs/*
|
|
|
%{_sbindir}/*
|
|
|
%{_bindir}/*
|
|
|
%{_datadir}/applications/system-config-services.desktop
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/system-config-services.png
|
|
|
%{_datadir}/system-config-services
|
|
|
-%config %{_sysconfdir}/pam.d/system-config-services
|
|
|
-%config %{_sysconfdir}/security/console.apps/system-config-services
|
|
|
-%config %{_sysconfdir}/security/console.apps/serviceconf
|
|
|
-%config %{_sysconfdir}/pam.d/serviceconf
|
|
|
+%{python_sitelib}/scservices
|
|
|
+%{python_sitelib}/scservices-%{version}-py%{python_version}.egg-info
|
|
|
+%{python_sitelib}/scservices.dbus-%{version}-py%{python_version}.egg-info
|
|
|
+%{_sysconfdir}/dbus-1/system.d/org.fedoraproject.Config.Services.conf
|
|
|
+%{_datadir}/dbus-1/system-services/org.fedoraproject.Config.Services.service
|
|
|
+%{_datadir}/polkit-1/actions/org.fedoraproject.config.services.policy
|
|
|
+
|
|
|
%{_mandir}/*/system-config-services.8*
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Apr 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.47-1
|
|
|
+- update to 0.99.47
|
|
|
+
|
|
|
* Wed Oct 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-1
|
|
|
- initial build for Vine Linux
|
|
|
|