]> git.pld-linux.org Git - SPECS.git/blob - authconfig.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.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.2.2
11 Release:        0.6
12 License:        GPL v2+
13 Group:          Base
14 Source0:        https://fedorahosted.org/releases/a/u/authconfig/%{name}-%{version}.tar.bz2
15 # Source0-md5:  13feaa9de8ddd93fde618415bf3aec75
16 Patch0:         libs-resolv.patch
17 URL:            https://fedorahosted.org/authconfig
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  desktop-file-utils
21 BuildRequires:  gettext-tools
22 BuildRequires:  glib2-devel
23 BuildRequires:  intltool
24 BuildRequires:  libtool
25 BuildRequires:  newt-devel
26 BuildRequires:  perl-XML-Parser
27 BuildRequires:  popt-devel
28 BuildRequires:  python-devel >= 1:2.6
29 BuildRequires:  slang-devel >= 2.0.0
30 #Requires:      libpwquality > 0.9
31 Requires:       pam >= 0.99.10.0
32 Requires:       python
33 Requires:       python-snack
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
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.
41
42 %description -l de.UTF-8
43 Authconfig ist ein Textmodus-Programm, um Network
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.
47
48 %description -l es.UTF-8
49 Authconfig es un programa de interfaz de texto para configurar NIS y
50 contraseñas shadow en el sistema. El programa authconfig también puede
51 inicializar NIS cuando se arranca el sistema.
52
53 %description -l ja.UTF-8
54 authconfig はシステムに Network Information Service (NIS) とシャドー
55 (よりセキュリティーが高い)パスワードのセッティングをする端末モードの
56 プログラムです。authconfig はまたシステム起動時に自動的に NIS を
57 オンにするようにシステムを設定できます。
58
59 %description -l pl.UTF-8
60 Authconfig jest terminalowym programem dla ustawiania NIS (Network
61 Information Service) oraz przesłoniętych (bardziej bezpiecznych) haseł
62 w Twoim systemie. Authconfig dodatkowo konfiguruje system tak by NIS
63 był aktywowany przy starcie systemu.
64
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
68 NIS no boot do sistema.
69
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 при старті системи.
81
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
97 %prep
98 %setup -q
99 %patch0 -p1
100
101 #mv po/sr{,@latin}.po
102
103 %build
104 %{__libtoolize}
105 %{__aclocal}
106 %{__autoconf}
107 %{__autoheader}
108 %{__automake}
109 CFLAGS="%{rpmcflags} -fPIC"
110 %configure
111 %{__make}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115 install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
116 %{__make} install \
117         DESTDIR=$RPM_BUILD_ROOT
118
119 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/bal
120
121 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/acutilmodule.a
122 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/acutilmodule.la
123
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]
129
130 %find_lang %{name}
131
132 %clean
133 rm -rf $RPM_BUILD_ROOT
134
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
144 %files -f %{name}.lang
145 %defattr(644,root,root,755)
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
154 %attr(755,root,root) %{_sbindir}/authconfig
155 %attr(755,root,root) %{_sbindir}/authconfig-tui
156 %attr(755,root,root) %{py_sitedir}/acutilmodule.so
157 %{_mandir}/man8/*
158 %{_mandir}/man5/*
159 %exclude %{_mandir}/man8/system-config-authentication.*
160 %exclude %{_mandir}/man8/authconfig-gtk.*
161 %dir %{_datadir}/%{name}
162 %attr(755,root,root) %{_datadir}/%{name}/authconfig.py
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]
168 %attr(700,root,root) %dir %{_localstatedir}/lib/%{name}
169
170 %files gtk
171 %defattr(644,root,root,755)
172 %config(noreplace) /etc/pam.d/authconfig
173 %config(noreplace) /etc/pam.d/authconfig-gtk
174 %config(noreplace) /etc/pam.d/authconfig-tui
175 %config(noreplace) /etc/pam.d/system-config-authentication
176 %config(noreplace) /etc/security/console.apps/authconfig
177 %config(noreplace) /etc/security/console.apps/authconfig-gtk
178 %config(noreplace) /etc/security/console.apps/authconfig-tui
179 %config(noreplace) /etc/security/console.apps/system-config-authentication
180 %attr(755,root,root) %{_bindir}/authconfig
181 %attr(755,root,root) %{_bindir}/authconfig-gtk
182 %attr(755,root,root) %{_bindir}/authconfig-tui
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
189 %attr(755,root,root) %{_datadir}/%{name}/authconfig-gtk.py
190 %{_desktopdir}/*.desktop
191 %{_iconsdir}/hicolor/*/apps/system-config-authentication.*
This page took 0.647361 seconds and 3 git commands to generate.