From d3626059177d70bc00eb06c819a66d5ffde02cfc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:37:30 +0100 Subject: [PATCH] added debug package and build fix for aarch64 [release 0.8.14-3mamba;Tue Dec 01 2020] --- README.md | 3 +-- libIDL.spec | 41 ++++++++++++++++++++--------------------- 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index b23e041..50f77e0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # libIDL -LibIDL is a front-end for CORBA 2.2 IDL and Netscape's XPIDL, currently used in -the GNOME project (bundled with ORBit), and the Mozilla project. +LibIDL is a front-end for CORBA 2.2 IDL and Netscape's XPIDL, currently used in the GNOME project (bundled with ORBit), and the Mozilla project. diff --git a/libIDL.spec b/libIDL.spec index bfca1bf..466e56a 100644 --- a/libIDL.spec +++ b/libIDL.spec @@ -1,13 +1,7 @@ -%define gnomever 2.30.0 -%define libver 2 - -%define gnomemajver %(echo %gnomever | cut -d. -f 1-2) -%define gnomegroup platform -%define pkgname libIDL - +%define majver %(echo %version | cut -d. -f1-2) Name: libIDL Version: 0.8.14 -Release: 2mamba +Release: 3mamba Summary: Libraries for Interface Definition Language files Group: System/Libraries Vendor: openmamba @@ -15,20 +9,20 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org/ # bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname} -Source: http://ftp.gnome.org/pub/GNOME/%{gnomegroup}/%{gnomemajver}/%{gnomever}/sources/%{pkgname}-%{version}.tar.bz2 +Source: http://ftp.gnome.org/pub/gnome/sources/libIDL/%{majver}/libIDL-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libglib-devel ## AUTOBUILDREQ-END BuildRequires: libopenssl-devel -BuildRequires: flex, bison -PreReq: %{__install_info} +BuildRequires: flex +BuildRequires: bison +Requires(post):%{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description -LibIDL is a front-end for CORBA 2.2 IDL and Netscape's XPIDL, currently used in -the GNOME project (bundled with ORBit), and the Mozilla project. +LibIDL is a front-end for CORBA 2.2 IDL and Netscape's XPIDL, currently used in the GNOME project (bundled with ORBit), and the Mozilla project. %package devel Summary: Devel package for libIDL @@ -36,13 +30,14 @@ Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel -LibIDL is a front-end for CORBA 2.2 IDL and Netscape's XPIDL, currently used in -the GNOME project (bundled with ORBit), and the Mozilla project. +LibIDL is a front-end for CORBA 2.2 IDL and Netscape's XPIDL, currently used in the GNOME project (bundled with ORBit), and the Mozilla project. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%debug_package %prep %setup -q +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub %build %configure \ @@ -71,21 +66,25 @@ exit 0 %files %defattr(-,root,root) -%{_libdir}/libIDL-%{libver}.so.* -%doc AUTHORS BUGS ChangeLog COPYING HACKING MAINTAINERS NEWS README +%{_libdir}/libIDL-2.so.* +%doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_bindir}/libIDL-config-2 %dir %{_includedir}/libIDL-?.? %{_includedir}/libIDL-?.?/* -%{_libdir}/libIDL-%{libver}.a -%{_libdir}/libIDL-%{libver}.la -%{_libdir}/libIDL-%{libver}.so +%{_libdir}/libIDL-2.a +%{_libdir}/libIDL-2.la +%{_libdir}/libIDL-2.so %{_libdir}/pkgconfig/libIDL-?.?.pc %{_infodir}/* +%doc BUGS ChangeLog HACKING MAINTAINERS NEWS README %changelog +* Tue Dec 01 2020 Silvan Calarco 0.8.14-3mamba +- added debug package and build fix for aarch64 + * Tue Jun 29 2010 Silvan Calarco 0.8.14-2mamba - rebuilt to add pkgconfig provides