Files
ColorFull/ColorFull-install-pkgconfig-file.patch
Dmitry Roshchin dd3bfda771 Accepting request 513778 from home:badshah400:branches:science
- Update to version 1.1:
  * Added functions split_gluon, default_parton_numbers,
    rename_partons in Col_functions. These functions are used for
    g -> qqbar splitting.
  * Removed Matchbox interface to Herwig, since ColorFull along
    with the interface, is shipped with Herwig from version 7.0.
  * Included various minor updates from Herwig version.
- Changes from version 1.0:
  * Fixed Monomial.h to build using --std=c++11 and --std=c++14.
  * Fixed all warnings appearing with -Wextra for g++ and clang
    using --std=c++11 and c++14. This required removing some
    arguments in private functions.
- Move shared libs to standard libdir from libdir/name; this
  makes the package compliant with openSUSE shared lib packaging
  policy, and no longer requires the installation of a conf file.
- Drop patches incorporated or otherwise fixed upstream:
  * ColorFull-monomial-conjugate-assignment.patch
  * ColorFull-monomial-illegal-or-usage.patch

OBS-URL: https://build.opensuse.org/request/show/513778
OBS-URL: https://build.opensuse.org/package/show/science/ColorFull?expand=0&rev=6
2017-08-02 19:55:56 +00:00

50 lines
1.2 KiB
Diff

Index: ColorFull-1.1/ColorFull.pc.in
===================================================================
--- /dev/null
+++ ColorFull-1.1/ColorFull.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@/ColorFull
+includedir=@includedir@
+
+Name: ColorFull
+Description: C++ program for color summed calculations in QCD color space
+Version: @VERSION@
+Libs: -L${libdir} -lColorFull
+Cflags: -I${includedir}/ColorFull
Index: ColorFull-1.1/Makefile.am
===================================================================
--- ColorFull-1.1.orig/Makefile.am
+++ ColorFull-1.1/Makefile.am
@@ -4,5 +4,10 @@ Core \
Test \
Examples
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA= ColorFull.pc
+
+EXTRA_DIST = ColorFull.pc.in
+
ACLOCAL_AMFLAGS = -I m4
Index: ColorFull-1.1/configure.ac
===================================================================
--- ColorFull-1.1.orig/configure.ac
+++ ColorFull-1.1/configure.ac
@@ -25,11 +25,13 @@ AC_PROG_LIBTOOL
AM_CPPFLAGS="-I\$(top_builddir)/include"
AC_SUBST(AM_CPPFLAGS)
+PKG_PROG_PKG_CONFIG([0.28])
AC_CONFIG_FILES([Core/Makefile
Examples/Makefile
Test/Makefile
include/Makefile
- Makefile])
+ Makefile
+ ColorFull.pc:ColorFull.pc.in])
AC_OUTPUT