/[packages]/updates/1/sqlite3/current/SPECS/sqlite3.spec
ViewVC logotype

Diff of /updates/1/sqlite3/current/SPECS/sqlite3.spec

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

revision 185204 by schedbot, Wed Jun 1 19:01:05 2011 UTC revision 185205 by dmorgan, Wed Dec 21 00:37:26 2011 UTC
# Line 3  Line 3 
3  %bcond_with check  %bcond_with check
4    
5  %define realname sqlite  %define realname sqlite
6  %define realver 3070602  %define realver 3070900
7  %define docver 3070600  %define docver  3070900
8  %define rpmver %(echo %{realver}|sed -e "s/00//g" -e "s/0/./g")  %define rpmver %(echo %{realver}|sed -e "s/00//g" -e "s/0/./g")
9    
10  %define major 0  %define major 0
# Line 12  Line 12 
12  %define develname       %mklibname %{name} -d  %define develname       %mklibname %{name} -d
13  %define staticdevelname %mklibname %{name} -d -s  %define staticdevelname %mklibname %{name} -d -s
14    
15    %define subrel 1
16    
17  Summary:        C library that implements an embeddable SQL database engine  Summary:        C library that implements an embeddable SQL database engine
18  Name:           sqlite3  Name:           sqlite3
19  Version:        %rpmver  Version:        %rpmver
20  Release:        %mkrel 3  Release:        %mkrel 1
21  License:        Public Domain  License:        Public Domain
22  Group:          System/Libraries  Group:          System/Libraries
23  URL:            http://www.sqlite.org/  URL:            http://www.sqlite.org/
# Line 38  BuildRequires: readline-devel Line 40  BuildRequires: readline-devel
40  %if %{with tcl}  %if %{with tcl}
41  BuildRequires: tcl  BuildRequires: tcl
42  BuildRequires: tcl-devel  BuildRequires: tcl-devel
43  %{!?tcl_version: %global tcl_version 8.6}  %{!?tcl_version: %global tcl_version 8.5.10}
44  %{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}  %{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
45  %endif  %endif
46    
# Line 119  This package contains command line tools Line 121  This package contains command line tools
121    
122  %package -n lemon  %package -n lemon
123  Summary: A parser generator  Summary: A parser generator
124  Group: Development/Tools  Group: Databases
125    
126  %description -n lemon  %description -n lemon
127  Lemon is an LALR(1) parser generator for C or C++. It does the same  Lemon is an LALR(1) parser generator for C or C++. It does the same
# Line 135  embedded controllers. Line 137  embedded controllers.
137  %if %{with tcl}  %if %{with tcl}
138  %package tcl  %package tcl
139  Summary: Tcl module for the sqlite3 embeddable SQL database engine  Summary: Tcl module for the sqlite3 embeddable SQL database engine
140  Group: Development/Languages  Group: Development/Other
141  Requires: %{name}-tools = %{version}-%{release}  Requires: %{name}-tools = %{version}-%{release}
142  Requires: tcl = %{tcl_version}  Requires: tcl >= 1:%{tcl_version}
143    Obsoletes: tcl-sqlite3 < %{version}
144    Provides: tcl-sqlite3 = %{version}-%{release}
145    
146  %description tcl  %description tcl
147  This package contains the tcl modules for %{name}.  This package contains the tcl modules for %{name}.
# Line 145  This package contains the tcl modules fo Line 149  This package contains the tcl modules fo
149    
150  %prep  %prep
151  %setup -q -a1 -n %{realname}-src-%{realver}  %setup -q -a1 -n %{realname}-src-%{realver}
152  %patch1 -p1 -b .libdl  #%patch1 -p1 -b .libdl
153  %patch2 -p1 -b .lemon-system-template  %patch2 -p1 -b .lemon-system-template
154  %patch3 -p1 -b .wal2-nodirsync  %patch3 -p1 -b .wal2-nodirsync
155  %patch4 -p1 -b .stupid-openfiles-test  #%patch4 -p1 -b .stupid-openfiles-test
156    
157  # Remove cgi-script erroneously included in sqlite-doc-3070500  # Remove cgi-script erroneously included in sqlite-doc-3070500
158  rm -f %{name}-doc-%{realver}/search  rm -f %{name}-doc-%{realver}/search
# Line 192  chrpath -d %{buildroot}%{_bindir}/* Line 196  chrpath -d %{buildroot}%{_bindir}/*
196    
197  %if %{with check}  %if %{with check}
198  %check  %check
 %ifarch s390 s390x ppc ppc64 %{sparc}  
 make test || :  
 %else  
199  make test  make test
200  %endif  %endif
 %endif  
201    
202  %clean  %clean
203  rm -rf %{buildroot}  rm -rf %{buildroot}

Legend:
Removed from v.185204  
changed lines
  Added in v.185205

  ViewVC Help
Powered by ViewVC 1.1.30