Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:benderamp
mico
mico.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mico.spec of Package mico
Name: mico License: All libraries are covered by the GNU Library General Public License (LGPL), code generated by the IDL compiler is not copyrighted, everything else is covered by the GNU General Public License (GPL). Group: System/Libraries BuildRequires: gcc-c++ Requires: gcc-c++ Summary: Fully standards-compliant implementation of the CORBA standard Version: 2.3.12 Release: 1 URL: http://mico.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 %description MICO is a mature, secure, robust, fully standards-compliant implementation of the CORBA standard. It is widely used for robust application integration. MICO is reknown for its market-leading security features, its great user-friendliness, and its full standard-compliance. %prep # extract the source and go into the mico-2.3.12 directory %setup -q %build # run configure script %ifarch i386 i586 # '% configure' macros does not work correctly for current mico configure scrtipt on i586 architecture - # it fails with error: # ERROR: You are trying to configure MICO for cross-compiling # ERROR: to the target which is not supported. # # This seem to be an error of '% configure' macros - if change 'i686' (as it was originally set by # '% configure' in --host= and --build= params) to 'i586' (as below), all works ./configure --host=%{_arch} --build=%{_arch} --target=%{_arch} \ --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin \ --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include \ --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var \ --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info \ --enable-ccm %else # for x86_64 this is ok %configure \ --enable-ccm %endif # do compile make %install # the current mico configure script does not support DESTDIR Makefile variable, so 2 # INSTDIR and SHARED_INSTDIR should be overriden make INSTDIR=$RPM_BUILD_ROOT%{_prefix} SHARED_INSTDIR=$RPM_BUILD_ROOT%{_prefix} install # the current mico configure script does not properly support all --**dir parameters, and though # for example, on 64 bit system the "--libdir=/usr/lib64" is specified, it will still install the program # libraries to /usr/lib. The below lines should fix that (they would not be needed, if configure script did that properly): %if "%{_prefix}/bin" != "%{_bindir}" mv $RPM_BUILD_ROOT%{_prefix}/bin $RPM_BUILD_ROOT%{_bindir} %endif %if "%{_prefix}/lib" != "%{_libdir}" mv $RPM_BUILD_ROOT%{_prefix}/lib $RPM_BUILD_ROOT%{_libdir} %endif %if "%{_prefix}/include" != "%{_includedir}" mv $RPM_BUILD_ROOT%{_prefix}/include $RPM_BUILD_ROOT%{_includedir} %endif if ! test -e $RPM_BUILD_ROOT%{_datadir}; then mkdir $RPM_BUILD_ROOT%{_datadir} fi %if "%{_prefix}/doc" != "%{_datadir}/doc" mv $RPM_BUILD_ROOT%{_prefix}/doc $RPM_BUILD_ROOT%{_datadir}/doc %endif %if "%{_prefix}/man" != "%{_mandir}" mv $RPM_BUILD_ROOT%{_prefix}/man $RPM_BUILD_ROOT%{_mandir} %endif %clean # clean up the hard disc after build rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/* %{_includedir}/* %doc %{_datadir}/doc/* %doc %{_mandir}/*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor