123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- %define nm_version 0.9.8.2
- %define dbus_version 1.4.14
- %define gtk3_version 3.0.0
- %define ppp_version 2.4.5
- %define shared_mime_version 0.16
- #define svn_snapshot %{nil}
- Summary: NetworkManager VPN plugin for pptp
- Name: NetworkManager-pptp
- Version: 0.9.8.2
- Release: 1%{?svn_snapshot}%{?_dist_release}
- License: GPLv2+
- Group: System Environment/Base
- URL: http://www.gnome.org/projects/NetworkManager/
- Source: %{name}-%{version}%{?svn_snapshot}.tar.xz
- Patch10: %{name}-0.7.1-dbus-permission.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gtk3-devel >= %{gtk3_version}
- BuildRequires: dbus-devel >= %{dbus_version}
- BuildRequires: NetworkManager-devel >= %{nm_version}
- BuildRequires: NetworkManager-glib-devel >= %{nm_version}
- BuildRequires: GConf2-devel
- BuildRequires: libgnome-keyring-devel
- BuildRequires: libglade2-devel
- BuildRequires: intltool gettext
- BuildRequires: ppp-devel >= %{ppp_version}
- Requires: gtk3 >= %{gtk3_version}
- Requires: dbus >= %{dbus_version}
- Requires: NetworkManager >= %{nm_version}
- Requires: ppp >= %{ppp_version}
- Requires: shared-mime-info >= %{shared_mime_version}
- Requires: pptp
- Requires: GConf2
- Requires: libgnome-keyring
- Requires(post): /sbin/ldconfig desktop-file-utils
- Requires(postun): /sbin/ldconfig desktop-file-utils
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: daisuke
- %description
- This package contains software for integrating PPTP VPN support with
- the NetworkManager and the GNOME desktop.
- %prep
- %setup -q
- %patch10 -p1
- %build
- %configure \
- --disable-static \
- --enable-more-warnings=yes \
- --with-pppd-plugin-dir="%{_libdir}/pppd/%{ppp_version}"
- make %{?_smp_mflags}
- %install
- make install DESTDIR=$RPM_BUILD_ROOT
- rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
- rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a
- rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.la
- rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.a
- %find_lang %{name}
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- /sbin/ldconfig
- /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
- /sbin/ldconfig
- /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
- %defattr(-, root, root)
- %doc AUTHORS ChangeLog
- %{_libdir}/NetworkManager/lib*.so*
- %{_libexecdir}/nm-pptp-auth-dialog
- %{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf
- %{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name
- %{_libexecdir}/nm-pptp-service
- %{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so
- %{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui
- #%{_datadir}/applications/nm-pptp.desktop
- #%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-pptp-settings.png
- %dir %{_datadir}/gnome-vpn-properties/pptp
- %changelog
- * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1
- - new upstream release
- * Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6.0-1
- - new upstream release
- * Wed Nov 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2.0-1
- - new upstream release
- * Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1
- - new upstream release
- - remove Patch0
- * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.999-1
- - new upstream release
- - change BuildRequires: gtk3-devel instead of gtk2-devel
- - add Patch0 (NetworkManager-pptp-0.8.999-gtk_box.patch)
- * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
- - new upstream release
- * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1
- - new upstream release
- - change BuildRequires: libgnome-keyring-devel instead of gnome-keyring-devel
- - change Requires: libgnome-keyring instead of gnome-keyring
- - add configure option: --with-pppd-plugin-dir="%%{_libdir}/pppd/%%{ppp_version}"
- * Mon May 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1
- - new upstream release
- * Mon Aug 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-2
- - add Patch10 to fix dbus permission problem
- * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1
- - initial build for Vine Linux
- * Thu Mar 5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1
- - Update to 0.7.1rc3
- * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.97-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.97-1
- - Update to 0.7.1rc1
- - Set a reasonable MTU
- - Ensure 'noauth' is used
- - Fix domain-based logins
- - Fix saving MPPE values in connection editor
- * Sat Jan 3 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0-1.svn16
- - Rebuild for updated NetworkManager
- - Fix some specfile issues (rh #477153)
- - Allow the EAP authentication method
- * Fri Nov 21 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4326
- - Rebuild for updated NetworkManager
- * Wed Oct 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4229
- - Fix hang in auth dialog (rh #467007)
- * Mon Oct 27 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4229
- - Rebuild for updated NetworkManager
- - Ensure that certain PPP options are always overriden
- * Sun Oct 12 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4178
- - Rebuild for updated NetworkManager
- - Allow changing passwords from the connection editor
- * Sun Oct 05 2008 Lubomir Rintel <lkundrak@v3.sk> 1:0.7.0-11.svn4027
- - Add pptp dependency (#465644)
- * Fri Aug 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn4027
- - Resurrect from the dead
- * Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-2
- - Take Dan Horak's review into account (#443807):
- - Do not install versioned .so-s for properties module
- - Do not do useless ldconfigs
- - Remove leftover dependencies
- * Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-1
- - Branch this for EPEL, go back to:
- - 0.6.4
- - NetworkManager-pptp from NetworkManager-ppp_vpn
- - Install pppd plugin correctly
- * Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.3.svn3549
- - Update against trunk
- * Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.2.svn3085
- - Do not exclude .so for NM, and properly generate the .name file
- * Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.1.svn3085
- - Initial packaging attempt, inspired by NetworkManager-openvpn
- - Nearly completly rewritten spec, all bugs in it are solely my responsibility
|