123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- %define nm_version 0.8.2
- %define dbus_version 1.4.1
- %define gtk2_version 2.22.1
- %define openconnect_version 1.10
- %define svn_snapshot %{nil}
- Summary: NetworkManager VPN integration for openconnect
- Summary(ja): NetworkManager の openconnect 用 VPN 統合
- Name: NetworkManager-openconnect
- Version: 0.8.2
- Release: 1%{svn_snapshot}%{?_dist_release}
- License: GPLv2+
- Group: System Environment/Base
- URL: http://www.gnome.org/projects/NetworkManager/
- # Created from the git mirror of GNOME SVN:
- # git-clone git://git.infradead.org/network-manager-openconnect.git
- # cd network-manager-openconnect
- # git-archive --format=tar --prefix=NetworkManager-openconnect-0.7.0/ b94964eb \
- # | gzip -9 > NetworkManager-openconnect-0.7.0.svn14.tar.gz
- Source: %{name}-%{version}%{svn_snapshot}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gtk2-devel >= %{gtk2_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: gnome-common
- BuildRequires: autoconf automake libtool
- Requires: NetworkManager >= %{nm_version}
- Requires: openconnect >= %{openconnect_version}
- Requires(post): /sbin/ldconfig
- Requires(postun): /sbin/ldconfig
- Requires(pre): %{_sbindir}/useradd
- Requires(pre): %{_sbindir}/groupadd
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: daisuke
- %description
- This package contains software for integrating the openconnect VPN software
- with NetworkManager and the GNOME desktop
- %prep
- %setup -q
- %build
- %configure --enable-more-warnings=yes
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
- rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a
- %find_lang %{name}
- %clean
- rm -rf $RPM_BUILD_ROOT
- %pre
- %{_sbindir}/groupadd -r nm-openconnect &>/dev/null || :
- %{_sbindir}/useradd -r -s /sbin/nologin -d / -M \
- -c 'NetworkManager user for OpenConnect' \
- -g nm-openconnect nm-openconnect &>/dev/null || :
- %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 COPYING
- %{_libdir}/NetworkManager/lib*.so*
- %{_sysconfdir}/dbus-1/system.d/nm-openconnect-service.conf
- %{_sysconfdir}/NetworkManager/VPN/nm-openconnect-service.name
- %{_libexecdir}/nm-openconnect-service
- %{_libexecdir}/nm-openconnect-service-openconnect-helper
- %dir %{_datadir}/gnome-vpn-properties/openconnect
- %{_datadir}/gnome-vpn-properties/openconnect/nm-openconnect-dialog.glade
- %changelog
- * 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
- * Tue May 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1
- - new upstream release
- * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1
- - initial build for Vine Linux
- * Wed Apr 1 2009 David Woodhouse <David.Woodhouse@intel.com> 1:0.7.0.99-2
- - Update translations from SVN
- - Accept 'lasthost' and 'autoconnect' keys in gconf
- * 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> - 0.7.0.97-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 0.7.0.97-1
- - Update to 0.7.1rc1
- * Mon Jan 5 2009 David Woodhouse <David.woodhouse@intel.com> 0.7.0-4.svn14
- - Rebuild for updated NetworkManager
- - Update translations from GNOME SVN
- * Sun Dec 21 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-3.svn9
- - Update from GNOME SVN (translations, review feedback merged)
- * Wed Dec 17 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-2.svn3
- - Review feedback
- * Tue Dec 16 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-1.svn3
- - Change version numbering to match NetworkManager
|