[meego-commits] 5469: Changes to Trunk/gupnp

Anas Nashif nashif at linux.intel.com
Fri Jul 9 03:45:57 UTC 2010


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

Thank You,
Anas Nashif

[This message was auto-generated]

---

Request #5469:

  submit:   Trunk:Testing/gupnp(r5) -> Trunk/gupnp


Message:
    * Thu Jul 08 2010 Anas Nashif <anas.nashif at intel.com> - 0.13.4
- Fixed Dependencies
- Remove duplicate ldconfig
* Thu Jul 08 2010 Bin Gao <bin.gao at intel.com> 0.13.4
- Update to 0.13.4
- Fix spectacle files
- Update to 0.13.2

State:   new          2010-07-08T15:41:24 nashif
Comment: None



changes files:
--------------
--- gupnp.changes
+++ gupnp.changes
@@ -0,0 +1,8 @@
+* Thu Jul 08 2010 Anas Nashif <anas.nashif at intel.com> - 0.13.4
+- Fixed Dependencies
+- Remove duplicate ldconfig
+
+* Thu Jul 08 2010 Bin Gao <bin.gao at intel.com> 0.13.4
+- Update to 0.13.4
+- Fix spectacle files
+
@@ -2 +10 @@
-* Update to 0.13.2
+- Update to 0.13.2

old:
----
  gupnp-0.13.2.tar.gz

new:
----
  Makefile
  gupnp-0.13.4.tar.gz
  gupnp.yaml

spec files:
-----------
--- gupnp.spec
+++ gupnp.spec
@@ -1,24 +1,31 @@
-#specfile originally created for Fedora, modified for Moblin Linux
+# 
+# Do not Edit! Generated by:
+# spectacle version 0.19~pre
+# 
+# >> macros
+# << macros
 
 Name:           gupnp
-Version:        0.13.2
-Release:        1
 Summary:        GUPnP is an framework for creating UPnP devices & control points
-
+Version:    0.13.4
+Release:    1
 Group:          System/Libraries
 License:        LGPLv2+
 URL:            http://www.gupnp.org/
 Source0:        http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: libxml2-devel
-BuildRequires: gssdp-devel >= 0.7
-BuildRequires: glib2-devel
-BuildRequires: libsoup-devel
-BuildRequires: libxml2-devel
-BuildRequires: e2fsprogs-devel libuuid-devel
-
+Source100:  gupnp.yaml
 Requires: dbus
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(gssdp-1.0)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libsoup-gnome-2.4)
+BuildRequires:  pkgconfig(libsoup-2.4)
+BuildRequires:  pkgconfig(ext2fs)
+BuildRequires:  pkgconfig(e2p)
+BuildRequires:  pkgconfig(uuid)
+
 
 %description
 GUPnP is an object-oriented open source framework for creating UPnP 
@@ -26,51 +33,67 @@
 The GUPnP API is intended to be easy to use, efficient and flexible. 
 
 
+
 %package devel
 Summary: Development package for gupnp
 Group: Development/Libraries
-Requires: gssdp-devel
-Requires: gupnp = %{version}-%{release}
-Requires: pkgconfig
-#Requires: gtk-doc
+Requires:   %{name} = %{version}-%{release}
 
 %description devel
 Files for development with gupnp.
 
+
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
 
 %build
+# >> build pre
+# << build pre
+
 %configure --disable-static
-make %{?_smp_mflags}
+make %{?jobs:-j%jobs}
 
+# >> build post
+# << build post
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_libdir}/libgupnp-1.0.la
-
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+%make_install 
 
+# >> install post
 rm -rf  $RPM_BUILD_ROOT%{_datadir}/gtk-doc
+# << install post
+
 
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
+
+
+
+
 %files
 %defattr(-,root,root,-)
+# >> files
 %doc AUTHORS COPYING README
 %{_libdir}/libgupnp-1.0.so.3
 %{_libdir}/libgupnp-1.0.so.3.0.0
+# << files
 
 
 %files devel
 %defattr(-,root,root,-)
+# >> files devel
 #%doc {_datadir}/gtk-doc/html/gupnp
 %{_libdir}/pkgconfig/gupnp-1.0.pc
 %{_libdir}/libgupnp-1.0.so
 %{_includedir}/gupnp-1.0
 %{_bindir}/gupnp-binding-tool
+# << files devel
 

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

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

++++++ gupnp-0.13.2.tar.gz -> gupnp-0.13.4.tar.gz
39796 lines of diff (skipped)

++++++ gupnp.yaml (new)
--- gupnp.yaml
+++ gupnp.yaml
+Name: gupnp
+Summary: GUPnP is an framework for creating UPnP devices & control points
+Version: 0.13.4
+Release: 1
+Group: System/Libraries
+License: LGPLv2+
+URL: http://www.gupnp.org/
+Sources:
+    - http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
+Description: |
+    GUPnP is an object-oriented open source framework for creating UPnP 
+    devices and control points, written in C using GObject and libsoup. 
+    The GUPnP API is intended to be easy to use, efficient and flexible.
+
+Requires:
+    - dbus
+PkgConfigBR:
+    - libxml-2.0
+    - gssdp-1.0
+    - glib-2.0
+    - libsoup-gnome-2.4
+    - libsoup-2.4
+    - ext2fs
+    - e2p
+    - uuid
+Configure: configure
+Builder: make
+SubPackages:
+    - Name: devel
+      Summary: Development package for gupnp
+      Group: Development/Libraries
+      Description: Files for development with gupnp.



More information about the MeeGo-commits mailing list