]>
Commit | Line | Data |
---|---|---|
d33eb75d MB |
1 | Summary: NetworkManager VPN integration for PPTP |
2 | Summary(pl.UTF-8): Integracja NetworkManagera z protokołem PPTP | |
3 | Name: NetworkManager-pptp | |
be7f0d08 | 4 | Version: 1.2.8 |
211f337c | 5 | Release: 3 |
75efe160 | 6 | License: GPL v2+ |
d33eb75d | 7 | Group: X11/Applications |
d4475670 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-pptp/1.2/%{name}-%{version}.tar.xz |
be7f0d08 | 9 | # Source0-md5: 305e31d6aac41813d735f27891fce6d8 |
96802b3e | 10 | URL: https://wiki.gnome.org/Projects/NetworkManager |
d4475670 MB |
11 | BuildRequires: NetworkManager-devel >= 2:1.2.0 |
12 | BuildRequires: NetworkManager-gtk-lib-devel >= 1.2.0 | |
d33eb75d MB |
13 | BuildRequires: autoconf >= 2.59 |
14 | BuildRequires: automake >= 1:1.9 | |
6a9cf97c | 15 | BuildRequires: gettext-tools |
fd35b249 JB |
16 | BuildRequires: glib2-devel >= 1:2.32 |
17 | BuildRequires: gtk+3-devel >= 3.4 | |
d33eb75d | 18 | BuildRequires: intltool >= 0.35.0 |
be7f0d08 | 19 | BuildRequires: libsecret-devel >= 0.18 |
d33eb75d MB |
20 | BuildRequires: libtool |
21 | BuildRequires: pkgconfig | |
f2e2e550 | 22 | BuildRequires: ppp-plugin-devel >= 3:2.4.5 |
8b7a44f7 MB |
23 | BuildRequires: tar >= 1:1.22 |
24 | BuildRequires: xz | |
3872c468 | 25 | Requires: NetworkManager >= 2:1.0.0 |
22b957a9 | 26 | Requires: NetworkManager-gtk-lib >= 1.0.6 |
fd35b249 JB |
27 | Requires: glib2 >= 1:2.32 |
28 | Requires: gtk+3 >= 3.4 | |
be7f0d08 | 29 | Requires: libsecret >= 0.18 |
5c94514b | 30 | %requires_eq ppp |
d33eb75d MB |
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} | |
4921fa3d | 46 | %{__aclocal} -I m4 |
d33eb75d MB |
47 | %{__autoconf} |
48 | %{__autoheader} | |
49 | %{__automake} | |
bde63cc6 | 50 | %configure \ |
4cf7fe7e | 51 | --disable-silent-rules \ |
75efe160 | 52 | --disable-static \ |
5e8adff7 JP |
53 | --with-pppd-plugin-dir=%{_libdir}/pppd/plugins \ |
54 | --without-libnm-glib | |
d33eb75d MB |
55 | %{__make} |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
75efe160 | 63 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/NetworkManager/*.la |
643f4ff2 | 64 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/plugins/*.la |
d33eb75d MB |
65 | |
66 | %find_lang %{name} | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
d33eb75d MB |
71 | %files -f %{name}.lang |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS ChangeLog README TODO | |
d4475670 | 74 | %attr(755,root,root) %{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.so |
1a042acc | 75 | %attr(755,root,root) %{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.so |
f2e2e550 | 76 | %attr(755,root,root) %{_libdir}/pppd/plugins/nm-pptp-pppd-plugin.so |
4cf7fe7e MB |
77 | %attr(755,root,root) %{_libexecdir}/nm-pptp-auth-dialog |
78 | %attr(755,root,root) %{_libexecdir}/nm-pptp-service | |
0feea86d | 79 | %{_prefix}/lib/NetworkManager/VPN/nm-pptp-service.name |
71d9345f | 80 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/nm-pptp-service.conf |
d4475670 | 81 | %{_datadir}/appdata/network-manager-pptp.metainfo.xml |