/[smeserver]/rpms/cvm/sme10/cvm.spec
ViewVC logotype

Diff of /rpms/cvm/sme10/cvm.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Wed Mar 3 21:25:50 2021 UTC Revision 1.3 by jpp, Sun Mar 6 06:52:52 2022 UTC
# Line 1  Line 1 
1  # $Id: cvm.spec,v 1.1 2016/02/04 12:20:35 vip-ire Exp $  # $Id: cvm.spec,v 1.2 2021/03/03 21:25:50 jpp Exp $
2    
3  Name: cvm  Name: cvm
4  Summary: Credential Validation Modules  Summary: Credential Validation Modules
# Line 10  Source: http://untroubled.org/cvm/cvm-0. Line 10  Source: http://untroubled.org/cvm/cvm-0.
10  BuildRoot: %{_tmppath}/cvm-buildroot  BuildRoot: %{_tmppath}/cvm-buildroot
11  URL: http://untroubled.org/cvm/  URL: http://untroubled.org/cvm/
12  BuildRequires: libtool  BuildRequires: libtool
13  BuildRequires: bglibs >= 1.100  BuildRequires: bglibs >= 2.04
14    BuildRequires: bglibs-devel
15  BuildRequires: mysql-devel  BuildRequires: mysql-devel
16  BuildRequires: postgresql-devel  BuildRequires: postgresql-devel
17  Obsoletes: cvm-vmailmgr  Obsoletes: cvm-vmailmgr
# Line 46  Credential Validation Modules that authe Line 47  Credential Validation Modules that authe
47    
48  %build  %build
49  %ifarch x86_64  %ifarch x86_64
50  echo gcc "%{optflags}" -fPIC -I%{_includedir}/pgsql >conf-cc  echo gcc "%{optflags}" -fPIC -I%{_includedir}/pgsql -I/usr/local/bglibs/include >conf-cc
51  echo gcc -s -fPIC -L%{_libdir}/mysql >conf-ld  echo gcc -s -fPIC -L%{_libdir}/mysql -I/usr/local/bglibs/include -L/usr/local/bglibs/lib/ >conf-ld
52  %else  %else
53  echo gcc "%{optflags}" -I%{_includedir}/pgsql >conf-cc  echo gcc "%{optflags}" -I%{_includedir}/pgsql >conf-cc
54  echo gcc -s -L%{_libdir}/mysql >conf-ld  echo gcc -s -L%{_libdir}/mysql >conf-ld
55  %endif  %endif
56  echo %{_bindir} >conf-bin  echo %{_bindir} >conf-bin
57  echo %{_includedir} >conf-include  echo %{_includedir} >conf-include
58    #echo "/usr/local/bglibs/include/" >conf-include
59  echo %{_libdir} >conf-lib  echo %{_libdir} >conf-lib
60  make libraries programs mysql pgsql  make libraries programs mysql pgsql
61    
# Line 92  rm -rf %{buildroot} Line 94  rm -rf %{buildroot}
94  %files pgsql  %files pgsql
95  %defattr(-,root,root)  %defattr(-,root,root)
96  %{_bindir}/cvm-pgsql*  %{_bindir}/cvm-pgsql*
97    
98    %changelog
99    * Sun Mar 06 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.97-1.sme
100    - build cvm 0.97 for SME10 [SME: 11315]
101    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed