|
|
|
%global nm_version 1:1.2.0-0.3
|
|
|
|
%global gtk3_version 3.0
|
|
|
|
%global ppp_version %(rpm -q ppp-devel --queryformat '%{VERSION}')
|
|
|
|
%global shared_mime_version 0.16-3
|
|
|
|
|
|
|
|
Summary: NetworkManager VPN plugin for l2tp
|
|
|
|
Name: NetworkManager-l2tp
|
|
|
|
Version: 1.2.0
|
|
|
|
Release: 0.3.20151023git3239062%{?dist}
|
|
|
|
# The most of code uses GPLv2+ license.
|
|
|
|
# Only vpn-password-dialog has LGPLv2+.
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
URL: https://launchpad.net/~seriy-pr/+archive/network-manager-l2tp
|
|
|
|
Source: https://github.com/seriyps/NetworkManager-l2tp/archive/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: gtk3-devel >= %{gtk3_version}
|
|
|
|
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
|
|
|
|
BuildRequires: NetworkManager-libnm-devel >= %{nm_version}
|
|
|
|
BuildRequires: libgnome-keyring-devel
|
|
|
|
BuildRequires: intltool gettext
|
|
|
|
BuildRequires: ppp-devel
|
|
|
|
|
|
|
|
Requires: nm-connection-editor
|
|
|
|
Requires: dbus
|
|
|
|
Requires: NetworkManager >= %{nm_version}
|
|
|
|
Requires: ppp = %{ppp_version}
|
|
|
|
Requires: shared-mime-info >= %{shared_mime_version}
|
|
|
|
Requires: pptp
|
|
|
|
Requires: xl2tpd
|
|
|
|
Requires: libreswan
|
|
|
|
|
|
|
|
%filter_provides_in %{_libdir}/pppd/%{ppp_version}/nm-l2tp-pppd-plugin.so
|
|
|
|
%filter_provides_in %{_libdir}/NetworkManager/lib*.so
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains software for integrating L2TP VPN support with
|
|
|
|
the NetworkManager and the GNOME desktop.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--enable-more-warnings=yes \
|
|
|
|
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
|
|
|
|
--with-dist-version=%{version}-%{release}
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p"
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/nm-l2tp-pppd-plugin.la
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/nm-l2tp-service.conf
|
|
|
|
# Content must not be changed
|
|
|
|
%config %{_sysconfdir}/NetworkManager/VPN/nm-l2tp-service.name
|
|
|
|
%{_prefix}/lib/NetworkManager/VPN/nm-l2tp-service.name
|
|
|
|
%{_libdir}/NetworkManager/lib*.so
|
|
|
|
%{_libdir}/pppd/2.*/nm-l2tp-pppd-plugin.so
|
|
|
|
%{_libexecdir}/nm-l2tp-auth-dialog
|
|
|
|
%{_libexecdir}/nm-l2tp-service
|
|
|
|
%{_datadir}/gnome-vpn-properties/l2tp
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-0.3.20151023git3239062
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Oct 27 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.2.0-0.2.20151023git3239062
|
|
|
|
- Fix el7 build
|
|
|
|
|
|
|
|
* Fri Oct 23 2015 Lubomir Rintel <lkundrak@v3.sk> - 1.2.0-0.1.20151023git3239062
|
|
|
|
- Update to 1.2 git snapshot with libnm-based properties plugin
|
|
|
|
|
|
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Aug 12 2014 Kevin Fenzi <kevin@scrye.com> 0.9.8.7-2
|
|
|
|
- Rebuild for new ppp version.
|
|
|
|
|
|
|
|
* Thu Jul 31 2014 Ivan Romanov <drizt@land.ru> - 0.9.8.7-1
|
|
|
|
- updated to 0.9.8.7
|
|
|
|
|
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Apr 11 2014 Ivan Romanov <drizt@land.ru> - 0.9.8.6-2
|
|
|
|
- use ppp of any version
|
|
|
|
- dropped Groups tag
|
|
|
|
|
|
|
|
* Thu Feb 27 2014 Ivan Romanov <drizt@land.ru> - 0.9.8.6-1
|
|
|
|
- updated to 0.9.8.6
|
|
|
|
|
|
|
|
* Sun Jan 19 2014 Ivan Romanov <drizt@land.ru> - 0.9.8.5-1
|
|
|
|
- updated to 0.9.8.5
|
|
|
|
- dropped patches, went to upstream
|
|
|
|
|
|
|
|
* Mon Sep 23 2013 Ivan Romanov <drizt@land.ru> - 0.9.8-4
|
|
|
|
- added NetworkManager-l2tp-Check-var-run-pluto-ipsec-info patch (#887674)
|
|
|
|
|
|
|
|
* Mon Sep 23 2013 Ivan Romanov <drizt@land.ru> - 0.9.8-3
|
|
|
|
- added NetworkManager-l2tp-noccp-pppd-option patch (#887674)
|
|
|
|
|
|
|
|
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Apr 1 2013 Ivan Romanov <drizt@land.ru> - 0.9.8-1
|
|
|
|
- a new upstream version
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Dec 25 2012 Ivan Romanov <drizt@land.ru> - 0.9.6-5
|
|
|
|
- openswan is requires
|
|
|
|
|
|
|
|
* Tue Dec 25 2012 Ivan Romanov <drizt@land.ru> - 0.9.6-4
|
|
|
|
- added openswan to BR
|
|
|
|
|
|
|
|
* Sat Dec 15 2012 Ivan Romanov <drizt@land.ru> - 0.9.6-3
|
|
|
|
- fix F17 dependency error (rh #886773)
|
|
|
|
- added licensies explanations
|
|
|
|
|
|
|
|
* Mon Nov 26 2012 Ivan Romanov <drizt@land.ru> - 0.9.6-2
|
|
|
|
- corrected License tag. Added LGPLv2+
|
|
|
|
- use only %%{buildroot}
|
|
|
|
- use %%config for configuration files
|
|
|
|
- removed unused scriptlets
|
|
|
|
- cleaned .spec file
|
|
|
|
- preserve timestamps when installing
|
|
|
|
- filtered provides for plugins
|
|
|
|
- droped zero-length changelog
|
|
|
|
- use %%global instead of %%define
|
|
|
|
|
|
|
|
* Mon Nov 19 2012 Ivan Romanov <drizt@land.ru> - 0.9.6-1
|
|
|
|
- initial version based on NetworkManager-pptp 1:0.9.3.997-3
|
|
|
|
|