summaryrefslogtreecommitdiff
path: root/scite-fedora/scite.spec
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-04-05 15:49:43 -0400
committerB. Stack <bgstack15@gmail.com>2022-04-05 15:49:43 -0400
commit3e77defcfdf085b03b0c8cc6d7742e48c5b46b44 (patch)
treebae6320a49959edb30de8451acab95704d83fede /scite-fedora/scite.spec
parentscite: add devuan dpkg (diff)
downloadstackrpms-3e77defcfdf085b03b0c8cc6d7742e48c5b46b44.tar.gz
stackrpms-3e77defcfdf085b03b0c8cc6d7742e48c5b46b44.tar.bz2
stackrpms-3e77defcfdf085b03b0c8cc6d7742e48c5b46b44.zip
use full global.properties in rpm
Diffstat (limited to 'scite-fedora/scite.spec')
-rw-r--r--scite-fedora/scite.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/scite-fedora/scite.spec b/scite-fedora/scite.spec
index fe90350..d51ddd2 100644
--- a/scite-fedora/scite.spec
+++ b/scite-fedora/scite.spec
@@ -50,8 +50,8 @@ Source0: https://www.scintilla.org/scite%{tarballversion}.tgz
%if 0%{with_emitunicode}
Source1: emitUnicode.lua
%endif
+Source2: SciTEGlobal.properties
Patch0: scite-utf8.patch
-Patch1: add-emitUnicode.patch
%if 0%{with_lua} && !0%{with_bundled_lua}
Patch2: use-lua5.4.4.patch
%endif
@@ -89,7 +89,6 @@ rm -rf scite/lua
%patch2 -p1
%endif
%endif
-%patch1 -p1
%build
%if "%{?scl_env}" != ""
@@ -110,7 +109,7 @@ EOFSCL
%endif
%install
-make DESTDIR=%{buildroot} -C scite/gtk install libdir=%{_libdir}
+make DESTDIR=%{buildroot} %{gtkflag} -C scite/gtk install libdir=%{_libdir}
ln -s SciTE %{buildroot}%{_bindir}/scite
# include man-page
@@ -125,6 +124,7 @@ desktop-file-install --delete-original \
%if 0%{with_emitunicode}
install -D -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/scite/emitUnicode.lua
%endif
+install -D -p -m 666 %{SOURCE2} %{buildroot}%{_datadir}/scite/SciTEGlobal.properties
%if 0%{?fedora}
%posttrans
/usr/bin/update-desktop-database &> /dev/null || :
@@ -150,6 +150,7 @@ install -D -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/scite/emitUnicode.lua
* Mon Apr 04 2022 B. Stack <bgstack15@gmail.com> - 5.2.2-1/3.7.6-1
- Update version
- Add tunables: gtk, lua, bundled lua, add emitunicode
+- Add customized SciTEGlobal.properties
* Thu Mar 24 2022 B. Stack <bgstack15@gmail.com> - 5.2.1-1/3.7.6-1
- Update version
bgstack15