]> git.pld-linux.org Git - packages/libredwg.git/commitdiff
- updated to 0.12.5 auto/th/libredwg-0.12.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Jul 2022 15:01:28 +0000 (17:01 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Jul 2022 15:01:28 +0000 (17:01 +0200)
- removed obsolete sh patch
- added hack for dwg2ps.1 file missing in dist

libredwg-sh.patch [deleted file]
libredwg.spec

diff --git a/libredwg-sh.patch b/libredwg-sh.patch
deleted file mode 100644 (file)
index 0b95646..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---- libredwg-0.12.4/configure.ac.orig  2021-04-11 15:41:32.582128469 +0200
-+++ libredwg-0.12.4/configure.ac       2021-04-11 16:42:30.718977307 +0200
-@@ -407,13 +407,9 @@
- if test -n "$GPERF"
- then
-     AC_MSG_CHECKING([GPERF version])
--    [GPERF_VERSION=`"$GPERF" --version | head -n1 2>&1 | sed 's,GNU gperf ,,'`]
--    case $GPERF_VERSION in
--      1.*) GPERF_VERSION=$((100+${GPERF_VERSION:2:1})) ;;
--      2.*) GPERF_VERSION=$((200+${GPERF_VERSION:2:1})) ;;
--      3.*) GPERF_VERSION=$((300+${GPERF_VERSION:2:1})) ;;
--      4.*) GPERF_VERSION=$((400+${GPERF_VERSION:2:1})) ;;
--    esac
-+    [GPERF_MAJOR=`"$GPERF" --version | head -n1 2>&1 | sed 's,GNU gperf ,,' | cut -d. -f1`]
-+    [GPERF_MINOR=`"$GPERF" --version | head -n1 2>&1 | sed 's,GNU gperf ,,' | cut -d. -f2`]
-+    GPERF_VERSION=$((GPERF_MAJOR * 100 + GPERF_MINOR))
-     AC_MSG_RESULT([$GPERF_VERSION])
-     AC_DEFINE_UNQUOTED([GPERF_VERSION],[$GPERF_VERSION],
-        [versions earlier than 301 will have no size_t])
index 693b681240d3fb2174d35843f8bf84efdcd9ccf0..d3a234c4225c9b37e80d65e04dbac24f931daca5 100644 (file)
@@ -1,15 +1,14 @@
 Summary:       LibreDWG - free implementation of the DWG file format
 Summary(pl.UTF-8):     LibreDWG - wolnodostępna implementacja formatu plików DWG
 Name:          libredwg
-Version:       0.12.4
-Release:       3
+Version:       0.12.5
+Release:       1
 License:       GPL v3+
 Group:         Libraries
 Source0:       https://ftp.gnu.org/gnu/libredwg/%{name}-%{version}.tar.xz
-# Source0-md5: 9aba1400b02db931f4ee8a1155fd2376
+# Source0-md5: 3cb1ec853a665b74924ac417698589d7
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-python.patch
-Patch2:                %{name}-sh.patch
 URL:           http://www.gnu.org/software/libredwg/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake >= 1:1.14
@@ -98,7 +97,6 @@ Interfejs Pythona do biblioteki LibreDWG.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 # no git-version-gen in release tarball
 %{__sed} -i -e 's/m4_esyscmd.*git-version-gen.*/[%{version}],/' configure.ac
@@ -116,6 +114,10 @@ Interfejs Pythona do biblioteki LibreDWG.
        --disable-silent-rules \
        --with-perl-install=vendor
 
+# programs/dwg2ps.1 is missing in dist as of 0.12.5
+%{__make} -C src
+%{__make} -C programs regen-man
+
 %{__make}
 
 %install
This page took 0.152153 seconds and 4 git commands to generate.