119 lines
3.3 KiB
RPMSpec
119 lines
3.3 KiB
RPMSpec
|
%define gnomever 2.30.0
|
||
|
%define libver 2
|
||
|
|
||
|
%define gnomemajver %(echo %gnomever | cut -d. -f 1-2)
|
||
|
%define gnomegroup platform
|
||
|
%define pkgname libIDL
|
||
|
|
||
|
Name: libIDL
|
||
|
Version: 0.8.14
|
||
|
Release: 2mamba
|
||
|
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/%{gnomegroup}/%{gnomemajver}/%{gnomever}/sources/%{pkgname}-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: libopenssl-devel
|
||
|
BuildRequires: flex, bison
|
||
|
PreReq: %{__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 need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%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-%{libver}.so.*
|
||
|
%doc AUTHORS BUGS ChangeLog COPYING HACKING MAINTAINERS NEWS README
|
||
|
|
||
|
%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}/pkgconfig/libIDL-?.?.pc
|
||
|
%{_infodir}/*
|
||
|
|
||
|
%changelog
|
||
|
* 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
|