Просмотр исходного кода

network-manager-applet-1.8.10-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11573 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 7 лет назад
Родитель
Сommit
e7e2e15183
1 измененных файлов с 52 добавлено и 13 удалено
  1. 52 13
      n/network-manager-applet/network-manager-applet-vl.spec

+ 52 - 13
n/network-manager-applet/network-manager-applet-vl.spec

@@ -1,12 +1,12 @@
+%define _unpackaged_files_terminate_build 1
+
 %define dbus_version 1.4.20
 %define dbus_glib_version 0.96
 
 %define gtk3_version	3.10.0
 %define wireless_tools_version 29
-%define libnl3_version 3.2.14
-%define ppp_version 2.4.5
-
-%define applet_version 1.0.6
+%define libnl3_version 3.4.0
+%define ppp_version 2.4.7
 
 #define snapshot .git20090414
 #define applet_snapshot %{nil}
@@ -14,14 +14,14 @@
 Name: network-manager-applet
 Summary: GNOME applications for use with NetworkManager
 Summary(ja): NetworkManager 用 GNOME アプリケーション
-Version: 1.0.10
+Version: 1.8.10
 Release: 1%{?snapshot}%{?_dist_release}
 
 Group: Applications/Internet
 License: GPLv2+
 URL: http://www.gnome.org/projects/NetworkManager/
 
-Source: %{name}-%{version}.tar.xz
+Source: %{name}-%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: NetworkManager-glib-devel >= %{version}
@@ -35,6 +35,8 @@ BuildRequires: libgnome-keyring-devel
 BuildRequires: libnotify-devel >= 0.7
 BuildRequires: libgudev1-devel
 BuildRequires: libsecret-devel
+BuildRequires: pkgconfig(jansson)
+BuildRequires: pygobject3
 BuildRequires: iso-codes
 
 Requires(post): chkconfig
@@ -56,7 +58,6 @@ Provides:	NetworkManager-gnome = 0.9.7.0
 
 Vendor: Project Vine
 Distribution: Vine Linux
-Packager: Takemikaduchi
 
 %description
 This package contains GNOME utilities and applications for use with
@@ -90,13 +91,36 @@ This package contains private header and pkg-config files to be used only by
 nm-applet and the GNOME control center.
 
 
+%package -n libnma
+Summary:	Private libraries for NetworkManager GUI support
+Group:		System Environment/Libraries
+
+%description -n libnma
+This package contains private libraries to be used only by nm-applet,
+nm-connection editor, and the GNOME Control Center.
+
+
+%package -n libnma-devel
+Summary:	Private header files for NetworkManager GUI support
+Group:		Development/Libraries
+Requires:	pkgconfig
+Requires:	pkgconfig(libnm)
+Requires:	libnma = %{version}-%{release}
+Requires:	NetworkManager-devel
+Requires:	NetworkManager-libnm-devel
+
+%description -n libnma-devel
+This package contains private header and pkg-config files to be used only by
+nm-applet, nm-connection-editor, and the GNOME control center.
+
+
 %prep
 %setup -q
 
 %build
 export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
 NOCONFIGURE=1 ./autogen.sh
-%configure --disable-static
+%configure --disable-static --without-selinux
 make
  
 %install
@@ -142,10 +166,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 %defattr(-,root,root,0755)
 %{_bindir}/nm-applet
 %{_bindir}/nm-connection-editor
-%{_libexecdir}/nm-applet-migration-tool
-%{_datadir}/appdata/org.gnome.nm-connection-editor.appdata.xml
+#{_libexecdir}/nm-applet-migration-tool
+%{_datadir}/appdata/nm-connection-editor.appdata.xml
 %{_datadir}/applications/*.desktop
-%{_datadir}/nm-applet/
+#{_datadir}/nm-applet/
 %{_datadir}/GConf/gsettings/nm-applet.convert
 %{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
 %{_datadir}/icons/hicolor/16x16/apps/*.png
@@ -163,8 +187,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 %defattr(-,root,root,-)
 %{_libdir}/libnm-gtk.so.*
 %{_libdir}/girepository-1.0/NMGtk-1.0.typelib
-%dir %{_datadir}/libnm-gtk
-%{_datadir}/libnm-gtk/*.ui
+#dir %{_datadir}/libnm-gtk
+#{_datadir}/libnm-gtk/*.ui
 
 %files -n libnm-gtk-devel
 %defattr(-,root,root,-)
@@ -173,8 +197,23 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 %{_libdir}/libnm-gtk.so
 %{_datadir}/gir-1.0/NMGtk-1.0.gir
 
+%files -n libnma
+%{_libdir}/girepository-1.0/NMA-1.0.typelib
+%{_libdir}/libnma.so.*
+
+%files -n libnma-devel
+%dir %{_includedir}/libnma
+%{_includedir}/libnma/*
+%{_libdir}/libnma.so
+%{_libdir}/pkgconfig/libnma.pc
+%{_datadir}/gir-1.0/NMA-1.0.gir
+
 
 %changelog
+* Sat Mar 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.10-1
+- new upstream release.
+- added subpackages libnma{,-devel}.
+
 * Sun Dec 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1
 - new upstream release