diff --git a/ORBit2-2.14.19-glib-2.40.patch b/ORBit2-2.14.19-glib-2.40.patch new file mode 100644 index 0000000..ebde018 --- /dev/null +++ b/ORBit2-2.14.19-glib-2.40.patch @@ -0,0 +1,34 @@ +--- a/configure.in ++++ b/configure.in +@@ -243,7 +243,7 @@ AC_SUBST(pkglibdir) + + if test "$enable_maintainer_mode" = "yes"; then + DISABLE_DEPRECATED_CFLAGS=" \ +- -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES" ++ -DG_DISABLE_SINGLE_INCLUDES" + AC_SUBST(DISABLE_DEPRECATED_CFLAGS) + fi + +--- a/linc2/src/Makefile.am ++++ b/linc2/src/Makefile.am +@@ -13,7 +13,7 @@ INCLUDES = \ + -I$(top_srcdir)/linc2/include \ + $(LINC_CFLAGS) \ + $(WARN_CFLAGS) \ +- -DG_DISABLE_DEPRECATED ++ $(DISABLE_DEPRECATED_CFLAGS) + + if OS_WIN32 + else +diff -Nru ORBit2-2.14.19.orig/linc2/src/Makefile.in ORBit2-2.14.19/linc2/src/Makefile.in +--- ORBit2-2.14.19.orig/linc2/src/Makefile.in 2010-09-28 11:39:39.000000000 +0200 ++++ ORBit2-2.14.19/linc2/src/Makefile.in 2014-04-11 18:17:54.466580979 +0200 +@@ -244,7 +244,7 @@ + # -I$(top_srcdir)/include + INCLUDES = -I$(top_builddir)/linc2/include \ + -I$(top_srcdir)/linc2/include $(LINC_CFLAGS) $(WARN_CFLAGS) \ +- -DG_DISABLE_DEPRECATED $(am__append_1) ++ $(am__append_1) + liblinc_la_SOURCES = \ + linc.c \ + linc-connection.c \ diff --git a/ORBit2.spec b/ORBit2.spec new file mode 100644 index 0000000..f07f2b6 --- /dev/null +++ b/ORBit2.spec @@ -0,0 +1,167 @@ +%define majver %(echo %version | cut -d. -f 1-2) +%define pkgname ORBit2 + +Name: ORBit2 +Version: 2.14.19 +Release: 2mamba +Summary: A high-performance CORBA Object Request Broker +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnome.org/projects/ORBit2 +# bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname} +Source: ftp://ftp.gnome.org/pub/GNOME/sources/ORBit2/%{majver}/%{pkgname}-%{version}.tar.bz2 +Patch0: ORBit2-2.14.19-glib-2.40.patch +License: GPL +BuildRequires: pkgconfig +BuildRequires: libpopt-devel +BuildRequires: libopenssl-devel +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: gtk-doc +BuildRequires: libglib-devel +BuildRequires: libIDL-devel +BuildRequires: libselinux-devel +## AUTOBUILDREQ-END +Obsoletes: ORBit +Provides: ORBit = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ORBit is a high-performance CORBA (Common Object Request Broker Architecture) ORB (object request broker). +It allows programs to send requests and receive replies from other programs, regardless of the locations of the two programs. CORBA is an architecture that enables communication between program objects, regardless of the programming language they're written in or the operating system they run on. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +ORBit is a high-performance CORBA (Common Object Request Broker Architecture) ORB (object request broker). +It allows programs to send requests and receive replies from other programs, regardless of the locations of the two programs. CORBA is an architecture that enables communication between program objects, regardless of the programming language they're written in or the operating system they run on. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Summary: Devel package for %{name} +Group: Development/Libraries +Obsoletes: ORBit-devel +Provides: ORBit-devel = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: ORBit2-devel +Obsoletes: ORBit2-devel + +%description -n lib%{name}-devel +ORBit is a high-performance CORBA (Common Object Request Broker Architecture) ORB (object request broker). +It allows programs to send requests and receive replies from other programs, regardless of the locations of the two programs. CORBA is an architecture that enables communication between program objects, regardless of the programming language they're written in or the operating system they run on. +This package contains static libraries and header files need for development. + +%package apidocs +Summary: %{pkgname} API documentation +Group: Documentation +Requires: gtk-doc + +%description apidocs +%{pkgname} API documentation. + +%prep +%setup -q -n %{pkgname}-%{version} +%patch0 -p1 + +%build +autoconf +%configure --enable-gtk-doc +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/ior-decode-2 +%{_bindir}/orbit-idl-2 +%{_bindir}/typelib-dump +%{_bindir}/linc-cleanup-sockets +%dir %{_datadir}/idl/orbit-2.0 +%{_datadir}/idl/orbit-2.0/* + +%files -n lib%{name} +%defattr(-,root,root) +%dir %{_libdir}/orbit-2.0 +%{_libdir}/orbit-2.0/* +%{_libdir}/libORBit-2.so.* +%{_libdir}/libORBit-imodule-2.so.* +%{_libdir}/libORBitCosNaming-2.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_bindir}/orbit2-config +%dir %{_includedir}/orbit-2.0 +%{_includedir}/orbit-2.0/* +%{_libdir}/pkgconfig/* +%{_libdir}/*.la +%{_libdir}/*.a +%{_libdir}/*.so +%{_datadir}/aclocal/%{pkgname}.m4 + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/%{pkgname} +%{_datadir}/gtk-doc/html/%{pkgname}/* + +%changelog +* Fri Apr 11 2014 Silvan Calarco 2.14.19-2mamba +- library files moved to libORBit2 and ORBit2-devel renamed to libORBit2-devel + +* Tue Sep 28 2010 Automatic Build System 2.14.19-1mamba +- automatic update to 2.14.19 by autodist + +* Tue Jun 29 2010 Silvan Calarco 2.14.18-2mamba +- rebuilt to add pkgconfig provides + +* Sat May 29 2010 Automatic Build System 2.14.18-1mamba +- automatic update to 2.14.18 by autodist + +* Wed Jul 01 2009 Automatic Build System 2.14.17-1mamba +- update to 2.14.17 + +* Sun Oct 19 2008 gil 2.14.16-1mamba +- update to 2.14.16 + +* Mon Sep 17 2007 Silvan Calarco 2.14.8-1mamba +- update to 2.14.8 + +* Fri Jan 05 2007 Davide Madrisan 2.14.3-2qilnx +- new subpackage apidocs with API documentation + +* Thu Jan 04 2007 Davide Madrisan 2.14.3-1qilnx +- update to version 2.14.3 by autospec +- gtk-doc documentation removed from devel package +- package renamed from ORBit to the real name (ORBit2) +- added build requirement for openssl + +* Mon Mar 06 2006 Stefano Cotta Ramusino 2.13.3-1qilnx +- update to version 2.13.3 by autospec +- specfile updated and fixed + +* Tue Aug 09 2005 Silvan Calarco 2.12.2-1qilnx +- update to version 2.12.2 by autospec + +* Sun Jun 28 2004 Silvan Calarco 2.10.3-1qilnx +- new version build + +* Tue Jun 22 2004 Silvan Calarco 2.10.2-1qilnx +- new version build + +* Tue Dec 30 2003 Silvan Calarco 2.8.3-1qilnx +- new version rebuild + +* Thu Jul 24 2003 Silvan Calarco 2.7.3-1qilnx +- first build for ORBit diff --git a/README.md b/README.md index adf50fb..c0dd492 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # ORBit2 +ORBit is a high-performance CORBA (Common Object Request Broker Architecture) ORB (object request broker). +It allows programs to send requests and receive replies from other programs, regardless of the locations of the two programs. CORBA is an architecture that enables communication between program objects, regardless of the programming language they're written in or the operating system they run on. +