Update to 0.9.8.2 release; split GUI to separate package

and cleanup spec file (rh #949132)
epel8
Jiří Klimeš 12 years ago
parent 78f0a8cafb
commit 0101510b59

1
.gitignore vendored

@ -4,3 +4,4 @@ NetworkManager-openvpn-0.8.0.997.git20100609.tar.bz2
NetworkManager-openvpn-0.8.1.tar.bz2 NetworkManager-openvpn-0.8.1.tar.bz2
/NetworkManager-openvpn-0.9.3.995.git20120302.tar.bz2 /NetworkManager-openvpn-0.9.3.995.git20120302.tar.bz2
/NetworkManager-openvpn-0.9.3.997.tar.bz2 /NetworkManager-openvpn-0.9.3.997.tar.bz2
/NetworkManager-openvpn-0.9.8.2.tar.bz2

@ -1,48 +1,57 @@
%define nm_version 1:0.9.2 %global snapshot %{nil}
%define dbus_version 1.1
%define gtk2_version 3.0.1 Summary: NetworkManager VPN plugin for OpenVPN
%define openvpn_version 2.1 Name: NetworkManager-openvpn
%define shared_mime_version 0.16-3 Epoch: 1
Version: 0.9.8.2
%define snapshot %{nil} Release: 1%{snapshot}%{?dist}
%define realversion 0.9.6.0 License: GPLv2+
URL: http://www.gnome.org/projects/NetworkManager/
Summary: NetworkManager VPN plugin for OpenVPN Group: System Environment/Base
Name: NetworkManager-openvpn Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.9/%{name}-%{version}%{snapshot}.tar.bz2
Epoch: 1
Version: 0.9.6.0 BuildRequires: gtk3-devel
Release: 2%{snapshot}%{?dist} BuildRequires: dbus-devel
License: GPLv2+ BuildRequires: NetworkManager-devel
URL: http://www.gnome.org/projects/NetworkManager/ BuildRequires: NetworkManager-glib-devel
Group: System Environment/Base
Source: %{name}-%{realversion}%{snapshot}.tar.xz
BuildRequires: gtk3-devel >= %{gtk2_version}
BuildRequires: dbus-devel >= %{dbus_version}
BuildRequires: NetworkManager-devel >= %{nm_version}
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
BuildRequires: glib2-devel BuildRequires: glib2-devel
%if 0%{?fedora} > 16
BuildRequires: libgnome-keyring-devel
%else
BuildRequires: gnome-keyring-devel
%endif
BuildRequires: libtool intltool gettext BuildRequires: libtool intltool gettext
Requires(post): %{_bindir}/update-desktop-database BuildRequires: libgnome-keyring-devel
Requires(postun): %{_bindir}/update-desktop-database
Requires: gtk3 >= %{gtk2_version} Requires: gtk3
Requires: dbus >= %{dbus_version} Requires: dbus
Requires: NetworkManager >= %{nm_version} Requires: NetworkManager
Requires: openvpn >= %{openvpn_version} Requires: openvpn
Requires: shared-mime-info >= %{shared_mime_version} Requires: shared-mime-info
Requires: gnome-keyring Requires: gnome-keyring
Obsoletes: NetworkManager-openvpn < 0.9.8.2-1
%global _privatelibs libnm-openvpn-properties[.]so.*
%global __provides_exclude ^(%{_privatelibs})$
%global __requires_exclude ^(%{_privatelibs})$
%description %description
This package contains software for integrating the OpenVPN VPN software This package contains software for integrating VPN capabilities with
with NetworkManager and the GNOME desktop. the OpenVPN server with NetworkManager.
%package -n NetworkManager-openvpn-gnome
Summary: NetworkManager VPN plugin for OpenVPN - GNOME files
Group: System Environment/Base
Requires: NetworkManager-openvpn = %{epoch}:%{version}-%{release}
%if 0%{?fedora} > 17
Requires: nm-connection-editor
%else
Requires: NetworkManager-gnome
%endif
Obsoletes: NetworkManager-openvpn < 0.9.8.2-1
%description -n NetworkManager-openvpn-gnome
This package contains software for integrating VPN capabilities with
the OpenVPN server with NetworkManager (GNOME files).
%prep %prep
%setup -q -n %{name}-%{realversion} %setup -q -n %{name}-%{version}
%build %build
if [ ! -f configure ]; then if [ ! -f configure ]; then
@ -51,6 +60,9 @@ fi
%configure --disable-static --disable-dependency-tracking --enable-more-warnings=yes --with-gtkver=3 %configure --disable-static --disable-dependency-tracking --enable-more-warnings=yes --with-gtkver=3
make %{?_smp_mflags} make %{?_smp_mflags}
%check
make check
%install %install
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
@ -58,34 +70,27 @@ rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
%find_lang %{name} %find_lang %{name}
%post
/usr/bin/update-desktop-database > /dev/null
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
/usr/bin/update-desktop-database > /dev/null
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-, root, root) %doc COPYING AUTHORS README ChangeLog
%doc AUTHORS ChangeLog README
%{_libdir}/NetworkManager/lib*.so*
%{_libexecdir}/nm-openvpn-auth-dialog
%{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf %{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf
%{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name %{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name
%{_libexecdir}/nm-openvpn-service %{_libexecdir}/nm-openvpn-service
%{_libexecdir}/nm-openvpn-auth-dialog
%{_libexecdir}/nm-openvpn-service-openvpn-helper %{_libexecdir}/nm-openvpn-service-openvpn-helper
%{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.ui
%files -n NetworkManager-openvpn-gnome
%doc COPYING AUTHORS README ChangeLog
%{_libdir}/NetworkManager/lib*.so*
%dir %{_datadir}/gnome-vpn-properties/openvpn %dir %{_datadir}/gnome-vpn-properties/openvpn
%{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.ui
%changelog %changelog
* Tue Jul 16 2013 Jiří Klimeš <jklimes@redhat.com> - 1:0.9.8.2-1
- Update to 0.9.8.2 release
* Sat Apr 06 2013 Dan Fruehauf <malkodan@gmail.com> - 1:0.9.8.0-1
- Refactored spec file
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.6.0-2 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

@ -1 +1 @@
c4c11aae895f5967d36f3dc7a24046b2 NetworkManager-openvpn-0.9.6.0.tar.xz 2073ef7ee98032dc777c7fbda7f8e2ad NetworkManager-openvpn-0.9.8.2.tar.bz2

Loading…
Cancel
Save