libIDL/libIDL.spec

118 lines
3.3 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libIDL
Version: 0.8.14
Release: 3mamba
Summary: Libraries for Interface Definition Language files
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org/
# bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname}
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
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.
%package devel
Summary: Devel package for libIDL
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.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%configure \
--with-openssl \
--enable-gtk-doc
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel
%install_info %{name}2.info
exit 0
%preun devel
%uninstall_info %{name}2.info
exit 0
%files
%defattr(-,root,root)
%{_libdir}/libIDL-2.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/libIDL-config-2
%dir %{_includedir}/libIDL-?.?
%{_includedir}/libIDL-?.?/*
%{_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 <silvan.calarco@mambasoft.it> 0.8.14-3mamba
- added debug package and build fix for aarch64
* Tue Jun 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.14-2mamba
- rebuilt to add pkgconfig provides
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 0.8.14-1mamba
- automatic update to 0.8.14 by autodist
* Wed Jul 15 2009 Automatic Build System <autodist@mambasoft.it> 0.8.13-1mamba
- automatic update by autodist
* Wed Sep 17 2008 gil <puntogil@libero.it> 0.8.10-1mamba
- update to 0.8.10
* Mon Sep 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8-1mamba
- update to 0.8.8
* Thu Jan 04 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.8.7-1qilnx
- update to version 0.8.7 by autospec
* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.8.6-2qilnx
- install/uninstall info pages fix
* Mon Aug 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.8.6-1qilnx
- update to version 0.8.6 by autospec
- install/uninstall info pages
* Mon Aug 04 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.8.2-2qilnx
- fixed wrong requirement (libglib-devel)
* Thu Jul 24 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.8.2-1qilnx
- first build for libIDL