| 1 |
%define nm_version 1:0.7.996-2
|
| 2 |
%define dbus_version 1.1
|
| 3 |
%define gtk2_version 2.10.0
|
| 4 |
%define ppp_version 2.2.4
|
| 5 |
%define shared_mime_version 0.16-3
|
| 6 |
|
| 7 |
%define svn_snapshot .git20090921
|
| 8 |
|
| 9 |
Summary: NetworkManager VPN plugin for pptp
|
| 10 |
Name: NetworkManager-pptp
|
| 11 |
Epoch: 1
|
| 12 |
Version: 0.7.996
|
| 13 |
Release: 4%{svn_snapshot}%{?dist}
|
| 14 |
License: GPLv2+
|
| 15 |
Group: System Environment/Base
|
| 16 |
URL: http://www.gnome.org/projects/NetworkManager/
|
| 17 |
Source: %{name}-%{version}%{svn_snapshot}.tar.bz2
|
| 18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
| 19 |
|
| 20 |
|
| 21 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
| 22 |
BuildRequires: dbus-devel >= %{dbus_version}
|
| 23 |
BuildRequires: dbus-glib-devel >= 0.74
|
| 24 |
BuildRequires: NetworkManager-devel >= %{nm_version}
|
| 25 |
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
|
| 26 |
BuildRequires: GConf2-devel
|
| 27 |
BuildRequires: gnome-keyring-devel
|
| 28 |
BuildRequires: libglade2-devel
|
| 29 |
BuildRequires: intltool gettext
|
| 30 |
BuildRequires: ppp-devel >= %{ppp_version}
|
| 31 |
|
| 32 |
Requires: gtk2 >= %{gtk2_version}
|
| 33 |
Requires: dbus >= %{dbus_version}
|
| 34 |
Requires: NetworkManager >= %{nm_version}
|
| 35 |
Requires: ppp >= %{ppp_version}
|
| 36 |
Requires: shared-mime-info >= %{shared_mime_version}
|
| 37 |
Requires: pptp
|
| 38 |
Requires: GConf2
|
| 39 |
Requires: gnome-keyring
|
| 40 |
Requires(post): /sbin/ldconfig desktop-file-utils
|
| 41 |
Requires(postun): /sbin/ldconfig desktop-file-utils
|
| 42 |
|
| 43 |
|
| 44 |
%description
|
| 45 |
This package contains software for integrating PPTP VPN support with
|
| 46 |
the NetworkManager and the GNOME desktop.
|
| 47 |
|
| 48 |
%prep
|
| 49 |
%setup -q
|
| 50 |
|
| 51 |
|
| 52 |
%build
|
| 53 |
%configure --disable-static --enable-more-warnings=yes
|
| 54 |
make %{?_smp_mflags}
|
| 55 |
|
| 56 |
%install
|
| 57 |
|
| 58 |
make install DESTDIR=$RPM_BUILD_ROOT
|
| 59 |
|
| 60 |
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
| 61 |
rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a
|
| 62 |
|
| 63 |
rm -f %{buildroot}%{_libdir}/pppd/2.4.4/nm-pptp-pppd-plugin.la
|
| 64 |
rm -f %{buildroot}%{_libdir}/pppd/2.4.4/nm-pptp-pppd-plugin.a
|
| 65 |
|
| 66 |
%find_lang %{name}
|
| 67 |
|
| 68 |
|
| 69 |
%clean
|
| 70 |
rm -rf $RPM_BUILD_ROOT
|
| 71 |
|
| 72 |
|
| 73 |
%post
|
| 74 |
/sbin/ldconfig
|
| 75 |
/usr/bin/update-desktop-database &> /dev/null || :
|
| 76 |
touch --no-create %{_datadir}/icons/hicolor
|
| 77 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
| 78 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
| 79 |
fi
|
| 80 |
|
| 81 |
|
| 82 |
%postun
|
| 83 |
/sbin/ldconfig
|
| 84 |
/usr/bin/update-desktop-database &> /dev/null || :
|
| 85 |
touch --no-create %{_datadir}/icons/hicolor
|
| 86 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
| 87 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
| 88 |
fi
|
| 89 |
|
| 90 |
|
| 91 |
%files -f %{name}.lang
|
| 92 |
%defattr(-, root, root)
|
| 93 |
|
| 94 |
%doc AUTHORS ChangeLog
|
| 95 |
%{_libdir}/NetworkManager/lib*.so*
|
| 96 |
%{_libexecdir}/nm-pptp-auth-dialog
|
| 97 |
%{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf
|
| 98 |
%{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name
|
| 99 |
%{_libexecdir}/nm-pptp-service
|
| 100 |
%{_libdir}/pppd/2.4.4/nm-pptp-pppd-plugin.so
|
| 101 |
%{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.glade
|
| 102 |
%{_datadir}/applications/nm-pptp.desktop
|
| 103 |
%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-pptp-settings.png
|
| 104 |
%dir %{_datadir}/gnome-vpn-properties/pptp
|
| 105 |
|
| 106 |
%changelog
|
| 107 |
* Mon Oct 5 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.996-4.git20090921
|
| 108 |
- Rebuild for updated NetworkManager
|
| 109 |
|
| 110 |
* Mon Sep 21 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.996-2
|
| 111 |
- Rebuild for updated NetworkManager
|
| 112 |
|
| 113 |
* Fri Aug 28 2009 Dan Williams <dcbw@redhat.com> - 1:0.7.996-1
|
| 114 |
- Rebuild for updated NetworkManager
|
| 115 |
- Fix window title of Advanced dialog
|
| 116 |
|
| 117 |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.99-3
|
| 118 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 119 |
|
| 120 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.99-2
|
| 121 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 122 |
|
| 123 |
* Thu Mar 5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1
|
| 124 |
- Update to 0.7.1rc3
|
| 125 |
|
| 126 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.97-2
|
| 127 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 128 |
|
| 129 |
* Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.97-1
|
| 130 |
- Update to 0.7.1rc1
|
| 131 |
- Set a reasonable MTU
|
| 132 |
- Ensure 'noauth' is used
|
| 133 |
- Fix domain-based logins
|
| 134 |
- Fix saving MPPE values in connection editor
|
| 135 |
|
| 136 |
* Sat Jan 3 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0-1.svn16
|
| 137 |
- Rebuild for updated NetworkManager
|
| 138 |
- Fix some specfile issues (rh #477153)
|
| 139 |
- Allow the EAP authentication method
|
| 140 |
|
| 141 |
* Fri Nov 21 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4326
|
| 142 |
- Rebuild for updated NetworkManager
|
| 143 |
|
| 144 |
* Wed Oct 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4229
|
| 145 |
- Fix hang in auth dialog (rh #467007)
|
| 146 |
|
| 147 |
* Mon Oct 27 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4229
|
| 148 |
- Rebuild for updated NetworkManager
|
| 149 |
- Ensure that certain PPP options are always overriden
|
| 150 |
|
| 151 |
* Sun Oct 12 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4178
|
| 152 |
- Rebuild for updated NetworkManager
|
| 153 |
- Allow changing passwords from the connection editor
|
| 154 |
|
| 155 |
* Sun Oct 05 2008 Lubomir Rintel <lkundrak@v3.sk> 1:0.7.0-11.svn4027
|
| 156 |
- Add pptp dependency (#465644)
|
| 157 |
|
| 158 |
* Fri Aug 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn4027
|
| 159 |
- Resurrect from the dead
|
| 160 |
|
| 161 |
* Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-2
|
| 162 |
- Take Dan Horak's review into account (#443807):
|
| 163 |
- Do not install versioned .so-s for properties module
|
| 164 |
- Do not do useless ldconfigs
|
| 165 |
- Remove leftover dependencies
|
| 166 |
|
| 167 |
* Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-1
|
| 168 |
- Branch this for EPEL, go back to:
|
| 169 |
- 0.6.4
|
| 170 |
- NetworkManager-pptp from NetworkManager-ppp_vpn
|
| 171 |
- Install pppd plugin correctly
|
| 172 |
|
| 173 |
* Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.3.svn3549
|
| 174 |
- Update against trunk
|
| 175 |
|
| 176 |
* Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.2.svn3085
|
| 177 |
- Do not exclude .so for NM, and properly generate the .name file
|
| 178 |
|
| 179 |
* Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.1.svn3085
|
| 180 |
- Initial packaging attempt, inspired by NetworkManager-openvpn
|
| 181 |
- Nearly completly rewritten spec, all bugs in it are solely my responsibility
|
| 182 |
|