[meego-commits] 6025: Changes to Trunk:Testing/libnice

Jian-feng Ding jian-feng.ding at intel.com
Wed Jul 28 02:35:56 UTC 2010


Hi,
I have made the following changes to libnice in project Trunk:Testing. Please review and accept ASAP.

Thank You,
Jian-feng Ding

[This message was auto-generated]

---

Request #6025:

  submit:   home:jfding:branches:Trunk:Testing/libnice(r3)(cleanup) -> Trunk:Testing/libnice


Message:
    Upgrade to 0.0.13 and enable spectacle packaging

State:   new          2010-07-27T14:29:06 jfding
Comment: None



changes files:
--------------
--- libnice.changes
+++ libnice.changes
@@ -0,0 +1,3 @@
+* Wed Jul 28 2010 Jian-feng Ding <jian-feng.ding at intel.com> 0.0.13
+- Upgrade to 0.0.13 and enable spectacle packaging
+

old:
----
  libnice-0.0.10.tar.gz

new:
----
  Makefile
  libnice-0.0.13.tar.gz
  libnice.yaml

spec files:
-----------
--- libnice.spec
+++ libnice.spec
@@ -1,15 +1,22 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.18
+# 
+# >> macros
+# << macros
+
 Name:           libnice
-Version:        0.0.10
-Release:        1
 Summary:        GLib ICE implementation
-
+Version:    0.0.13
+Release:    1
 Group:          System/Libraries
 License:        LGPLv2 and MPLv1.1
 URL:            http://nice.freedesktop.org/wiki/
 Source0:        http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:	glib2-devel
+Source100:  libnice.yaml
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  gstreamer-devel
 BuildRequires:	gst-plugins-base-devel
 BuildRequires:	gupnp-igd-devel
@@ -24,6 +31,7 @@
 for audio/video calls.
 
 
+
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries
@@ -31,53 +39,68 @@
 Requires:	glib2-devel
 Requires:	pkgconfig
 
-
 %description    devel
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
 
+
 %prep
-%setup -q -n libnice-%{version}
+%setup -q -n %{name}-%{version}
 
+# >> setup
+# << setup
 
 %build
-%configure --disable-static --enable-gupnp
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-make %{?_smp_mflags}
+# >> build pre
+# << build pre
 
+%configure --disable-static \
+    --enable-gupnp
 
+
+# >> build post
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+make %{?jobs:-j%jobs}
+# << build post
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+
+# >> install post
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+# << install post
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %post -p /sbin/ldconfig
 
-
 %postun -p /sbin/ldconfig
 
 
+
+
+
 %files
 %defattr(-,root,root,-)
+# >> files
 %doc NEWS README COPYING COPYING.LGPL COPYING.MPL
 %{_bindir}/stunbdc
 %{_bindir}/stund
 %{_libdir}/gstreamer-0.10/libgstnice.so
 %{_libdir}/*.so.*
+# << files
 
 
 %files devel
 %defattr(-,root,root,-)
+# >> files devel
 %{_includedir}/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/nice.pc
 %{_datadir}/gtk-doc/html/%{name}/
-
+# << files devel
 

other changes:
--------------

++++++ Makefile (new)
--- Makefile
+++ Makefile
+PKG_NAME := nice
+SPECFILE = $(addsuffix .spec, $(PKG_NAME))
+YAMLFILE = $(addsuffix .yaml, $(PKG_NAME))
+
+include /usr/share/packaging-tools/Makefile.common
+

++++++ libnice-0.0.10.tar.gz -> libnice-0.0.13.tar.gz
29144 lines of diff (skipped)

++++++ libnice.yaml (new)
--- libnice.yaml
+++ libnice.yaml
+Name: libnice
+Summary: GLib ICE implementation
+Version: 0.0.13
+Release: 1
+Group: System/Libraries
+License: LGPLv2 and MPLv1.1
+URL: http://nice.freedesktop.org/wiki/
+Sources:
+    - http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
+Description: |
+    libnice is an implementation of the IETF's draft Interactive Connectivity
+    Establishment standard (ICE). ICE is useful for applications that want to
+    establish peer-to-peer UDP data streams. It automates the process of traversing
+    NATs and provides security against some attacks. Existing standards that use
+    ICE include the Session Initiation Protocol (SIP) and Jingle, XMPP extension
+    for audio/video calls.
+
+PkgConfigBR:
+    - glib-2.0
+PkgBR:
+    - gstreamer-devel
+    - gst-plugins-base-devel
+    - gupnp-igd-devel
+
+Configure: configure
+ConfigOptions:
+    - --enable-gupnp
+
+Builder: none
+SubPackages:
+    - Name: devel
+      Summary: Development files for %{name}
+      Group: Development/Libraries
+      Description: |
+          The %{name}-devel package contains libraries and header files for
+          developing applications that use %{name}.
+      Requires:
+          - glib2-devel
+          - pkgconfig
+



More information about the MeeGo-commits mailing list