Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2016-11-14 20:11:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and      /work/SRC/openSUSE:Factory/.physfs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "physfs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/physfs/physfs.changes    2016-02-11 
12:38:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.physfs.new/physfs.changes       2016-11-14 
20:12:05.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Aug 20 20:47:15 UTC 2016 - [email protected]
+
+- Add a pkgconfig file
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ physfs.spec ++++++
--- /var/tmp/diff_new_pack.LB1jeg/_old  2016-11-14 20:12:06.000000000 +0100
+++ /var/tmp/diff_new_pack.LB1jeg/_new  2016-11-14 20:12:06.000000000 +0100
@@ -46,6 +46,7 @@
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -87,6 +88,21 @@
 %install
 %cmake_install
 
+install -d %{buildroot}%{_libdir}/pkgconfig
+cat << EOF > %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
+prefix=%{_prefix}
+exec_prefix=\${prefix}
+libdir=\${exec_prefix}/%{_lib}
+includedir=\${prefix}/include
+
+Name: PhysicsFS
+Description: PhysicsFS, a library to provide abstract access to various 
archives
+URL: %{url}
+Version: %{version}
+Libs: -L\${libdir} -lphysfs
+Cflags: -I\${includedir}
+EOF
+
 %post -n lib%{name}%{so_nr} -p /sbin/ldconfig
 
 %postun -n lib%{name}%{so_nr} -p /sbin/ldconfig
@@ -101,5 +117,6 @@
 %defattr(0644,root,root,0755)
 %{_libdir}/libphysfs.so
 %{_includedir}/physfs.h
+%{_libdir}/pkgconfig/%{name}.pc
 
 %changelog


Reply via email to