Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:honzahorak:unixodbc23
unixodbc23
unixODBC23.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unixODBC23.spec of Package unixodbc23
%{!?scl:%global scl unixODBC23} %scl_package %scl Summary: Package that installs %scl Name: %scl_name Version: 1 Release: 3%{?dist} License: GPLv2+ Group: System Environment/Libraries Requires: scl-utils Requires: %{scl_prefix}unixODBC BuildRequires: scl-utils-build BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This is the main package for %scl Software Collection. %package runtime Summary: Package that enables %scl Software Collection Group: System Environment/Libraries Requires: scl-utils Requires: %{name} = %{version}-%{release} %description runtime Package shipping essential scripts to work with %scl Software Collection. %package build Summary: Package shipping basic build configuration Group: System Environment/Libraries %description build Package shipping essential configuration macros to build %scl Software Collection. %prep %setup -c -T %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_scl_scripts}/root # During the build of this package, we don't know which architecture it is # going to be used on, so if we build on 64-bit system and use it on 32-bit, # the %{_libdir} would stay expanded to '.../lib64'. This way we determine # architecture everytime the 'scl enable ...' is run and set the # LD_LIBRARY_PATH accordingly cat >> %{buildroot}%{_scl_scripts}/enable << \EOF export PATH=%{_bindir}${PATH:+:\${PATH}} export CPATH=%{_includedir}${CPATH:+:\${CPATH}} export LIBRARY_PATH=%{_libdir}\${LIBRARY_PATH:+:\${LIBRARY_PATH}} export LD_LIBRARY_PATH=%{_libdir}\${LD_LIBRARY_PATH:+:\${LD_LIBRARY_PATH}} export MANPATH=%{_mandir}\${MANPATH:+:\${MANPATH}} EOF %scl_install %files %files runtime %scl_files %files build %{_root_sysconfdir}/rpm/macros.%{scl}-config %changelog * Mon Apr 8 2013 Honza Horak <hhorak@redhat.com> 1-3 - Build separately on all arches - Fix Environment variables definition * Wed Feb 20 2013 Honza Horak <hhorak@redhat.com> 1-2 - Use %%setup macro to create safer build environment * Mon Nov 05 2012 Honza Horak <hhorak@redhat.com> - 1-1 - Initial package
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