Compare commits
10 Commits
cef023a6fd
...
bfa3bc0cdd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfa3bc0cdd | ||
|
|
7c9072e8bc | ||
|
|
179b5f202d | ||
|
|
d5f1460237 | ||
|
|
0a57954eeb | ||
|
|
e228f912ca | ||
|
|
9863bec01c | ||
|
|
1737ae6cb6 | ||
|
|
522031b52f | ||
|
|
8a0399ac51 |
BIN
engrampa-1.26.2.tar.xz
Normal file
BIN
engrampa-1.26.2.tar.xz
Normal file
Binary file not shown.
21
engrampa-c99.patch
Normal file
21
engrampa-c99.patch
Normal file
@ -0,0 +1,21 @@
|
||||
Include <strings.h> for strcasecmp. The _XOPEN_SOURCE macro
|
||||
definition overrides _DEFAULT_SOURCE and disables the declaration
|
||||
in <string.h>.
|
||||
|
||||
This avoids an implicit function declaration and build failures with
|
||||
future compilers.
|
||||
|
||||
Submitted upstream: <https://github.com/mate-desktop/engrampa/pull/477>
|
||||
|
||||
diff --git a/src/file-utils.c b/src/file-utils.c
|
||||
index a967cb4aad47971d..03024f32d6739bbb 100644
|
||||
--- a/src/file-utils.c
|
||||
+++ b/src/file-utils.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
121
engrampa.spec
Normal file
121
engrampa.spec
Normal file
@ -0,0 +1,121 @@
|
||||
# Conditional for release and snapshot builds. Uncomment for release-builds.
|
||||
%global rel_build 1
|
||||
|
||||
# This is needed, because src-url contains branched part of versioning-scheme.
|
||||
%global branch 1.26
|
||||
|
||||
# Settings used for build from snapshots.
|
||||
%{!?rel_build:%global commit f4611c3411c44e792f729a0780c31b0aa55fe004}
|
||||
%{!?rel_build:%global commit_date 20131215}
|
||||
%{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})}
|
||||
%{!?rel_build:%global git_ver git%{commit_date}-%{shortcommit}}
|
||||
%{!?rel_build:%global git_rel .git%{commit_date}.%{shortcommit}}
|
||||
%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz}
|
||||
|
||||
Name: engrampa
|
||||
Version: 1.26.2
|
||||
Release: 1
|
||||
Summary: MATE Desktop file archiver
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: http://mate-desktop.org
|
||||
|
||||
# for downloading the tarball use 'spectool -g -R engrampa.spec'
|
||||
# Source for release-builds.
|
||||
%{?rel_build:Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
|
||||
# Source for snapshot-builds.
|
||||
%{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
|
||||
|
||||
BuildRequires: mate-common
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: file-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: json-glib-devel
|
||||
BuildRequires: caja-devel
|
||||
BuildRequires: libSM-devel
|
||||
|
||||
Patch1: engrampa-c99.patch
|
||||
|
||||
%description
|
||||
Mate File Archiver is an application for creating and viewing archives files,
|
||||
such as zip, xv, bzip2, cab, rar and other compress formats.
|
||||
|
||||
%package -n engrampa-caja
|
||||
Summary: engrampa-caja
|
||||
Requires: engrampa
|
||||
|
||||
%description -n engrampa-caja
|
||||
engrampa for caja
|
||||
|
||||
%prep
|
||||
%if 0%{?rel_build}
|
||||
%autosetup -p1
|
||||
%else
|
||||
%autosetup -n %{name}-%{commit} -p1
|
||||
%endif
|
||||
|
||||
%if 0%{?rel_build}
|
||||
#NOCONFIGURE=1 ./autogen.sh
|
||||
%else # 0%{?rel_build}
|
||||
# needed for git snapshots
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%endif # 0%{?rel_build}
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-schemas-compile \
|
||||
--disable-static \
|
||||
--enable-caja-actions \
|
||||
--enable-magic \
|
||||
--disable-packagekit
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/engrampa
|
||||
%{make_install}
|
||||
|
||||
desktop-file-install \
|
||||
--delete-original \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}%{_datadir}/applications/engrampa.desktop
|
||||
|
||||
find %{buildroot} -name "*.la" -exec rm -f {} ';'
|
||||
|
||||
%find_lang %{name} --with-gnome --all-name
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc README COPYING NEWS AUTHORS
|
||||
%{_mandir}/man1/*
|
||||
%{_bindir}/engrampa
|
||||
%{_libexecdir}/engrampa
|
||||
%{_libexecdir}/engrampa-server
|
||||
%{_datadir}/engrampa
|
||||
%{_datadir}/metainfo/engrampa.appdata.xml
|
||||
%{_datadir}/applications/engrampa.desktop
|
||||
%{_datadir}/dbus-1/services/org.mate.Engrampa.service
|
||||
%{_datadir}/icons/hicolor/*/actions/*.png
|
||||
%{_datadir}/icons/hicolor/*/apps/*.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
||||
%{_datadir}/glib-2.0/schemas/org.mate.engrampa.gschema.xml
|
||||
|
||||
%files -n engrampa-caja
|
||||
%{_libdir}/caja/extensions-2.0/libcaja-engrampa.so
|
||||
%{_datadir}/caja/extensions/libcaja-engrampa.caja-extension
|
||||
|
||||
%changelog
|
||||
* Tue Feb 27 2024 shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn> - 1.26.2-1
|
||||
- update version to 1.26.2
|
||||
|
||||
* Tue Feb 20 2024 peijiankang <peijiankang@kylinos.cn> - 1.24.1-4
|
||||
- Separate the content related to caja from the engrampa
|
||||
|
||||
* Mon Feb 19 2024 yuanxing <yuanxing@kylinsec.com.cn> - 1.24.1-3
|
||||
- KYOS-F: enable caja-actions with configure.(#30161)
|
||||
|
||||
* Thu Jul 20 2023 longcheng <longcheng@kylinos.com.cn> - 1.24.1-2
|
||||
- fix(engrampa):Fix decompress files with garbled characters under GB18030 encoding
|
||||
|
||||
* Wed Sep 02 2020 douyan <douyan@kylinos.cn> - 1.24.1-1
|
||||
- package init
|
||||
4
engrampa.yaml
Normal file
4
engrampa.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://github.com/mate-desktop/engrampa.git
|
||||
tag_prefix: "v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user