]>
Commit | Line | Data |
---|---|---|
1 | Summary: NetworkManager VPN integration for PPTP | |
2 | Summary(pl.UTF-8): Integracja NetworkManagera z protokołem PPTP | |
3 | Name: NetworkManager-pptp | |
4 | Version: 1.2.8 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-pptp/1.2/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 305e31d6aac41813d735f27891fce6d8 | |
10 | URL: https://wiki.gnome.org/Projects/NetworkManager | |
11 | BuildRequires: NetworkManager-devel >= 2:1.2.0 | |
12 | BuildRequires: NetworkManager-gtk-lib-devel >= 1.2.0 | |
13 | BuildRequires: autoconf >= 2.59 | |
14 | BuildRequires: automake >= 1:1.9 | |
15 | BuildRequires: gettext-tools | |
16 | BuildRequires: glib2-devel >= 1:2.32 | |
17 | BuildRequires: gtk+3-devel >= 3.4 | |
18 | BuildRequires: intltool >= 0.35.0 | |
19 | BuildRequires: libsecret-devel >= 0.18 | |
20 | BuildRequires: libtool | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: ppp-plugin-devel >= 3:2.4.5 | |
23 | BuildRequires: tar >= 1:1.22 | |
24 | BuildRequires: xz | |
25 | Requires: NetworkManager >= 2:1.0.0 | |
26 | Requires: NetworkManager-gtk-lib >= 1.0.6 | |
27 | Requires: glib2 >= 1:2.32 | |
28 | Requires: gtk+3 >= 3.4 | |
29 | Requires: libsecret >= 0.18 | |
30 | %requires_eq ppp | |
31 | Requires: pptp | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
35 | NetworkManager VPN integration for PPTP. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Integracja NetworkManagera z protokołem PPTP. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__intltoolize} | |
45 | %{__libtoolize} | |
46 | %{__aclocal} -I m4 | |
47 | %{__autoconf} | |
48 | %{__autoheader} | |
49 | %{__automake} | |
50 | %configure \ | |
51 | --disable-silent-rules \ | |
52 | --disable-static \ | |
53 | --with-pppd-plugin-dir=%{_libdir}/pppd/plugins | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/NetworkManager/*.la | |
63 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/plugins/*.la | |
64 | ||
65 | %find_lang %{name} | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files -f %{name}.lang | |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS ChangeLog README TODO | |
73 | %attr(755,root,root) %{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.so | |
74 | %attr(755,root,root) %{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.so | |
75 | %attr(755,root,root) %{_libdir}/NetworkManager/libnm-pptp-properties.so | |
76 | %attr(755,root,root) %{_libdir}/pppd/plugins/nm-pptp-pppd-plugin.so | |
77 | %attr(755,root,root) %{_libexecdir}/nm-pptp-auth-dialog | |
78 | %attr(755,root,root) %{_libexecdir}/nm-pptp-service | |
79 | %{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name | |
80 | %{_prefix}/lib/NetworkManager/VPN/nm-pptp-service.name | |
81 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/nm-pptp-service.conf | |
82 | %{_datadir}/appdata/network-manager-pptp.metainfo.xml |