On Thursday 06 March 2008 12:55:21 Paweł Zuzelski wrote:
> w załączniku patch do authconfig: upgrade wersji authconfig z 2.0 do
> 5.3.20.

Pisze, że patch, a przez pomyłkę wysłałem po prostu nową wersję speca (-:

Tym razem w załączniku patch.

-- 
Pozdrawiam
Paweł Zuzelski
--- authconfig.desktop.in	2007-07-18 15:02:34.000000000 +0000
+++ ../authconfig-5.3.20.new/authconfig.desktop.in	2008-03-06 10:38:27.000000000 +0000
@@ -2,7 +2,7 @@
 Encoding=UTF-8
 _Name=Authentication
 _Comment=Control how the system verifies users who attempt to log in
-Icon=user_auth.png
+Icon=user_auth
 Exec=/usr/bin/system-config-authentication
 Type=Application
 Terminal=false
--- authconfig.spec	2008-03-06 11:41:15.000000000 +0000
+++ authconfig.spec.new	2008-03-06 11:39:49.000000000 +0000
@@ -1,91 +1,81 @@
 # $Revision: 1.43 $, $Date: 2007-02-12 21:23:48 $
-Summary:	Text-mode tool for setting up NIS and shadow passwords
-Summary(de.UTF-8):	Textmodus-Tool, um NIS und shadow-Passwoerter zu konfigurieren
-Summary(es.UTF-8):	Herramienta de interfaz texto para configuración de contraseñas shadow y NIS
-Summary(ja.UTF-8):	NIS とシャドーパスワードを設定するためのテキストモードのツール。
-Summary(pl.UTF-8):	Narzędzie do ustawiania przesłoniętych haseł oraz NIS
-Summary(pt_BR.UTF-8):	Ferramenta de interface texto para configuração de senhas shadow e NIS
-Summary(ru.UTF-8):	Утилита текстового режима для настройки shadow и NIS-паролей
-Summary(uk.UTF-8):	Утиліта текстового режиму для налагодження shadow та NIS-паролів
+Summary:	Text-mode tool for setting up LDAP, NIS and shadow passwords
+Summary(pl.UTF-8):	Narzędzie do ustawiania przesłoniętych haseł, NIS i LDAP
 Name:		authconfig
-Version:	2.0
-Release:	8
+Version:	5.3.20
+Release:	1
 License:	GPL
 Group:		Base
-Source0:	%{name}-%{version}.tar.gz
-# Source0-md5:	5299be78429fd5f550950966b0a3e015
-Patch0:		%{name}-make.patch
-Patch1:		%{name}-po.patch
+Source0:	http://resources.ync.pl/download/Sources/%{name}-%{version}.tar.bz2
+# Source0-md5:	f0187a868b30b5dd66b78c2e07d247d4
+Patch0:		%{name}-desktop.patch
+BuildRequires:	desktop-file-utils
 BuildRequires:	gettext-devel
-BuildRequires:	newt-devel
-BuildRequires:	popt-devel
-BuildRequires:	slang-devel >= 2.0.0
+BuildRequires:	glib2-devel
+BuildRequires:	intltool
+BuildRequires:	perl-XML-Parser
+BuildRequires:	python >= 2.4.1
+BuildRequires:	python-devel
+Requires:	pam >= 0.99.8.1-14
+Requires:	python
+Requires:	python-modules
+Requires:	python-snack
+Requires:	usermode
+Conflicts:	nss_ldap < 254
+Conflicts:	pam_krb5 < 1.49
+Conflicts:	samba-client < 3.0
+Conflicts:	samba-common < 3.0
 ExclusiveOS:	Linux
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Authconfig is a terminal mode program for setting up Network
-Information Service (NIS) and shadow (more secure) passwords on your
-system. Authconfig also configures the system to automatically turn on
-NIS at system startup.
-
-%description -l de.UTF-8
-Authconfig ist ein Textmodus-Programm, um Network
-Informations-Services (NIS) und Shadow (sicherere) Passwörter auf
-Ihren System zu konfigurieren. Authconfig kann außerdem anschalten,
-daß NIS beim Systemstart angeschaltet wird.
-
-%description -l es.UTF-8
-Authconfig es un programa de interfaz de texto para configurar NIS y
-contraseñas shadow en el sistema. El programa authconfig también puede
-inicializar NIS cuando se arranca el sistema.
-
-%description -l ja.UTF-8
-authconfig はシステムに Network Information Service (NIS) とシャドー
-(よりセキュリティーが高い)パスワードのセッティングをする端末モードの
-プログラムです。authconfig はまたシステム起動時に自動的に NIS を
-オンにするようにシステムを設定できます。
+Authconfig is a command line utility which can configure a workstation
+to use shadow (more secure) passwords. Authconfig can also configure a
+system to be a client for certain networked user information and
+authentication schemes.
 
 %description -l pl.UTF-8
-Authconfig jest terminalowym programem dla ustawiania NIS (Network
-Information Service) oraz przesłoniętych (bardziej bezpiecznych) haseł
-w Twoim systemie. Authconfig dodatkowo konfiguruje system tak by NIS
-był aktywowany przy starcie systemu.
-
-%description -l pt_BR.UTF-8
-O authconfig é um programa de interface texto para configurar o NIS e
-senhas shadow no seu sistema. O authconfig também pode inicializar o
-NIS no boot do sistema.
-
-%description -l ru.UTF-8
-Authconfig - это терминальная программа для настройки Network
-Information Service (NIS) и shadow (более безопасных) паролей в вашей
-системе. Authconfig также настраивает систему на автоматический запуск
-NIS при старте системы.
-
-%description -l uk.UTF-8
-Authconfig - це термінальна програма для налагодження Network
-Information Service (NIS) та shadow (більш безпечних) паролів у вашій
-системі. Authconfig також конфігурує систему для автоматичного запуску
-NIS при старті системи.
+Authconfig jest terminalowym programem pomagającym skonfigurować hasła
+shadow na pracostacji. Authconfig potrafi również skonfigurować
+system, aby był klientem dla różnych sieciowych systemów autoryzacji
+takich jak NIS albo LDAP.
+
+%package gtk
+Summary:	Graphical tool for setting up authentication from network services
+Group:		Base
+Requires:	%{name} = %{version}-%{release}
+Requires:	pygtk2-libglade >= 2.4.0
+
+%description gtk
+Authconfig-gtk is a GUI program which can configure a workstation to
+use shadow (more secure) passwords. Authconfig-gtk can also configure
+a system to be a client for certain networked user information and
+authentication schemes.
+
+%description -l pl.UTF-8
+Authconfig-gtk jest graficznym programem pomagającym skonfigurować
+hasła shadow na pracostacji. Authconfig potrafi również skonfigurować
+system, aby był klientem dla różnych sieciowych systemów autoryzacji
+takich jak NIS albo LDAP.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
-mv po/{no,nb}.po
-mv po/sr{,@Latn}.po
+%patch0 -p0
 
 %build
-%{__make} \
-	CFLAGS="-DVERSION=\"${VERSION}\" %{rpmcflags} -Wall"
+CFLAGS="$RPM_OPT_FLAGS -fPIC -DVERSION=\"${VERSION}\" %{rpmcflags} -Wall"
+export CFLAGS
+%configure \
+	--sysconfdir=%{_sysconfdir}
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	INSTROOT=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT
 
 # remove empty translation files
 for f in $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/*.mo; do
@@ -94,13 +84,53 @@
 
 %find_lang %{name}
 
+rm $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/acutilmodule.a
+rm $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/acutilmodule.la
+rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/authconfig-tui.py
+ln -s authconfig.py $RPM_BUILD_ROOT/%{_datadir}/%{name}/authconfig-tui.py
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/authconfig
+%doc COPYING NOTES TODO README.samba3
+%ghost %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/authconfig
+%ghost %config(noreplace) /etc/pam.d/system-auth-ac
+%attr(755,root,root) %{_bindir}/authconfig
+%attr(755,root,root) %{_bindir}/authconfig-tui
+%attr(755,root,root) %{_sbindir}/cacertdir_rehash
+%attr(755,root,root) %{_sbindir}/authconfig
+%attr(755,root,root) %{_sbindir}/authconfig-tui
 %{_mandir}/man8/*
+%{_mandir}/man5/*
+%{_libdir}/python*/site-packages/acutilmodule.so
+%dir %{_datadir}/%{name}
+%attr(755,root,root) %{_datadir}/%{name}/authconfig.py
+%{_datadir}/%{name}/authconfig-tui.py*
+%{_datadir}/%{name}/authinfo.py*
+%{_datadir}/%{name}/shvfile.py*
+%{_datadir}/%{name}/dnsclient.py*
+%config(noreplace) /etc/pam.d/authconfig
+%config(noreplace) /etc/pam.d/authconfig-tui
+%config(noreplace) /etc/security/console.apps/authconfig
+%config(noreplace) /etc/security/console.apps/authconfig-tui
+
+%files gtk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/authconfig-gtk
+%attr(755,root,root) %{_bindir}/system-config-authentication
+%attr(755,root,root) %{_sbindir}/authconfig-gtk
+%attr(755,root,root) %{_sbindir}/system-config-authentication
+%{_datadir}/%{name}/authconfig.glade
+%{_datadir}/%{name}/authconfig-gtk.py*
+%config(noreplace) /etc/pam.d/authconfig-gtk
+%config(noreplace) /etc/pam.d/system-config-authentication
+%config(noreplace) /etc/security/console.apps/authconfig-gtk
+%config(noreplace) /etc/security/console.apps/system-config-authentication
+%{_desktopdir}/*
+%{_pixmapsdir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -204,20 +234,3 @@
 Revision 1.13  1999/07/12 23:05:53  kloczek
 - added using CVS keywords in %changelog (for automating them).
 
-* Mon May 31 1999 Tomasz Kłoczko <[EMAIL PROTECTED]>
-  [1.7-4]
-- added using %%find_lang macro.
-
-* Fri May 14 1999 Tomasz Kłoczko <[EMAIL PROTECTED]>
-  [1.7-3]
-- now package is FHS 2.0 compliant.
-
-* Wed Apr 28 1999 Tomasz Kłoczko <[EMAIL PROTECTED]>
-  [1.7-2]
-- uncommented .mo files and added %lang macros for this files,
-- gzippen man page,
-- Group changed to Base,
-- added BuildPrereq rules,
-- added "rm -rf $RPM_BUILD_ROOT" on top %install.
-
-Spec based on RH version.
_______________________________________________
pld-devel-pl mailing list
pld-devel-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Reply via email to