]> git.pld-linux.org Git - SPECS.git/blob - ppp-plugin-ifcfg-password.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ppp-plugin-ifcfg-password.spec
1 Summary:        ppp plugin reading passwords from ifcfg
2 Summary(pl.UTF-8):      Wtyczka ppp czytająca hasła z ifcfg
3 Name:           ppp-plugin-ifcfg-password
4 Version:        0.1
5 Release:        9
6 License:        distributable
7 Group:          Networking/Daemons
8 Source0:        ftp://dev.null.pl/pub/%{name}-%{version}.tar.gz
9 # Source0-md5:  926c7fc7bd73fcec8769dfcda66247d7
10 BuildRequires:  ppp-plugin-devel >= 2.4.1
11 BuildRequires:  rpmbuild(macros) >= 1.145
12 Requires:       ppp
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 ppp plugin reading passwords from ifcfg.
17
18 %description -l pl.UTF-8
19 Wtyczka ppp czytająca hasła z ifcfg.
20
21 %prep
22 %setup -q
23
24 rm -f *.h
25 ln -sf /usr/include/pppd/*.h .
26
27 %build
28 %{__make} \
29         CC="%{__cc}" \
30         LDFLAGS="%{rpmldflags} -shared" \
31         CFLAGS="%{rpmcflags} %{rpmcppflags} -fPIC -Wall"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_libdir}/pppd/plugins
36 install -p ifcfg-password.so $RPM_BUILD_ROOT%{_libdir}/pppd/plugins
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README
44 %attr(755,root,root) %{_libdir}/pppd/plugins/ifcfg-password.so
This page took 0.598828 seconds and 3 git commands to generate.