commit 1e5f180a5aac03da08ba5aedb98e2d8b75b933121d500d7de774f0816a5e14cd Author: Marguerite Su Date: Thu Jul 9 14:40:18 2015 +0000 Accepting request 315694 from home:MargueriteSu:branches:M17N OBS-URL: https://build.opensuse.org/request/show/315694 OBS-URL: https://build.opensuse.org/package/show/M17N/emacs-flim?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/emacs-flim.changes b/emacs-flim.changes new file mode 100644 index 0000000..8cbab53 --- /dev/null +++ b/emacs-flim.changes @@ -0,0 +1,100 @@ +------------------------------------------------------------------- +Thu Jul 9 14:11:24 UTC 2015 - i@marguerite.su + +- rename to emacs-flim +- clean specfile + +------------------------------------------------------------------- +Fri Oct 5 09:31:56 UTC 2012 - schwab@linux-m68k.org + +- Remove more files already part of Emacs +- Specfile cleanup + +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Apply packaging guidelines (remove redundant/obsolete + tags/sections from specfile, etc.) + +------------------------------------------------------------------- +Wed Aug 19 17:08:59 CEST 2009 - tiwai@suse.de + +- updated to version 1.14.9 + required for new WL and emacs23 +- fixed file encoding at saving files + +------------------------------------------------------------------- +Mon Jul 9 14:17:37 CEST 2007 - schwab@suse.de + +- Remove sha1.el and hex-util.el, already in Emacs. + +------------------------------------------------------------------- +Wed Jan 25 21:46:20 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Sep 28 23:57:13 CEST 2005 - dmueller@suse.de + +- add norootforbuild + +------------------------------------------------------------------- +Thu Oct 21 11:16:58 CEST 2004 - ke@suse.de + +- Update to version 1.14.7; remove obsolete security patch [#47473]. + +------------------------------------------------------------------- +Mon May 24 17:35:15 CEST 2004 - ke@suse.de + +- Apply security patch provided by Matt Zimmerman to fix insecure + temporary file [DSA-500-1 / CAN-2004-0422]. + +------------------------------------------------------------------- +Mon May 24 16:29:22 CEST 2004 - ke@suse.de + +- Update to version 1.14.6. + +------------------------------------------------------------------- +Mon Jun 23 15:44:48 CEST 2003 - schwab@suse.de + +- Package is noarch. +- Remove smtpmail.el, already included in Emacs. + +------------------------------------------------------------------- +Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de + +- removed bogus self-provides + +------------------------------------------------------------------- +Tue Mar 20 15:30:14 CET 2001 - kukuk@suse.de + +- Fix requires (emacs-nox -> emacs_program) + +------------------------------------------------------------------- +Mon Mar 19 10:20:44 CET 2001 - ke@suse.de + +- Update to version 1.14.2 [#6736]. +- Remove LC_CTYPE=ISO-8859-1 and EMACS_UNIBYTE=1. +- Use RPM macros. + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Thu Sep 9 12:15:28 CEST 1999 - bs@suse.de + +- fixed call of Check at the end of %install section + +------------------------------------------------------------------- +Thu Apr 15 12:32:26 CEST 1999 - werner@suse.de + +- Add export LC_CTYPE=ISO-8859-1 and export EMACS_UNIBYTE=1 + to build *and* install section + +------------------------------------------------------------------- +Sun Sep 6 16:55:57 MEST 1998 - ke@suse.de + +- initial package: version 1.9.1. + diff --git a/emacs-flim.spec b/emacs-flim.spec new file mode 100644 index 0000000..ea21444 --- /dev/null +++ b/emacs-flim.spec @@ -0,0 +1,75 @@ +# +# spec file for package emacs-flim +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: emacs-flim +Version: 1.14.9 +Release: 0 +Summary: An Emacs Library for MIME +License: GPL-2.0+ +Group: Productivity/Editors/Emacs +Url: http://git.chise.org/elisp/flim +Source: http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/comp/emacsen/lisp/flim/flim-1.14/flim-%{version}.tar.bz2 +Patch: flim-encoding-fix.diff +BuildRequires: emacs-apel >= 10.7 +BuildRequires: emacs-nox +Requires: emacs +Requires: emacs-apel +Requires: emacs_program +Provides: flim = %{version}-%{release} +Obsoletes: flim < %{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +For coding and decoding MIME messages. + +%prep +%setup -q -n flim-%{version} +%patch +iconv -fiso2022jp -tutf-8 README.ja > README.ja.new +mv README.ja.new README.ja + +%build +make %{?_smp_mflags} EMACS=emacs \ + PREFIX=%{_prefix} \ + VERSION_SPECIFIC_LISPDIR=%{_datadir}/emacs/site-lisp/emu + +%install +make install EMACS=emacs \ + PREFIX=%{buildroot}%{_prefix} \ + VERSION_SPECIFIC_LISPDIR=%{_datadir}/emacs/site-lisp/emu +# make install.man +# Already part of Emacs +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/smtpmail.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/sha1.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/hex-util.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/md4.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/hmac-def.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/hmac-md5.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/sasl.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/sasl-cram.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/sasl-digest.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/sasl-ntlm.el* +rm -f %{buildroot}%{_datadir}/emacs/site-lisp/flim/ntlm.el* + +%files +%defattr(-,root,root) +%doc README.en README.ja ChangeLog NEWS +%{_datadir}/emacs/site-lisp/flim + +%changelog diff --git a/flim-1.14.9.tar.bz2 b/flim-1.14.9.tar.bz2 new file mode 100644 index 0000000..2e26cff --- /dev/null +++ b/flim-1.14.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:631d1949642eeaafb1b4e9c2c2b5ada7f3749b1249f27ef29a265f9ed9d3622a +size 136696 diff --git a/flim-encoding-fix.diff b/flim-encoding-fix.diff new file mode 100644 index 0000000..50e31fc --- /dev/null +++ b/flim-encoding-fix.diff @@ -0,0 +1,18 @@ +--- mel-q-ccl.el~ 2006-06-12 15:10:02 +0000 ++++ mel-q-ccl.el 2008-04-03 06:33:51 +0000 +@@ -893,7 +893,13 @@ + (defun quoted-printable-ccl-encode-region (start end) + "Encode the region from START to END with quoted-printable encoding." + (interactive "*r") +- (decode-coding-region start end 'mel-ccl-quoted-printable-lf-lf-rev)) ++ (save-excursion ++ (goto-char start) ++ (insert (prog1 ++ (decode-coding-string ++ (string-as-unibyte (buffer-substring start end)) ++ 'mel-ccl-quoted-printable-lf-lf-rev) ++ (delete-region start end))))) + + (defun quoted-printable-ccl-insert-encoded-file (filename) + "Encode contents of the file named as FILENAME, and insert it." +