/[smecontribs]/rpms/seafile-server/contribs9/seafile-server.spec
ViewVC logotype

Diff of /rpms/seafile-server/contribs9/seafile-server.spec

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

Revision 1.1 by jpp, Sun Apr 8 03:12:10 2018 UTC Revision 1.2 by jpp, Wed May 9 05:33:59 2018 UTC
# Line 36  Source0:       https://github.com/haiwen/seafi Line 36  Source0:       https://github.com/haiwen/seafi
36  #Source0:       https://github.com/haiwen/seafile-server/archive/v%{version}-server.tar.gz  #Source0:       https://github.com/haiwen/seafile-server/archive/v%{version}-server.tar.gz
37  Patch0:         seafile-5.1.1-evhtp.patch  Patch0:         seafile-5.1.1-evhtp.patch
38  Patch1:         seafile-5.1.3.libarchive.patch  Patch1:         seafile-5.1.3.libarchive.patch
39    Patch2:         seafile-server-6.2.5-typedef.patch
40  #seafile-server-6.1.1-server.libarchive.patch  #seafile-server-6.1.1-server.libarchive.patch
41  BuildRequires:  intltool  BuildRequires:  intltool
42  BuildRequires:  pkgconfig(glib-2.0)  BuildRequires:  pkgconfig(glib-2.0)
# Line 65  BuildRequires: vala Line 66  BuildRequires: vala
66  # server requirements  # server requirements
67  BuildRequires:  pkgconfig(zdb)  BuildRequires:  pkgconfig(zdb)
68  BuildRequires:  pkgconfig(evhtp)  BuildRequires:  pkgconfig(evhtp)
69  BuildRequires:  pkgconfig(libarchive)  # BuildRequires:        pkgconfig(libarchive)
70    BuildRequires:  libarchive-devel = 2.8.5
71  #add jpp epel  #add jpp epel
72    BuildRequires: mysql-devel
73    BuildREquires: postgresql-devel
74  BuildRequires: libedit  BuildRequires: libedit
75  BuildRequires: libtool  BuildRequires: libtool
76  BuildRequires:  fuse-devel fuse  BuildRequires:  fuse-devel fuse
# Line 164  This package contains the python 2 bindi Line 168  This package contains the python 2 bindi
168    
169  %prep  %prep
170  %setup -q  %setup -q
171  %patch0 -p1  # %patch0 -p1
172  # %patch1 -p1  # %patch1 -p1
173    %patch2 -p1
174    
175  sed -i -e /\(DESTDIR\)/d lib/libseafile.pc.in  sed -i -e /\(DESTDIR\)/d lib/libseafile.pc.in
176    
177  NOCONFIGURE=1 ./autogen.sh  # NOCONFIGURE=1 ./autogen.sh
178    
179  %build  %build
180  scl enable %{scl_python} "bash"  scl enable %{scl_python} "bash"
181  %{?scl:scl enable %{scl_python} - << \EOF}  %{?scl:scl enable %{scl_python} - << \EOF}
182  export PYTHON='/opt/rh/python27/root/usr/bin/python'  export PYTHON='/opt/rh/python27/root/usr/bin/python'
183  %configure \  ./autogen.sh
184          --disable-static \  ./configure --disable-static
185          --enable-server \  # %configure \
186          --enable-client  #       --disable-static \
187    
188  make  make
189  %{?scl:EOF}  %{?scl:EOF}
 #  --with-mysql unknown for 5.1.3  
190    
191  %install  %install
192  %scl_install  %scl_install


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