[7712] | 1 | %define nm_version 0.9.8.2 |
---|
[4650] | 2 | %define dbus_version 1.4.14 |
---|
[4616] | 3 | %define gtk3_version 3.0.0 |
---|
[3791] | 4 | %define ppp_version 2.4.5 |
---|
[521] | 5 | %define shared_mime_version 0.16 |
---|
| 6 | |
---|
[984] | 7 | #define svn_snapshot %{nil} |
---|
[521] | 8 | |
---|
| 9 | Summary: NetworkManager VPN plugin for pptp |
---|
| 10 | Name: NetworkManager-pptp |
---|
[7712] | 11 | Version: 0.9.8.2 |
---|
[8073] | 12 | Release: 2%{?svn_snapshot}%{?_dist_release} |
---|
[521] | 13 | License: GPLv2+ |
---|
| 14 | Group: System Environment/Base |
---|
| 15 | URL: http://www.gnome.org/projects/NetworkManager/ |
---|
| 16 | |
---|
[4650] | 17 | Source: %{name}-%{version}%{?svn_snapshot}.tar.xz |
---|
[4616] | 18 | |
---|
[521] | 19 | Patch10: %{name}-0.7.1-dbus-permission.patch |
---|
| 20 | |
---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 22 | |
---|
[4616] | 23 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
[521] | 24 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
| 25 | BuildRequires: NetworkManager-devel >= %{nm_version} |
---|
| 26 | BuildRequires: NetworkManager-glib-devel >= %{nm_version} |
---|
| 27 | BuildRequires: GConf2-devel |
---|
[2422] | 28 | BuildRequires: libgnome-keyring-devel |
---|
[521] | 29 | BuildRequires: libglade2-devel |
---|
| 30 | BuildRequires: intltool gettext |
---|
| 31 | BuildRequires: ppp-devel >= %{ppp_version} |
---|
| 32 | |
---|
[4616] | 33 | Requires: gtk3 >= %{gtk3_version} |
---|
[521] | 34 | Requires: dbus >= %{dbus_version} |
---|
| 35 | Requires: NetworkManager >= %{nm_version} |
---|
| 36 | Requires: ppp >= %{ppp_version} |
---|
| 37 | Requires: shared-mime-info >= %{shared_mime_version} |
---|
| 38 | Requires: pptp |
---|
| 39 | Requires: GConf2 |
---|
[2422] | 40 | Requires: libgnome-keyring |
---|
[521] | 41 | Requires(post): /sbin/ldconfig desktop-file-utils |
---|
| 42 | Requires(postun): /sbin/ldconfig desktop-file-utils |
---|
| 43 | |
---|
[984] | 44 | Vendor: Project Vine |
---|
| 45 | Distribution: Vine Linux |
---|
| 46 | Packager: daisuke |
---|
[521] | 47 | |
---|
| 48 | %description |
---|
| 49 | This package contains software for integrating PPTP VPN support with |
---|
| 50 | the NetworkManager and the GNOME desktop. |
---|
| 51 | |
---|
| 52 | %prep |
---|
| 53 | %setup -q |
---|
| 54 | %patch10 -p1 |
---|
| 55 | |
---|
| 56 | %build |
---|
[2422] | 57 | %configure \ |
---|
| 58 | --disable-static \ |
---|
| 59 | --enable-more-warnings=yes \ |
---|
| 60 | --with-pppd-plugin-dir="%{_libdir}/pppd/%{ppp_version}" |
---|
[521] | 61 | make %{?_smp_mflags} |
---|
| 62 | |
---|
| 63 | %install |
---|
| 64 | |
---|
| 65 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 66 | |
---|
| 67 | rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la |
---|
| 68 | rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a |
---|
| 69 | |
---|
[2422] | 70 | rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.la |
---|
| 71 | rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.a |
---|
[521] | 72 | |
---|
| 73 | %find_lang %{name} |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %clean |
---|
| 77 | rm -rf $RPM_BUILD_ROOT |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %post |
---|
| 81 | /sbin/ldconfig |
---|
| 82 | /usr/bin/update-desktop-database &> /dev/null || : |
---|
| 83 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 84 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 85 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 86 | fi |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %postun |
---|
| 90 | /sbin/ldconfig |
---|
| 91 | /usr/bin/update-desktop-database &> /dev/null || : |
---|
| 92 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 93 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 94 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 95 | fi |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | %files -f %{name}.lang |
---|
| 99 | %defattr(-, root, root) |
---|
| 100 | |
---|
| 101 | %doc AUTHORS ChangeLog |
---|
| 102 | %{_libdir}/NetworkManager/lib*.so* |
---|
| 103 | %{_libexecdir}/nm-pptp-auth-dialog |
---|
| 104 | %{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf |
---|
| 105 | %{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name |
---|
| 106 | %{_libexecdir}/nm-pptp-service |
---|
[2422] | 107 | %{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so |
---|
[3791] | 108 | %{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui |
---|
[984] | 109 | #%{_datadir}/applications/nm-pptp.desktop |
---|
| 110 | #%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-pptp-settings.png |
---|
[521] | 111 | %dir %{_datadir}/gnome-vpn-properties/pptp |
---|
| 112 | |
---|
| 113 | %changelog |
---|
[8073] | 114 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-2 |
---|
| 115 | - rebuild with VineSeed environment |
---|
| 116 | |
---|
[7712] | 117 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[6739] | 120 | * Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6.0-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[5182] | 123 | * Wed Nov 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2.0-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[4650] | 126 | * Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1 |
---|
| 127 | - new upstream release |
---|
| 128 | - remove Patch0 |
---|
| 129 | |
---|
[4616] | 130 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.999-1 |
---|
| 131 | - new upstream release |
---|
| 132 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 133 | - add Patch0 (NetworkManager-pptp-0.8.999-gtk_box.patch) |
---|
| 134 | |
---|
[3791] | 135 | * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
[2422] | 138 | * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1 |
---|
| 139 | - new upstream release |
---|
| 140 | - change BuildRequires: libgnome-keyring-devel instead of gnome-keyring-devel |
---|
| 141 | - change Requires: libgnome-keyring instead of gnome-keyring |
---|
| 142 | - add configure option: --with-pppd-plugin-dir="%%{_libdir}/pppd/%%{ppp_version}" |
---|
| 143 | |
---|
[984] | 144 | * Mon May 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
[521] | 147 | * Mon Aug 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-2 |
---|
| 148 | - add Patch10 to fix dbus permission problem |
---|
| 149 | |
---|
| 150 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1 |
---|
| 151 | - initial build for Vine Linux |
---|
| 152 | |
---|
| 153 | * Thu Mar 5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1 |
---|
| 154 | - Update to 0.7.1rc3 |
---|
| 155 | |
---|
| 156 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.97-2 |
---|
| 157 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 158 | |
---|
| 159 | * Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.97-1 |
---|
| 160 | - Update to 0.7.1rc1 |
---|
| 161 | - Set a reasonable MTU |
---|
| 162 | - Ensure 'noauth' is used |
---|
| 163 | - Fix domain-based logins |
---|
| 164 | - Fix saving MPPE values in connection editor |
---|
| 165 | |
---|
| 166 | * Sat Jan 3 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0-1.svn16 |
---|
| 167 | - Rebuild for updated NetworkManager |
---|
| 168 | - Fix some specfile issues (rh #477153) |
---|
| 169 | - Allow the EAP authentication method |
---|
| 170 | |
---|
| 171 | * Fri Nov 21 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4326 |
---|
| 172 | - Rebuild for updated NetworkManager |
---|
| 173 | |
---|
| 174 | * Wed Oct 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4229 |
---|
| 175 | - Fix hang in auth dialog (rh #467007) |
---|
| 176 | |
---|
| 177 | * Mon Oct 27 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4229 |
---|
| 178 | - Rebuild for updated NetworkManager |
---|
| 179 | - Ensure that certain PPP options are always overriden |
---|
| 180 | |
---|
| 181 | * Sun Oct 12 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4178 |
---|
| 182 | - Rebuild for updated NetworkManager |
---|
| 183 | - Allow changing passwords from the connection editor |
---|
| 184 | |
---|
| 185 | * Sun Oct 05 2008 Lubomir Rintel <lkundrak@v3.sk> 1:0.7.0-11.svn4027 |
---|
| 186 | - Add pptp dependency (#465644) |
---|
| 187 | |
---|
| 188 | * Fri Aug 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn4027 |
---|
| 189 | - Resurrect from the dead |
---|
| 190 | |
---|
| 191 | * Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-2 |
---|
| 192 | - Take Dan Horak's review into account (#443807): |
---|
| 193 | - Do not install versioned .so-s for properties module |
---|
| 194 | - Do not do useless ldconfigs |
---|
| 195 | - Remove leftover dependencies |
---|
| 196 | |
---|
| 197 | * Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-1 |
---|
| 198 | - Branch this for EPEL, go back to: |
---|
| 199 | - 0.6.4 |
---|
| 200 | - NetworkManager-pptp from NetworkManager-ppp_vpn |
---|
| 201 | - Install pppd plugin correctly |
---|
| 202 | |
---|
| 203 | * Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.3.svn3549 |
---|
| 204 | - Update against trunk |
---|
| 205 | |
---|
| 206 | * Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.2.svn3085 |
---|
| 207 | - Do not exclude .so for NM, and properly generate the .name file |
---|
| 208 | |
---|
| 209 | * Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.1.svn3085 |
---|
| 210 | - Initial packaging attempt, inspired by NetworkManager-openvpn |
---|
| 211 | - Nearly completly rewritten spec, all bugs in it are solely my responsibility |
---|
| 212 | |
---|