Sisyphus repository
Last update: 2017-08-19 16:05:37 +0400 | SRPMs: 17976 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 1.2.0-alt1
p8: 1.2.0-alt1

Group :: System/Configuration/Networking
Source RPM: NetworkManager-iodine

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

%define nm_version 1.1.90
%define nm_applet_version 1.1.90
%define nm_applet_name NetworkManager-applet-gtk
%define git_date %nil
#define git_date .git20111101


%def_with libnm_glib

%define _unpackaged_files_terminate_build 1

Name: NetworkManager-iodine
Version: 1.2.0
Release: alt1%git_date
License: %gpl2plus
Group: System/Configuration/Networking
Summary: NetworkManager VPN plugin for iodine
Url: https://honk.sigxcpu.org/piki/projects/network-manager-iodine/
# git://git.gnome.org/network-manager-iodine

Source0: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires(pre):
 rpm-build-licenses

BuildRequires: intltool
BuildRequires: NetworkManager-devel >= %nm_version
BuildRequires: libnm-devel >= %nm_version
BuildRequires: libnma-devel >= %nm_applet_version
%if_with libnm_glib
BuildRequires: libnm-glib-vpn-devel >= %nm_version
BuildRequires: libnm-gtk-devel >= %nm_applet_version
%endif
BuildRequires: libgtk+3-devel
BuildRequires: libsecret-devel

Requires: NetworkManager-daemon   >= %nm_version
Requires: iodine-client

%description
%name is a network manager VPN plugin that allows you
to tunnel your connection through a DNS tunnel. This can be useful if
internet access is firewalled but DNS traffic is still allowed.

%package gtk
License: %gpl2plus
Summary: Applications for use %name with %nm_applet_name
Group: Graphical desktop/GNOME
Requires: %nm_applet_name >= %nm_applet_version
Requires: NetworkManager-iodine = %version-%release

%description gtk
This package contains applications for use with
NetworkManager panel applet.

%prep
%setup
%patch -p1

%build
%autoreconf
%configure \
        --disable-static \
        --libexecdir=%_libexecdir/NetworkManager \
        --localstatedir=%_var \
%if_without libnm_glib
        --without-libnm-glib \
%endif
        --enable-more-warnings=error
%make_build

%install
%makeinstall_std
%find_lang %name

%files
%doc NEWS AUTHORS
%_libexecdir/NetworkManager/nm-iodine-service
%config %_sysconfdir/dbus-1/system.d/nm-iodine-service.conf
%if_with libnm_glib
%config %_sysconfdir/NetworkManager/VPN/nm-iodine-service.name
%endif
%config %_libexecdir/NetworkManager/VPN/nm-iodine-service.name

%files gtk -f %name.lang
%if_with libnm_glib
%_libdir/NetworkManager/libnm-iodine-properties.so*
%endif
%_libexecdir/NetworkManager/nm-iodine-auth-dialog
%_datadir/gnome-vpn-properties/*
%_libdir/NetworkManager/libnm-vpn-plugin-iodine.so
%_datadir/appdata/*.appdata.xml

%exclude %_libdir/NetworkManager/*.la

%changelog
* Thu Apr 28 2016 Mikhail Efremov <sem at altlinux.org> 1.2.0-alt1
- Updated to 1.2.0.

* Thu Apr 07 2016 Mikhail Efremov <sem at altlinux.org> 1.1.0-alt1
- Initial build.

 
© 2009–2017 Igor Zubkov