libunistring 0.9.10-4 (x86_64;i686;znver1;armv7hnl;aarch64) 2019-7262
9999
Status | published | ||||||||||||||||||||
Submitter | nobodydead [@T] gmail.com | ||||||||||||||||||||
Platform | rolling | ||||||||||||||||||||
Repository | main | ||||||||||||||||||||
URL | https://abf.openmandriva.org/build_lists/613312 | ||||||||||||||||||||
Packages |
|
||||||||||||||||||||
Build Date | 2019-10-05 22:42:12 +0000 UTC | ||||||||||||||||||||
Last Updated | 2019-10-11 22:28:22.809788627 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary ee304e0ef0f25f630b950d1f7f5ba11b5cf2e7fe commit ee304e0ef0f25f630b950d1f7f5ba11b5cf2e7fe Author: tpgxyz <tpgxyz@gmail.com> AuthorDate: Sun Oct 6 00:27:55 2019 +0200 Commit: tpgxyz <tpgxyz@gmail.com> CommitDate: Sun Oct 6 00:27:55 2019 +0200 add pkg-config support --- libunistring-0.9.10-add-pkg-config-support.patch | 35 ++++++++++++++++++++++++ libunistring.spec | 8 ++++-- 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 libunistring-0.9.10-add-pkg-config-support.patch diff --git a/libunistring-0.9.10-add-pkg-config-support.patch b/libunistring-0.9.10-add-pkg-config-support.patch new file mode 100644 index 0000000..a33071a --- /dev/null +++ b/libunistring-0.9.10-add-pkg-config-support.patch @@ -0,0 +1,35 @@ +diff -Naur libunistring-0.9.10/Makefile.am libunistring-0.9.10.tpg/Makefile.am +--- libunistring-0.9.10/Makefile.am 2018-02-28 13:22:44.000000000 +0000 ++++ libunistring-0.9.10.tpg/Makefile.am 2019-10-05 22:13:20.020748395 +0000 +@@ -39,3 +39,7 @@ + # Windows support. + + EXTRA_DIST += INSTALL.windows build-aux/windres-options ++ ++ ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = libunistring.pc +diff -Naur libunistring-0.9.10/configure.ac libunistring-0.9.10.tpg/configure.ac +--- libunistring-0.9.10/configure.ac 2019-10-05 22:12:43.079520634 +0000 ++++ libunistring-0.9.10.tpg/configure.ac 2019-10-05 22:13:40.545874269 +0000 +@@ -167,4 +167,5 @@ + AC_CONFIG_FILES([lib/unistring/version.h:lib/unistring/version.in.h]) + AC_CONFIG_FILES([lib/unistring/woe32dll.h:lib/unistring/woe32dll.in.h]) + AC_CONFIG_FILES([tests/Makefile]) ++AC_CONFIG_FILES([libunistring.pc]) + AC_OUTPUT +diff -Naur libunistring-0.9.10/libunistring.pc.in libunistring-0.9.10.tpg/libunistring.pc.in +--- libunistring-0.9.10/libunistring.pc.in 1970-01-01 00:00:00.000000000 +0000 ++++ libunistring-0.9.10.tpg/libunistring.pc.in 2019-10-05 22:14:27.621161291 +0000 +@@ -0,0 +1,11 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++includedir=@includedir@ ++libdir=@libdir@ ++ ++Name: libunistring ++Description: Library to manipulate Unicode strings ++Version: @PACKAGE_VERSION@ ++Cflags: -I${includedir} ++Libs: -L${libdir} -lunistring ++Libs.private: @LTLIBICONV@ diff --git a/libunistring.spec b/libunistring.spec index 6701a51..0b5e4a9 100644 --- a/libunistring.spec +++ b/libunistring.spec @@ -7,12 +7,13 @@ Summary: GNU Unicode string library Name: libunistring Version: 0.9.10 -Release: 3 +Release: 4 License: LGPLv2+ Group: System/Libraries Url: http://www.gnu.org/software/libunistring/ Source0: http://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz Patch0: libunistring-0.9.8-check-for-__builtin_mul_overflow_p.patch +Patch1: libunistring-0.9.10-add-pkg-config-support.patch #BuildRequires: locales-fr #BuildRequires: texinfo @@ -44,8 +45,8 @@ Provides: %{name}-devel = %{version}-%{release} This package includes the development files for %{name}. %prep -%setup -q -%autopatch -p1 +%autosetup -p1 +./autogen.sh --skip-gnulib %build # (tpg) try to fix build @@ -71,3 +72,4 @@ This package includes the development files for %{name}. %{_infodir}/libunistring.info* %{_includedir}/unistring %{_includedir}/*.h +%{_libdir}/pkgconfig/*.pc
Not Available
benbullard79 [@T] cox.net | These have been in testing for 7 days. Let's move 'em. | 1657d 16hrs |
benbullard79 [@T] cox.net | 7 day. | 1657d 15hrs |