Merge remote-tracking branch 'origin/f19'

Sync with the F19 branch that was ahead of F20/rawhide.
epel8
Kalev Lember 12 years ago
commit 03c4fe498e

1
.gitignore vendored

@ -12,3 +12,4 @@ NetworkManager-pptp-0.8.git20100411.tar.bz2
NetworkManager-pptp-0.8.1.tar.bz2 NetworkManager-pptp-0.8.1.tar.bz2
/NetworkManager-pptp-0.9.3.995.git20120302.tar.bz2 /NetworkManager-pptp-0.9.3.995.git20120302.tar.bz2
/NetworkManager-pptp-0.9.3.997.tar.bz2 /NetworkManager-pptp-0.9.3.997.tar.bz2
/NetworkManager-pptp-0.9.8.2.tar.bz2

@ -1,108 +1,109 @@
%define nm_version 1:0.9.2 %global snapshot %{nil}
%define dbus_version 1.1 %global ppp_version %(rpm -q ppp --queryformat '%{VERSION}')
%define gtk3_version 3.0
%define ppp_version 2.4.5
%define shared_mime_version 0.16-3
%define snapshot %{nil} Summary: NetworkManager VPN plugin for PPTP
%define realversion 0.9.3.997
Summary: NetworkManager VPN plugin for pptp
Name: NetworkManager-pptp Name: NetworkManager-pptp
Epoch: 1 Epoch: 1
Version: 0.9.3.997 Version: 0.9.8.2
Release: 5%{snapshot}%{?dist} Release: 3%{snapshot}%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base
URL: http://www.gnome.org/projects/NetworkManager/ URL: http://www.gnome.org/projects/NetworkManager/
Source: %{name}-%{realversion}%{snapshot}.tar.bz2 Group: System Environment/Base
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.9/%{name}-%{version}%{snapshot}.tar.bz2
BuildRequires: gtk3-devel >= %{gtk3_version}
BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: gtk3-devel
BuildRequires: dbus-glib-devel >= 0.74 BuildRequires: dbus-devel
BuildRequires: NetworkManager-devel >= %{nm_version} BuildRequires: NetworkManager-devel
BuildRequires: NetworkManager-glib-devel >= %{nm_version} BuildRequires: NetworkManager-glib-devel
%if 0%{?fedora} > 16 BuildRequires: glib2-devel
BuildRequires: ppp-devel
BuildRequires: libtool intltool gettext
BuildRequires: libgnome-keyring-devel BuildRequires: libgnome-keyring-devel
%else
BuildRequires: gnome-keyring-devel
%endif
BuildRequires: intltool gettext
BuildRequires: ppp-devel = %{ppp_version}
Requires: dbus >= %{dbus_version} Requires: gtk3
Requires: NetworkManager >= %{nm_version} Requires: dbus
Requires: ppp = %{ppp_version} Requires: NetworkManager
Requires: shared-mime-info >= %{shared_mime_version}
Requires: pptp Requires: pptp
Requires: gnome-keyring Requires: ppp
Requires(post): desktop-file-utils Requires: shared-mime-info
Requires(postun): desktop-file-utils Requires: libgnome-keyring
Obsoletes: NetworkManager-pptp < 1:0.9.8.2-3
%global _privatelibs libnm-pptp-properties[.]so.*
%global __provides_exclude ^(%{_privatelibs})$
%global __requires_exclude ^(%{_privatelibs})$
%description %description
This package contains software for integrating PPTP VPN support with This package contains software for integrating VPN capabilities with
the NetworkManager and the GNOME desktop. the PPTP server with NetworkManager.
%prep %package -n NetworkManager-pptp-gnome
%setup -q -n NetworkManager-pptp-%{realversion} Summary: NetworkManager VPN plugin for PPTP - GNOME files
Group: System Environment/Base
Requires: NetworkManager-pptp = %{epoch}:%{version}-%{release}
%if 0%{?fedora} > 17
Requires: nm-connection-editor
%else
Requires: NetworkManager-gnome
%endif
Obsoletes: NetworkManager-pptp < 1:0.9.8.2-3
%description -n NetworkManager-pptp-gnome
This package contains software for integrating VPN capabilities with
the PPTP server with NetworkManager (GNOME files).
%prep
%setup -q -n %{name}-%{version}
%build %build
if [ ! -f configure ]; then
./autogen.sh
fi
%configure \ %configure \
--disable-static \ --disable-static \
--enable-more-warnings=yes \ --enable-more-warnings=yes \
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version}
make %{?_smp_mflags} make %{?_smp_mflags}
%install %check
make check
make install DESTDIR=$RPM_BUILD_ROOT %install
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a
rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
rm -f %{buildroot}%{_libdir}/pppd/2.*/nm-pptp-pppd-plugin.la
rm -f %{buildroot}%{_libdir}/pppd/2.*/nm-pptp-pppd-plugin.a
%find_lang %{name} %find_lang %{name}
%post
/usr/bin/update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
/usr/bin/update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-, root, root) %doc COPYING AUTHORS README ChangeLog
%doc AUTHORS ChangeLog
%{_libdir}/NetworkManager/lib*.so*
%{_libexecdir}/nm-pptp-auth-dialog
%{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf %{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf
%{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name %{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name
%{_libexecdir}/nm-pptp-service %{_libexecdir}/nm-pptp-service
%{_libdir}/pppd/2.*/nm-pptp-pppd-plugin.so %{_libexecdir}/nm-pptp-auth-dialog
#%{_datadir}/applications/nm-pptp.desktop %{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so
#%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-pptp-settings.png
%files -n NetworkManager-pptp-gnome
%doc COPYING AUTHORS README ChangeLog
%{_libdir}/NetworkManager/lib*.so*
%dir %{_datadir}/gnome-vpn-properties/pptp %dir %{_datadir}/gnome-vpn-properties/pptp
%{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui %{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui
%changelog %changelog
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.3.997-5 * Fri Jul 26 2013 Jiří Klimeš <jklimes@redhat.com> - 1:0.9.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Fixing Obsoletes to ensure NetworkManager-pptp-gnome installs on update (rh #986368)
* Thu Jul 11 2013 Stef Walter <stefw@gnome.org> - 1:0.9.8.2-2
- Depend on libgnome-keyring (the client library), not gnome-keyring (daemon) (rh #811930)
* Thu Jul 11 2013 Jiří Klimeš <jklimes@redhat.com> - 1:0.9.8.2-1
- Update to 0.9.8.2 release
* Sun Apr 07 2013 Dan Fruehauf <malkodan@gmail.com> - 1:0.9.8.0-1
- Refactored spec file
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.3.997-4 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.3.997-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
@ -252,4 +253,3 @@ fi
* Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.1.svn3085 * Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.1.svn3085
- Initial packaging attempt, inspired by NetworkManager-openvpn - Initial packaging attempt, inspired by NetworkManager-openvpn
- Nearly completly rewritten spec, all bugs in it are solely my responsibility - Nearly completly rewritten spec, all bugs in it are solely my responsibility

@ -1 +1 @@
c85a3f620046bc6a8e352cf79f5c1382 NetworkManager-pptp-0.9.3.997.tar.bz2 b6750afdba77dc96fc496084ae9c6ea0 NetworkManager-pptp-0.9.8.2.tar.bz2

Loading…
Cancel
Save