File rtmidi-6.0.0-pkgconfig.patch of Package rtmidi

diff --git a/rtmidi.pc.in b/rtmidi.pc.in
index acb6888..0639c83 100644
--- a/rtmidi.pc.in
+++ b/rtmidi.pc.in
@@ -1,12 +1,12 @@
 prefix=@prefix@
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include/rtmidi
+libdir=${exec_prefix}/@libdir@
+includedir=${prefix}/@includedir@
 
-Name: librtmidi
+Name: rtmidi
 Description: RtMidi - a set of C++ classes that provide a common API for realtime MIDI input/output
 Version: @PACKAGE_VERSION@
 Requires.private: @req@
 Libs: -L${libdir} -lrtmidi
 Libs.private: -lpthread @req_libs@
-Cflags: -pthread -I${includedir} @api@
+Cflags: -pthread -I${includedir}/rtmidi @api@
openSUSE Build Service is sponsored by