]> git.pld-linux.org Git - packages/authconfig.git/blob - authconfig.spec
0258f5639e649515e2179560fb59e634effd4a8f
[packages/authconfig.git] / authconfig.spec
1 Summary:        Text-mode tool for setting up NIS and shadow passwords
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-паролів
9 Name:           authconfig
10 Version:        6.1.15
11 Release:        0.1
12 License:        GPL
13 Group:          Base
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
19 BuildRequires:  gettext-devel
20 BuildRequires:  glib2-devel
21 BuildRequires:  intltool
22 BuildRequires:  newt-devel
23 BuildRequires:  perl-XML-Parser
24 BuildRequires:  popt-devel
25 BuildRequires:  python-devel
26 BuildRequires:  slang-devel >= 2.0.0
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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.
34
35 %description -l de.UTF-8
36 Authconfig ist ein Textmodus-Programm, um Network
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.
40
41 %description -l es.UTF-8
42 Authconfig es un programa de interfaz de texto para configurar NIS y
43 contraseñas shadow en el sistema. El programa authconfig también puede
44 inicializar NIS cuando se arranca el sistema.
45
46 %description -l ja.UTF-8
47 authconfig はシステムに Network Information Service (NIS) とシャドー
48 (よりセキュリティーが高い)パスワードのセッティングをする端末モードの
49 プログラムです。authconfig はまたシステム起動時に自動的に NIS を
50 オンにするようにシステムを設定できます。
51
52 %description -l pl.UTF-8
53 Authconfig jest terminalowym programem dla ustawiania NIS (Network
54 Information Service) oraz przesłoniętych (bardziej bezpiecznych) haseł
55 w Twoim systemie. Authconfig dodatkowo konfiguruje system tak by NIS
56 był aktywowany przy starcie systemu.
57
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
61 NIS no boot do sistema.
62
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 при старті системи.
74
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
90 %prep
91 %setup -q
92
93 #mv po/sr{,@latin}.po
94
95 %build
96 %configure
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/acutilmodule.a
105 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/acutilmodule.la
106
107 %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/authconfig-tui.py
108 ln -s authconfig.py $RPM_BUILD_ROOT%{_datadir}/%{name}/authconfig-tui.py
109
110 %find_lang %{name}
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
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
124 %files -f %{name}.lang
125 %defattr(644,root,root,755)
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
134 %attr(755,root,root) %{_sbindir}/authconfig
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.*
139 %{_mandir}/man8/*
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.*
This page took 0.040412 seconds and 3 git commands to generate.