]> git.pld-linux.org Git - SPECS.git/blob - pam-pam_dotfile.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / pam-pam_dotfile.spec
1 %define         modulename pam_dotfile
2 Summary:        A PAM module which allows users to have more than one password
3 Summary(pl.UTF-8):      Moduł pozwalający na posiadanie więcej niż jednego hasła
4 Name:           pam-%{modulename}
5 Version:        0.7
6 Release:        3
7 Epoch:          0
8 License:        GPL v2
9 Group:          Applications/System
10 Source0:        http://0pointer.de/lennart/projects/pam_dotfile/%{modulename}-%{version}.tar.gz
11 # Source0-md5:  3c7249f4e6d8a9bd756bb4e09f2ed907
12 URL:            http://0pointer.net/lennart/projects/pam_dotfile/
13 BuildRequires:  autoconf >= 2.57
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  lynx
17 BuildRequires:  pam-devel
18 BuildRequires:  sed >= 4.0
19 Obsoletes:      pam_dotfile
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 pam_dotfile is a PAM module which allows users to have more than one
24 password for a single account, each for a different service.
25
26 %description -l pl.UTF-8
27 pam_dotfile jest modułem PAM pozwalającym użytkownikom na posiadanie
28 więcej niż jednego hasła do jednego konta, różne hasła do różnych
29 serwisów.
30
31 %prep
32 %setup -q -n %{modulename}-%{version}
33
34 sed -i -e "s#root#$(id -u)#g" src/Makefile*
35 sed -i -e "s#/lib/security#/%{_lib}/security#g" configure.ac
36
37 %build
38 %{__libtoolize}
39 %{__aclocal}
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 %configure
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.la
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README
61 %attr(755,root,root) /%{_lib}/security/pam_dotfile.so
62 %attr(755,root,root) %{_bindir}/pam*
63 %attr(4755,root,root) %{_sbindir}/pam*
64 %{_mandir}/man?/*
This page took 0.296286 seconds and 3 git commands to generate.