From 84c8ce02908d9e290aab26f405d4ff27e69a022b Mon Sep 17 00:00:00 2001 From: avesh agarwal Date: Tue, 15 Jun 2010 15:29:43 +0000 Subject: [PATCH] - Initial build --- .cvsignore | 1 + NetworkManager-openswan.spec | 75 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 77 insertions(+) create mode 100644 NetworkManager-openswan.spec diff --git a/.cvsignore b/.cvsignore index e69de29..09f016e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +NetworkManager-openswan-0.8.tar.gz diff --git a/NetworkManager-openswan.spec b/NetworkManager-openswan.spec new file mode 100644 index 0000000..d19484c --- /dev/null +++ b/NetworkManager-openswan.spec @@ -0,0 +1,75 @@ +%define openswan_version 2.6.25-2 + +%define snapshot .20100411git +%define realversion 0.8 + +Summary: NetworkManager VPN plug-in for openswan +Name: NetworkManager-openswan +Version: 0.8.0 +Release: 1%{snapshot}%{?dist} +License: GPLv2+ +Group: System Environment/Base +URL: http://people.redhat.com/avagarwa/files/NetworkManager-openswan/ +# To get source, either download from the above url, or follow these commands +# Check out NetworkManager-openswan +# "cd" to specfic fedora release +# run "make test-srpm" +Source0: http://people.redhat.com/avagarwa/files/%{name}/%{name}-%{realversion}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: gtk2-devel +#BuildRequires: dbus-devel +#BuildRequires: NetworkManager-devel +BuildRequires: NetworkManager-glib-devel +BuildRequires: GConf2-devel +BuildRequires: gnome-keyring-devel +BuildRequires: libglade2-devel +BuildRequires: intltool gettext + +Requires: NetworkManager +Requires: gnome-keyring +Requires: openswan >= %{openswan_version} + + +%description +This package contains software for integrating the openswan VPN software +with NetworkManager and the GNOME desktop + +%prep +%setup -q -n NetworkManager-openswan-%{realversion} + +%build +%configure --disable-static --enable-more-warnings=yes +make %{?_smp_mflags} + +%install + +make install DESTDIR=$RPM_BUILD_ROOT + +rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la + +%find_lang %{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f %{name}.lang +%defattr(-, root, root,-) +%config /etc/NetworkManager/VPN/nm-openswan-service.name +%config /etc/dbus-1/system.d/nm-openswan-service.conf + +%doc AUTHORS ChangeLog COPYING +%{_libdir}/NetworkManager/lib*.so* +%{_libexecdir}/nm-openswan-auth-dialog +%{_sysconfdir}/dbus-1/system.d/nm-openswan-service.conf +%{_sysconfdir}/NetworkManager/VPN/nm-openswan-service.name +%{_libexecdir}/nm-openswan-service +%{_libexecdir}/nm-openswan-service-helper +%{_datadir}/gnome-vpn-properties/openswan/nm-openswan-dialog.glade +%dir %{_datadir}/gnome-vpn-properties/openswan + +%changelog +* Tue Jun 15 2010 Avesh Agarwal - 0.8.0-1.20100411git +- Initial build diff --git a/sources b/sources index e69de29..bb77056 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8e44ef5492e5f5937dcb4a1a620d461b NetworkManager-openswan-0.8.tar.gz