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