Hello community,

here is the log from the commit of package live555 for openSUSE:Factory checked 
in at 2014-11-03 13:11:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/live555 (Old)
 and      /work/SRC/openSUSE:Factory/.live555.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "live555"

Changes:
--------
--- /work/SRC/openSUSE:Factory/live555/live555.changes  2014-10-05 
20:30:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.live555.new/live555.changes     2014-11-03 
13:11:14.000000000 +0100
@@ -1,0 +2,10 @@
+Wed Oct 29 22:16:12 UTC 2014 - o...@aepfle.de
+
+- BuildRequire pkg-config to get rpm Provides/Requires pkgconfig(live555)
+
+-------------------------------------------------------------------
+Mon Oct  6 13:25:05 UTC 2014 - aloi...@gmx.com
+
+- Added support for pkg-config by creating the relevant .pc file
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ live555.spec ++++++
--- /var/tmp/diff_new_pack.giLf7b/_old  2014-11-03 13:11:15.000000000 +0100
+++ /var/tmp/diff_new_pack.giLf7b/_new  2014-11-03 13:11:15.000000000 +0100
@@ -19,7 +19,7 @@
 
 Name:           live555
 Version:        2014.09.22
-Release:        1.1
+Release:        1.2
 Summary:        LIVE555 Streaming Media
 License:        LGPL-2.1
 Group:          System/Libraries
@@ -28,6 +28,7 @@
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch0:         %{name}-fpic.patch
 BuildRequires:  gcc-c++
+BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -64,8 +65,20 @@
   cp -rL $fld/include/* %{buildroot}%{_includedir}/$fld
 done
 
-%clean
-rm -rf %{buildroot}
+# creates support file for pkg-config
+mkdir %{buildroot}/%{_libdir}/pkgconfig
+tee %{buildroot}/%{_libdir}/pkgconfig/live555.pc << "EOF"
+prefix=%{_prefix}
+exec_prefix=${prefix}
+libdir=${exec_prefix}/%{_lib}
+includedir=${prefix}/include
+
+Name: live555
+Description: Multimedia streaming libraries
+Version: %{version}
+Libs: -L${libdir} -lliveMedia -lUsageEnvironment -lgroupsock 
-lBasicUsageEnvironment
+Cflags: -I${includedir} -I${includedir}/liveMedia 
-I${includedir}/UsageEnvironment -I${includedir}/groupsock 
-I${includedir}/BasicUsageEnvironment
+EOF
 
 %files devel
 %defattr(-,root,root)
@@ -74,5 +87,6 @@
 %{_includedir}/groupsock/
 %{_includedir}/BasicUsageEnvironment/
 %{_includedir}/UsageEnvironment/
+%{_libdir}/pkgconfig/live555.pc
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to