| 1 | %define nm_version 0.9.6.0 |
|---|
| 2 | %define dbus_version 1.4.14 |
|---|
| 3 | %define gtk3_version 3.0.0 |
|---|
| 4 | %define ppp_version 2.4.5 |
|---|
| 5 | %define shared_mime_version 0.16 |
|---|
| 6 | |
|---|
| 7 | #define svn_snapshot %{nil} |
|---|
| 8 | |
|---|
| 9 | Summary: NetworkManager VPN plugin for pptp |
|---|
| 10 | Name: NetworkManager-pptp |
|---|
| 11 | Version: 0.9.6.0 |
|---|
| 12 | Release: 1%{?svn_snapshot}%{?_dist_release} |
|---|
| 13 | License: GPLv2+ |
|---|
| 14 | Group: System Environment/Base |
|---|
| 15 | URL: http://www.gnome.org/projects/NetworkManager/ |
|---|
| 16 | |
|---|
| 17 | Source: %{name}-%{version}%{?svn_snapshot}.tar.xz |
|---|
| 18 | |
|---|
| 19 | Patch10: %{name}-0.7.1-dbus-permission.patch |
|---|
| 20 | |
|---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 22 | |
|---|
| 23 | BuildRequires: gtk3-devel >= %{gtk3_version} |
|---|
| 24 | BuildRequires: dbus-devel >= %{dbus_version} |
|---|
| 25 | BuildRequires: NetworkManager-devel >= %{nm_version} |
|---|
| 26 | BuildRequires: NetworkManager-glib-devel >= %{nm_version} |
|---|
| 27 | BuildRequires: GConf2-devel |
|---|
| 28 | BuildRequires: libgnome-keyring-devel |
|---|
| 29 | BuildRequires: libglade2-devel |
|---|
| 30 | BuildRequires: intltool gettext |
|---|
| 31 | BuildRequires: ppp-devel >= %{ppp_version} |
|---|
| 32 | |
|---|
| 33 | Requires: gtk3 >= %{gtk3_version} |
|---|
| 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 |
|---|
| 40 | Requires: libgnome-keyring |
|---|
| 41 | Requires(post): /sbin/ldconfig desktop-file-utils |
|---|
| 42 | Requires(postun): /sbin/ldconfig desktop-file-utils |
|---|
| 43 | |
|---|
| 44 | Vendor: Project Vine |
|---|
| 45 | Distribution: Vine Linux |
|---|
| 46 | Packager: daisuke |
|---|
| 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 |
|---|
| 57 | %configure \ |
|---|
| 58 | --disable-static \ |
|---|
| 59 | --enable-more-warnings=yes \ |
|---|
| 60 | --with-pppd-plugin-dir="%{_libdir}/pppd/%{ppp_version}" |
|---|
| 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 | |
|---|
| 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 |
|---|
| 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 |
|---|
| 107 | %{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so |
|---|
| 108 | %{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui |
|---|
| 109 | #%{_datadir}/applications/nm-pptp.desktop |
|---|
| 110 | #%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-pptp-settings.png |
|---|
| 111 | %dir %{_datadir}/gnome-vpn-properties/pptp |
|---|
| 112 | |
|---|
| 113 | %changelog |
|---|
| 114 | * Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6.0-1 |
|---|
| 115 | - new upstream release |
|---|
| 116 | |
|---|
| 117 | * Wed Nov 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2.0-1 |
|---|
| 118 | - new upstream release |
|---|
| 119 | |
|---|
| 120 | * Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1 |
|---|
| 121 | - new upstream release |
|---|
| 122 | - remove Patch0 |
|---|
| 123 | |
|---|
| 124 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.999-1 |
|---|
| 125 | - new upstream release |
|---|
| 126 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
|---|
| 127 | - add Patch0 (NetworkManager-pptp-0.8.999-gtk_box.patch) |
|---|
| 128 | |
|---|
| 129 | * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1 |
|---|
| 130 | - new upstream release |
|---|
| 131 | |
|---|
| 132 | * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1 |
|---|
| 133 | - new upstream release |
|---|
| 134 | - change BuildRequires: libgnome-keyring-devel instead of gnome-keyring-devel |
|---|
| 135 | - change Requires: libgnome-keyring instead of gnome-keyring |
|---|
| 136 | - add configure option: --with-pppd-plugin-dir="%%{_libdir}/pppd/%%{ppp_version}" |
|---|
| 137 | |
|---|
| 138 | * Mon May 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1 |
|---|
| 139 | - new upstream release |
|---|
| 140 | |
|---|
| 141 | * Mon Aug 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-2 |
|---|
| 142 | - add Patch10 to fix dbus permission problem |
|---|
| 143 | |
|---|
| 144 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1 |
|---|
| 145 | - initial build for Vine Linux |
|---|
| 146 | |
|---|
| 147 | * Thu Mar 5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1 |
|---|
| 148 | - Update to 0.7.1rc3 |
|---|
| 149 | |
|---|
| 150 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.97-2 |
|---|
| 151 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 152 | |
|---|
| 153 | * Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.97-1 |
|---|
| 154 | - Update to 0.7.1rc1 |
|---|
| 155 | - Set a reasonable MTU |
|---|
| 156 | - Ensure 'noauth' is used |
|---|
| 157 | - Fix domain-based logins |
|---|
| 158 | - Fix saving MPPE values in connection editor |
|---|
| 159 | |
|---|
| 160 | * Sat Jan 3 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0-1.svn16 |
|---|
| 161 | - Rebuild for updated NetworkManager |
|---|
| 162 | - Fix some specfile issues (rh #477153) |
|---|
| 163 | - Allow the EAP authentication method |
|---|
| 164 | |
|---|
| 165 | * Fri Nov 21 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4326 |
|---|
| 166 | - Rebuild for updated NetworkManager |
|---|
| 167 | |
|---|
| 168 | * Wed Oct 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4229 |
|---|
| 169 | - Fix hang in auth dialog (rh #467007) |
|---|
| 170 | |
|---|
| 171 | * Mon Oct 27 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4229 |
|---|
| 172 | - Rebuild for updated NetworkManager |
|---|
| 173 | - Ensure that certain PPP options are always overriden |
|---|
| 174 | |
|---|
| 175 | * Sun Oct 12 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4178 |
|---|
| 176 | - Rebuild for updated NetworkManager |
|---|
| 177 | - Allow changing passwords from the connection editor |
|---|
| 178 | |
|---|
| 179 | * Sun Oct 05 2008 Lubomir Rintel <lkundrak@v3.sk> 1:0.7.0-11.svn4027 |
|---|
| 180 | - Add pptp dependency (#465644) |
|---|
| 181 | |
|---|
| 182 | * Fri Aug 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn4027 |
|---|
| 183 | - Resurrect from the dead |
|---|
| 184 | |
|---|
| 185 | * Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-2 |
|---|
| 186 | - Take Dan Horak's review into account (#443807): |
|---|
| 187 | - Do not install versioned .so-s for properties module |
|---|
| 188 | - Do not do useless ldconfigs |
|---|
| 189 | - Remove leftover dependencies |
|---|
| 190 | |
|---|
| 191 | * Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-1 |
|---|
| 192 | - Branch this for EPEL, go back to: |
|---|
| 193 | - 0.6.4 |
|---|
| 194 | - NetworkManager-pptp from NetworkManager-ppp_vpn |
|---|
| 195 | - Install pppd plugin correctly |
|---|
| 196 | |
|---|
| 197 | * Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.3.svn3549 |
|---|
| 198 | - Update against trunk |
|---|
| 199 | |
|---|
| 200 | * Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.2.svn3085 |
|---|
| 201 | - Do not exclude .so for NM, and properly generate the .name file |
|---|
| 202 | |
|---|
| 203 | * Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.1.svn3085 |
|---|
| 204 | - Initial packaging attempt, inspired by NetworkManager-openvpn |
|---|
| 205 | - Nearly completly rewritten spec, all bugs in it are solely my responsibility |
|---|
| 206 | |
|---|