/[packages]/cauldron/networkmanager-l2tp/current/SPECS/networkmanager-l2tp.spec
ViewVC logotype

Contents of /cauldron/networkmanager-l2tp/current/SPECS/networkmanager-l2tp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1629935 - (show annotations) (download)
Thu Sep 24 22:46:37 2020 UTC (4 years ago) by martinw
File size: 1804 byte(s)
rebuild for new ppp

1 %global ppp_ver %(rpm -q --queryformat "%{VERSION}" ppp)
2
3 Summary: L2TP and L2TP/IPsec support for NetworkManager
4 Name: networkmanager-l2tp
5 Version: 1.2.10
6 Release: %mkrel 6
7 License: GPLv2+
8 Group: System/Networking
9 URL: https://github.com/nm-l2tp/network-manager-l2tp
10 Source0: https://github.com/nm-l2tp/network-manager-l2tp/archive/%{version}/network-manager-l2tp-%{version}.tar.gz
11 Patch0: 0001-Fix-build-with-Wl-no-undefined.patch
12 BuildRequires: gettext-devel
13 BuildRequires: intltool
14 BuildRequires: ppp-devel
15 BuildRequires: pkgconfig(gtk+-3.0)
16 BuildRequires: pkgconfig(libnma)
17 BuildRequires: pkgconfig(libnm)
18 BuildRequires: pkgconfig(libsecret-1)
19 Requires: networkmanager
20 Requires: ppp = %{ppp_ver}
21 Requires: gnome-keyring
22 Requires: xl2tpd
23 Recommends: openswan
24
25 %description
26 This package contains software for integrating the L2TP VPN
27 with NetworkManager and the GNOME desktop.
28
29 %prep
30 %setup -qn network-manager-l2tp-%{version}
31 %autopatch -p1
32
33 %build
34 intltoolize -f
35 autoreconf -vfi
36 %configure \
37 --enable-maintainer-mode \
38 --disable-static \
39 --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_ver} \
40 --without-libnm-glib
41 %make_build
42
43 %install
44 %make_install
45
46 # replaced by file in /usr/lib/NetworkManager/VPN/
47 rm -rf %{buildroot}%{_sysconfdir}/NetworkManager/VPN/nm-l2tp-service.name
48
49 find %{buildroot} -name '*.la' -delete
50
51 %find_lang NetworkManager-l2tp
52
53 %files -f NetworkManager-l2tp.lang
54 %doc AUTHORS README.md
55 %{_prefix}/lib/NetworkManager/VPN/nm-l2tp-service.name
56 %{_libdir}/NetworkManager/libnm-vpn-plugin-l2tp-editor.so
57 %{_libdir}/NetworkManager/libnm-vpn-plugin-l2tp.so
58 %{_libdir}/pppd/%{ppp_ver}/nm-l2tp-pppd-plugin.so
59 %{_libexecdir}/nm-l2tp-auth-dialog
60 %{_libexecdir}/nm-l2tp-service
61 %{_sysconfdir}/dbus-1/system.d/nm-l2tp-service.conf
62 %{_datadir}/appdata/network-manager-l2tp.metainfo.xml

  ViewVC Help
Powered by ViewVC 1.1.30