]> git.pld-linux.org Git - packages/OpenIPMI.git/commitdiff
- updated to 2.0.28
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 14 Feb 2020 14:39:41 +0000 (15:39 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 14 Feb 2020 14:39:41 +0000 (15:39 +0100)
- added tcl patch (support tcl headers directly in /usr/include again)

OpenIPMI-tcl.patch [new file with mode: 0644]
OpenIPMI.spec

diff --git a/OpenIPMI-tcl.patch b/OpenIPMI-tcl.patch
new file mode 100644 (file)
index 0000000..85bfd3d
--- /dev/null
@@ -0,0 +1,11 @@
+--- OpenIPMI-2.0.28/configure.ac.orig  2019-12-12 17:39:40.000000000 +0100
++++ OpenIPMI-2.0.28/configure.ac       2020-02-14 07:15:42.849858578 +0100
+@@ -369,7 +369,7 @@
+    FOUND_TCL_HEADER=no
+    ver=`echo 'puts \$tcl_version' | tclsh`
+    if test "x$tclcflags" = "x"; then
+-      AC_CHECK_HEADER(tcl/tcl.h, FOUND_TCL_HEADER=yes; )
++      AC_CHECK_HEADER(tcl.h, FOUND_TCL_HEADER=yes; )
+       if test "x$FOUND_TCL_HEADER" != "xyes"; then
+          AC_CHECK_HEADER(tcl/tcl.h, FOUND_TCL_HEADER=yes; )
+        if test "x$FOUND_TCL_HEADER" == "xyes"; then
index dbd93c6ecdb2911acc51dc160677c1fe023719d0..dd390f0348739d8f59ca444b02bdb166b18594f5 100644 (file)
@@ -1,3 +1,4 @@
+# TODO: python3 module
 #
 # Conditional build:
 %bcond_without gui     # don't build tkinter-based GUI
@@ -5,13 +6,14 @@
 Summary:       IPMI abstraction layer
 Summary(pl.UTF-8):     Warstwa abstrakcji IPMI
 Name:          OpenIPMI
-Version:       2.0.25
-Release:       5
+Version:       2.0.28
+Release:       1
 License:       LGPL v2+ (library), GPL v2+ (ipmicmd)
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
-# Source0-md5: 1461ac4d78fc516646fd0a6e605a8b05
+# Source0-md5: ba37f08e306062ec73c7ed2a2bd4d5f4
 Patch0:                %{name}-link.patch
+Patch1:                %{name}-tcl.patch
 URL:           http://openipmi.sourceforge.net/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -113,6 +115,7 @@ Graficzny interfejs użytkownika do OpenIPMI.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -125,7 +128,7 @@ CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
        --with-pythoninstall=%{py_sitescriptdir} \
        --with-pythoninstalllib=%{py_sitedir} \
        --without-glib12 \
-       %{!?with_gui:--without-tkinter}
+       --with-tkinter%{!?with_gui:=no}
 %{__make} %{?with_gui:-j1}
 
 %install
@@ -134,6 +137,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install -j1 \
        DESTDIR=$RPM_BUILD_ROOT
 
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} \
        $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py \
        %{?with_gui:$RPM_BUILD_ROOT%{py_sitescriptdir}/openipmigui/*.py}
@@ -212,7 +218,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libOpenIPMItcl.la
 %{_libdir}/libOpenIPMIui.la
 %{_libdir}/libOpenIPMIutils.la
-%{_includedir}/%{name}
+%{_includedir}/OpenIPMI
 %{_pkgconfigdir}/OpenIPMI.pc
 %{_pkgconfigdir}/OpenIPMIcmdlang.pc
 %{_pkgconfigdir}/OpenIPMIglib.pc
This page took 0.100121 seconds and 4 git commands to generate.