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