Compare commits

...

8 Commits
epel8 ... epel9

Author SHA1 Message Date
Fedora Release Engineering a60fdef063 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3 years ago
Fedora Release Engineering 6890d9a667 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years ago
Fedora Release Engineering d473f4945a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years ago
Lubomir Rintel 9585a4acb6 Move dbus service file into /usr/share/dbus-1
4 years ago
Fedora Release Engineering 3a41ea5d7e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 years ago
Tom Stellard 29a45f1f14 Add BuildRequires: make
4 years ago
Fedora Release Engineering 8403239834 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4 years ago
Thomas Haller 1809152cc3 Rebuild for ppp 2.4.8
5 years ago

@ -4,27 +4,20 @@
%bcond_with libnm_glib
%endif
%global real_version 1.2.8
%global rpm_version 1.2.8
%global release_version 1
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')
Summary: NetworkManager VPN plugin for PPTP
Name: NetworkManager-pptp
Epoch: 1
Version: %{rpm_version}
Release: %{release_version}%{?dist}.3
Version: 1.2.8
Release: 5%{?dist}
License: GPLv2+
URL: http://www.gnome.org/projects/NetworkManager/
Source0: https://download.gnome.org/sources/NetworkManager-pptp/%{real_version_major}/%{name}-%{real_version}.tar.xz
Source0: https://download.gnome.org/sources/NetworkManager-pptp/1.2/%{name}-%{version}.tar.xz
#Patch1: 0001-example.patch
%global ppp_version %(sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || echo bad)
BuildRequires: make
BuildRequires: glib2-devel
BuildRequires: gtk3-devel
BuildRequires: NetworkManager-libnm-devel >= 1:1.2.0
@ -38,10 +31,10 @@ BuildRequires: NetworkManager-glib-devel >= 1:1.2.0
BuildRequires: libnm-gtk-devel >= 0.9
%endif
Requires: dbus
Requires: dbus-common
Requires: NetworkManager >= 1:1.2.0
Requires: pptp
Requires: ppp
Requires: ppp = %{ppp_version}
%global __provides_exclude ^libnm-.*\\.so
@ -63,7 +56,7 @@ the PPTP server with NetworkManager (GNOME files).
%prep
%autosetup -p1 -n "%{name}-%{real_version}"
%autosetup -p1
%build
@ -88,12 +81,14 @@ make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
mv %{buildroot}%{_sysconfdir}/dbus-1 %{buildroot}%{_datadir}/
%find_lang %{name}
%files -f %{name}.lang
%{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.so
%{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf
%{_datadir}/dbus-1/system.d/nm-pptp-service.conf
%{_prefix}/lib/NetworkManager/VPN/nm-pptp-service.name
%{_libexecdir}/nm-pptp-service
%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so
@ -112,6 +107,24 @@ rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
%changelog
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Feb 15 2021 Lubomir Rintel <lkundrak@v3.sk> - 1:1.2.8-3
- Move dbus service file into /usr/share/dbus-1
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-2.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Mar 25 2020 Thomas Haller <thaller@redhat.com> - 1:1.2.8-2
* Rebuild for ppp 2.4.8
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.8-1.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save