summaryrefslogtreecommitdiff
path: root/scite-fedora
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-07-23 13:57:47 -0400
committerB Stack <bgstack15@gmail.com>2020-07-23 13:57:47 -0400
commitc69119e6948eb7ef9541f3106e7d892c823ad982 (patch)
treebed9ad931d273e540506da2f036d6058a92c4a80 /scite-fedora
parentscite 4.4.3 (diff)
downloadstackrpms-c69119e6948eb7ef9541f3106e7d892c823ad982.tar.gz
stackrpms-c69119e6948eb7ef9541f3106e7d892c823ad982.tar.bz2
stackrpms-c69119e6948eb7ef9541f3106e7d892c823ad982.zip
scite 4.4.4 for fedora only
Diffstat (limited to 'scite-fedora')
-rw-r--r--scite-fedora/scite.spec24
1 files changed, 16 insertions, 8 deletions
diff --git a/scite-fedora/scite.spec b/scite-fedora/scite.spec
index 2ddf18f..9c62f6a 100644
--- a/scite-fedora/scite.spec
+++ b/scite-fedora/scite.spec
@@ -1,5 +1,5 @@
# el is on 3.x, fc is on 4.x
-%global pkgversion 4.4.3
+%global pkgversion 4.4.4
%define tarballversion %( echo %pkgversion | tr -d '.' )
%define scl_env %{nil}
@@ -48,24 +48,28 @@ rm -rf scite/lua
%if "%{?scl_env}" != ""
scl enable %{scl_env} /bin/bash <<'EOFSCL'
%endif
- make %{?_smp_mflags} LDFLAGS="%{?__global_ldflags}" \
- CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" DEBUG=1 -C scintilla/gtk
+ make %{?_smp_mflags} LDFLAGS="%{?__global_ldflags} -shared -dynamiclib" \
+ CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" DEBUG=1 -C scintilla/gtk \
+ libdir=%{_libdir}
#Build without lua support
make %{?_smp_mflags} LDFLAGS="%{?__global_ldflags}" \
- CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" DEBUG=1 NO_LUA=1 -C scite/gtk
+ CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" DEBUG=1 NO_LUA=1 -C scite/gtk \
+ libdir=%{_libdir}
%if "%{?scl_env}" != ""
EOFSCL
%endif
%else
- make %{?_smp_mflags} LDFLAGS="%{?__global_ldflags}" \
- CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" GTK3=1 DEBUG=1 -C scintilla/gtk
+ make %{?_smp_mflags} LDFLAGS="%{?__global_ldflags} -shared -dynamiclib" \
+ CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" GTK3=1 DEBUG=1 -C scintilla/gtk \
+ libdir=%{_libdir}
#Build without lua support
make %{?_smp_mflags} LDFLAGS="%{?__global_ldflags}" \
- CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" GTK3=1 DEBUG=1 NO_LUA=1 -C scite/gtk
+ CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" GTK3=1 DEBUG=1 NO_LUA=1 -C scite/gtk \
+ libdir=%{_libdir}
%endif
%install
-make DESTDIR=%{buildroot} -C scite/gtk install
+make DESTDIR=%{buildroot} -C scite/gtk install libdir=%{_libdir}
ln -s SciTE %{buildroot}%{_bindir}/scite
# include man-page
@@ -96,8 +100,12 @@ desktop-file-install --delete-original \
%{_datadir}/scite/
%{_datadir}/pixmaps/*
%{_datadir}/applications/*
+%{_libdir}/*
%changelog
+* Thu Jul 23 2020 B Stack <bgstack15@gmail.com> - 4.4.4-1/3.7.6-1
+- Update version
+
* Wed Jun 03 2020 B Stack <bgstack15@gmail.com> - 4.4.3-1/3.7.6-1
- Update version
bgstack15