]>
Commit | Line | Data |
---|---|---|
02e6b957 | 1 | Summary: Text-mode tool for setting up NIS and shadow passwords |
7d2d639a ER |
2 | Summary(de.UTF-8): Textmodus-Tool, um NIS und shadow-Passwoerter zu konfigurieren |
3 | Summary(es.UTF-8): Herramienta de interfaz texto para configuración de contraseñas shadow y NIS | |
4 | Summary(ja.UTF-8): NIS とシャドーパスワードを設定するためのテキストモードのツール。 | |
5 | Summary(pl.UTF-8): Narzędzie do ustawiania przesłoniętych haseł oraz NIS | |
6 | Summary(pt_BR.UTF-8): Ferramenta de interface texto para configuração de senhas shadow e NIS | |
7 | Summary(ru.UTF-8): Утилита текстового режима для настройки shadow и NIS-паролей | |
8 | Summary(uk.UTF-8): Утиліта текстового режиму для налагодження shadow та NIS-паролів | |
4fc1e27c | 9 | Name: authconfig |
7c1ae0da ER |
10 | Version: 6.1.15 |
11 | Release: 0.1 | |
ddc06984 | 12 | License: GPL |
4fc1e27c | 13 | Group: Base |
7c1ae0da ER |
14 | Source0: https://fedorahosted.org/releases/a/u/authconfig/%{name}-%{version}.tar.bz2 |
15 | # Source0-md5: 97adf98a5748ea1898f6ae603ec02792 | |
16 | URL: https://fedorahosted.org/authconfig | |
17 | BuildRequires: desktop-file-utils | |
18 | BuildRequires: gettext | |
af8655bb | 19 | BuildRequires: gettext-devel |
7c1ae0da ER |
20 | BuildRequires: glib2-devel |
21 | BuildRequires: intltool | |
8bd63b0f | 22 | BuildRequires: newt-devel |
7c1ae0da | 23 | BuildRequires: perl-XML-Parser |
8bd63b0f | 24 | BuildRequires: popt-devel |
7c1ae0da | 25 | BuildRequires: python-devel |
4799dffd | 26 | BuildRequires: slang-devel >= 2.0.0 |
ed00b98f | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17d347cf | 28 | |
d67914cd | 29 | %description |
ddc06984 | 30 | Authconfig is a terminal mode program for setting up Network |
31 | Information Service (NIS) and shadow (more secure) passwords on your | |
32 | system. Authconfig also configures the system to automatically turn on | |
33 | NIS at system startup. | |
17d347cf | 34 | |
55436a27 | 35 | %description -l de.UTF-8 |
ddc06984 | 36 | Authconfig ist ein Textmodus-Programm, um Network |
55436a27 JR |
37 | Informations-Services (NIS) und Shadow (sicherere) Passwörter auf |
38 | Ihren System zu konfigurieren. Authconfig kann außerdem anschalten, | |
39 | daß NIS beim Systemstart angeschaltet wird. | |
00b5ffa9 | 40 | |
55436a27 | 41 | %description -l es.UTF-8 |
3e024e7f | 42 | Authconfig es un programa de interfaz de texto para configurar NIS y |
55436a27 | 43 | contraseñas shadow en el sistema. El programa authconfig también puede |
4331128f | 44 | inicializar NIS cuando se arranca el sistema. |
45 | ||
55436a27 JR |
46 | %description -l ja.UTF-8 |
47 | authconfig はシステムに Network Information Service (NIS) とシャドー | |
48 | (よりセキュリティーが高い)パスワードのセッティングをする端末モードの | |
49 | プログラムです。authconfig はまたシステム起動時に自動的に NIS を | |
50 | オンにするようにシステムを設定できます。 | |
4331128f | 51 | |
55436a27 | 52 | %description -l pl.UTF-8 |
ddc06984 | 53 | Authconfig jest terminalowym programem dla ustawiania NIS (Network |
55436a27 | 54 | Information Service) oraz przesłoniętych (bardziej bezpiecznych) haseł |
ddc06984 | 55 | w Twoim systemie. Authconfig dodatkowo konfiguruje system tak by NIS |
55436a27 | 56 | był aktywowany przy starcie systemu. |
253e26d3 | 57 | |
55436a27 JR |
58 | %description -l pt_BR.UTF-8 |
59 | O authconfig é um programa de interface texto para configurar o NIS e | |
60 | senhas shadow no seu sistema. O authconfig também pode inicializar o | |
4331128f | 61 | NIS no boot do sistema. |
62 | ||
55436a27 JR |
63 | %description -l ru.UTF-8 |
64 | Authconfig - это терминальная программа для настройки Network | |
65 | Information Service (NIS) и shadow (более безопасных) паролей в вашей | |
66 | системе. Authconfig также настраивает систему на автоматический запуск | |
67 | NIS при старте системы. | |
68 | ||
69 | %description -l uk.UTF-8 | |
70 | Authconfig - це термінальна програма для налагодження Network | |
71 | Information Service (NIS) та shadow (більш безпечних) паролів у вашій | |
72 | системі. Authconfig також конфігурує систему для автоматичного запуску | |
73 | NIS при старті системи. | |
a6f7eab6 | 74 | |
7c1ae0da ER |
75 | %package gtk |
76 | Summary: Graphical tool for setting up authentication from network services | |
77 | Group: Base | |
78 | Requires: %{name} = %{version}-%{release} | |
79 | Requires: gtk-update-icon-cache | |
80 | Requires: hicolor-icon-theme | |
81 | Requires: python-pygtk-glade >= 2.14.0 | |
82 | Requires: usermode-gtk | |
83 | ||
84 | %description gtk | |
85 | Authconfig-gtk is a GUI program which can configure a workstation to | |
86 | use shadow (more secure) passwords. Authconfig-gtk can also configure | |
87 | a system to be a client for certain networked user information and | |
88 | authentication schemes. | |
89 | ||
17d347cf | 90 | %prep |
91 | %setup -q | |
92 | ||
7c1ae0da | 93 | #mv po/sr{,@latin}.po |
6d6d8bba | 94 | |
17d347cf | 95 | %build |
7c1ae0da ER |
96 | %configure |
97 | %{__make} | |
17d347cf | 98 | |
99 | %install | |
4fc1e27c | 100 | rm -rf $RPM_BUILD_ROOT |
bb9c0a05 | 101 | %{__make} install \ |
7c1ae0da ER |
102 | DESTDIR=$RPM_BUILD_ROOT |
103 | ||
104 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/acutilmodule.a | |
105 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/acutilmodule.la | |
17d347cf | 106 | |
7c1ae0da ER |
107 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/authconfig-tui.py |
108 | ln -s authconfig.py $RPM_BUILD_ROOT%{_datadir}/%{name}/authconfig-tui.py | |
6d6d8bba | 109 | |
122fc98d | 110 | %find_lang %{name} |
111 | ||
17d347cf | 112 | %clean |
113 | rm -rf $RPM_BUILD_ROOT | |
114 | ||
7c1ae0da ER |
115 | %post gtk |
116 | %update_icon_cache_post hicolor | |
117 | ||
118 | %postun gtk | |
119 | %update_icon_cache_post hicolor | |
120 | ||
121 | %triggerin -- authconfig <= 5.4.9 | |
122 | authconfig --update --nostart >/dev/null 2>&1 || : | |
123 | ||
122fc98d | 124 | %files -f %{name}.lang |
4fc1e27c | 125 | %defattr(644,root,root,755) |
7c1ae0da ER |
126 | %doc NOTES TODO README.samba3 |
127 | %ghost %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/authconfig | |
128 | %ghost %config(noreplace) /etc/pam.d/system-auth-ac | |
129 | %ghost %config(noreplace) /etc/pam.d/password-auth-ac | |
130 | %ghost %config(noreplace) /etc/pam.d/fingerprint-auth-ac | |
131 | %ghost %config(noreplace) /etc/pam.d/smartcard-auth-ac | |
132 | %ghost %config(noreplace) /etc/pam.d/postlogin-ac | |
133 | %attr(755,root,root) %{_sbindir}/cacertdir_rehash | |
3a8718ff | 134 | %attr(755,root,root) %{_sbindir}/authconfig |
7c1ae0da ER |
135 | %attr(755,root,root) %{_sbindir}/authconfig-tui |
136 | %attr(755,root,root) %{py_sitedir}/acutilmodule.so | |
137 | %exclude %{_mandir}/man8/system-config-authentication.* | |
138 | %exclude %{_mandir}/man8/authconfig-gtk.* | |
6b00a69d | 139 | %{_mandir}/man8/* |
7c1ae0da ER |
140 | %{_mandir}/man5/* |
141 | %dir %{_datadir}/%{name} | |
142 | %{_datadir}/%{name}/authconfig.py* | |
143 | %{_datadir}/%{name}/authconfig-tui.py* | |
144 | %{_datadir}/%{name}/authinfo.py* | |
145 | %{_datadir}/%{name}/shvfile.py* | |
146 | %{_datadir}/%{name}/dnsclient.py* | |
147 | %{_datadir}/%{name}/msgarea.py* | |
148 | %attr(700,root,root) %dir %{_localstatedir}/lib/%{name} | |
149 | ||
150 | %files gtk | |
151 | %defattr(644,root,root,755) | |
152 | %config(noreplace) /etc/pam.d/authconfig-gtk | |
153 | %config(noreplace) /etc/pam.d/system-config-authentication | |
154 | %config(noreplace) /etc/security/console.apps/authconfig-gtk | |
155 | %config(noreplace) /etc/security/console.apps/system-config-authentication | |
156 | %config(noreplace) /etc/pam.d/authconfig | |
157 | %config(noreplace) /etc/pam.d/authconfig-tui | |
158 | %config(noreplace) /etc/security/console.apps/authconfig | |
159 | %config(noreplace) /etc/security/console.apps/authconfig-tui | |
160 | %attr(755,root,root) %{_bindir}/authconfig | |
161 | %attr(755,root,root) %{_bindir}/authconfig-tui | |
162 | %attr(755,root,root) %{_bindir}/authconfig-gtk | |
163 | %attr(755,root,root) %{_bindir}/system-config-authentication | |
164 | %attr(755,root,root) %{_sbindir}/authconfig-gtk | |
165 | %attr(755,root,root) %{_sbindir}/system-config-authentication | |
166 | %{_mandir}/man8/system-config-authentication.* | |
167 | %{_mandir}/man8/authconfig-gtk.* | |
168 | %{_datadir}/%{name}/authconfig.glade | |
169 | %{_datadir}/%{name}/authconfig-gtk.py* | |
170 | %{_desktopdir}/*.desktop | |
171 | %{_iconsdir}/hicolor/*/apps/system-config-authentication.* |