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