|
@@ -2,16 +2,18 @@ Summary: A graphical interface for administering users and groups
|
|
Summary(ja): ユーザとグループを管理するためのグラフィカルインタフェース
|
|
Summary(ja): ユーザとグループを管理するためのグラフィカルインタフェース
|
|
|
|
|
|
Name: system-config-users
|
|
Name: system-config-users
|
|
-Version: 1.2.87
|
|
|
|
|
|
+Version: 1.2.107
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
URL: http://fedora.redhat.com/projects/config-tools/
|
|
URL: http://fedora.redhat.com/projects/config-tools/
|
|
License: GPL
|
|
License: GPL
|
|
ExclusiveOS: Linux
|
|
ExclusiveOS: Linux
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
|
|
|
|
|
|
+Source: %{name}-%{version}.tar.bz2
|
|
|
|
+Patch1: %{name}-1.2.107-noselinux.patch
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
-Source: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
BuildRequires: intltool
|
|
@@ -23,8 +25,7 @@ Requires: pygtk2-libglade
|
|
Requires: usermode-gtk
|
|
Requires: usermode-gtk
|
|
Requires: xdg-utils
|
|
Requires: xdg-utils
|
|
Requires: rpm-python
|
|
Requires: rpm-python
|
|
-Requires: /usr/bin/pgrep
|
|
|
|
-Requires: rhpl
|
|
|
|
|
|
+Requires: procps
|
|
Requires: hicolor-icon-theme
|
|
Requires: hicolor-icon-theme
|
|
|
|
|
|
%description
|
|
%description
|
|
@@ -33,12 +34,13 @@ users and groups. It depends on the libuser library.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch1 -p1 -b .noselinux
|
|
|
|
|
|
sed -i -e 's|/usr/bin/python2|/usr/bin/python|g' \
|
|
sed -i -e 's|/usr/bin/python2|/usr/bin/python|g' \
|
|
src/system-config-users src/*.py
|
|
src/system-config-users src/*.py
|
|
|
|
|
|
%build
|
|
%build
|
|
-make
|
|
|
|
|
|
+make CONSOLE_USE_CONFIG_UTIL=1
|
|
|
|
|
|
%install
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
@@ -53,33 +55,22 @@ find $RPM_BUILD_ROOT%{_datadir} -name "*.mo" | xargs ./utf8ify-mo
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%post
|
|
|
|
-touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
- 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
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%doc COPYING
|
|
-%doc doc/*
|
|
|
|
-/usr/bin/system-config-users
|
|
|
|
-%dir /usr/share/system-config-users
|
|
|
|
-/usr/share/system-config-users/*
|
|
|
|
|
|
+%{_bindir}/system-config-users
|
|
|
|
+%dir %{_datadir}/system-config-users
|
|
|
|
+%{_datadir}/system-config-users/*
|
|
%{_mandir}/man8/system-config-users*
|
|
%{_mandir}/man8/system-config-users*
|
|
%attr(0644,root,root) %{_datadir}/applications/%{name}.desktop
|
|
%attr(0644,root,root) %{_datadir}/applications/%{name}.desktop
|
|
-%attr(0644,root,root) %{_datadir}/icons/hicolor/48x48/apps/system-config-users.png
|
|
|
|
-%attr(0644,root,root) %config /etc/security/console.apps/system-config-users
|
|
|
|
-%attr(0644,root,root) %config /etc/pam.d/system-config-users
|
|
|
|
-%attr(0644,root,root) %config (noreplace) /etc/sysconfig/system-config-users
|
|
|
|
|
|
+%attr(0644,root,root) %config %{_sysconfdir}/security/console.apps/system-config-users
|
|
|
|
+%attr(0644,root,root) %config %{_sysconfdir}/pam.d/system-config-users
|
|
|
|
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/system-config-users
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Apr 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.107-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Sat Jun 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.87-1
|
|
* Sat Jun 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.87-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- add R: xdg-utils instead of htmlview
|
|
- add R: xdg-utils instead of htmlview
|