From b046d2d800b3a5fcc8f5e33273365ab02a4bce0c Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Mon, 31 Jan 2022 17:41:09 -0800 Subject: [PATCH] epel8-playground decommissioned : https://pagure.io/epel/issue/136 --- .gitignore | 1 - dead.package | 1 + sources | 1 - tnef-extract.desktop | 10 -- tnef.sh | 28 ----- tnef.spec | 264 ------------------------------------------- tnefextract.desktop | 13 --- vnd.ms-tnef.desktop | 9 -- 8 files changed, 1 insertion(+), 326 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 tnef-extract.desktop delete mode 100644 tnef.sh delete mode 100644 tnef.spec delete mode 100644 tnefextract.desktop delete mode 100644 vnd.ms-tnef.desktop diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ddbe71b..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/tnef-1.4.18.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..a72aec0 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +epel8-playground decommissioned : https://pagure.io/epel/issue/136 diff --git a/sources b/sources deleted file mode 100644 index fa6f80c..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (tnef-1.4.18.tar.gz) = bc53daaca9c260a804681c040d01f80bbd8b0d3597678c774975e988cdf83dad6b0d6c66b22e0d40ed2300efddef0bc663236ead4dfe687eb33af7f27dbb6000 diff --git a/tnef-extract.desktop b/tnef-extract.desktop deleted file mode 100644 index 7973de9..0000000 --- a/tnef-extract.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Extract TNEF archive -Comment=Extract files from TNEF archive -Exec=tnef.sh %f -Icon=archive-extract -Terminal=true -MimeType=application/vnd.ms-tnef; -NoDisplay=true -#refresh F5 nautilus to see changes to this file diff --git a/tnef.sh b/tnef.sh deleted file mode 100644 index 378eaf4..0000000 --- a/tnef.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash -# /usr/bin/tnef.sh -# -# nautilus helper to extract a tnef file's contents into a subfolder of the -# tnef file's location. -# todo: -# error checking (disk space, unwritable etc). -# how could the calling nautilus window be told to refresh it's contents so the -# extracted folder becomes visible straight away. (for paths with spaces). -filefullpath="$1" -file=`basename "$filefullpath"` -filepath="`dirname "$filefullpath"`/"$file".extract" -#echo $filefullpath -#echo $file -#echo $filepath -if ! [ -d "$filepath" ]; then - echo " creating folder $filepath..." - mkdir "$filepath" - echo " extracting $file tnef contents..." - tnef --verbose --save-body -C "$filepath" "$filefullpath" - echo " complete." - sleep 4 -else - echo " default extract folder $filepath" - echo " already exists, extraction aborted." - sleep 6 -fi - diff --git a/tnef.spec b/tnef.spec deleted file mode 100644 index b72b06e..0000000 --- a/tnef.spec +++ /dev/null @@ -1,264 +0,0 @@ -%if (0%{?el5} || 0%{?el6}) -%global builddolphin 0 -%else -%global builddolphin 1 -%endif - -#global commit #githash for non releases. -#global shortcommit #(c=#{commit}; echo ${c:0:7}) - -Name: tnef -Version: 1.4.18 -Release: 1%{?dist} -Summary: Extract files from email attachments like WINMAIL.DAT - -License: GPLv2+ -# what about: src/ConvertUTF.* ? -# * Unicode, Inc. hereby grants the right to freely use the information -# ... Fedora-legal confirmed this to be the free Unicode license. -# The upstream project has moved to github; -URL: https://github.com/verdammelt/tnef -# For git hub release archives: -Source0: https://github.com/verdammelt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -# For git hub tags: -#S#ource0: https://github.com/verdammelt/%#{name}/archive/%#{commit}/%#{name}-%#{commit}.tar.gz -Source1: vnd.ms-tnef.desktop -Source2: tnef-extract.desktop -Source3: tnefextract.desktop -Source4: tnef.sh - -BuildRequires: automake autoconf -BuildRequires: desktop-file-utils - - -%description -This application provides a way to unpack Microsoft MS-TNEF MIME attachments. -It operates like tar in order to unpack files of type "application/ms-tnef", -which may have been placed into the MS-TNEF attachment instead of being -attached separately. - -Such files may have attachment names similar to WINMAIL.DAT - - -%package nautilus -Summary: Provides TNEF extract extension for Gnome's Nautilus file manager - -Requires: tnef -Requires: nautilus - - -%description nautilus -Provides a right-click extract menu item for Nautilus to extract TNEF files. - - -%if 0%{builddolphin} -%package dolphin -Summary: Provides TNEF extract extension for KDE's Dolphin file manager - -BuildRequires: kf5-rpm-macros -Requires: tnef -Requires: kde-baseapps -Requires: kf5-filesystem - - -%description dolphin -Provides a right-click extract menu item for Dolphin to extract TNEF files. -%endif - - -%prep -# Normal release extraction -%setup -q -# git tag extraction -#%#setup -q -n %#{name}-%#{commit} - - -%build -autoreconf -%configure -make %{?_smp_mflags} -chmod a-x THANKS - - -%install -rm -rf %{buildroot} -make install DESTDIR=%{buildroot} - -mkdir -p %{buildroot}/%{_datadir}/mimelnk/application/ -desktop-file-install \ - --dir=%{buildroot}%{_datadir}/mimelnk/application \ -%if 0%{?el5} - --vendor="" \ -%endif - %{SOURCE1} - -mkdir -p %{buildroot}/%{_datadir}/applications/ -desktop-file-install \ - --dir=%{buildroot}%{_datadir}/applications \ -%if 0%{?el5} - --vendor="" \ -%endif - %{SOURCE2} - -%if 0%{builddolphin} -mkdir -p %{buildroot}%{_kf5_datadir}/kservices5 -cp %{SOURCE3} %{buildroot}%{_kf5_datadir}/kservices5 -%endif - -install -p -m 755 %{SOURCE4} \ - %{buildroot}%{_bindir}/ - - -%check -make check DESTDIR=%{buildroot} - - -%files -%doc AUTHORS ChangeLog COPYING NEWS README.md THANKS -%{_bindir}/%{name} -%{_bindir}/%{name}.sh -%{_mandir}/man1/%{name}.1* - - -%files nautilus -%{_datadir}/applications/tnef-extract.desktop -%{_datadir}/mimelnk/application/vnd.ms-tnef.desktop - - -%if 0%{builddolphin} -%files dolphin -%{_kf5_datadir}/kservices5/tnefextract.desktop -%endif - - -%changelog -* Tue Nov 26 2019 David Timms - 1.4.18-1 -- Update to release 1.4.18. Fixes CVE-2019-18849 - bug #1771891 -- Add global builddolphin to enable -dolphin subpackage when available. - -* Sat Jul 27 2019 Fedora Release Engineering - 1.4.17-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Feb 7 2019 David Timms - 1.4.17-1 -- Update to release 1.4.17. - -* Sun Feb 03 2019 Fedora Release Engineering - 1.4.15-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 1.4.15-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 1.4.15-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Oct 11 2017 Kevin Fenzi - 1.4.15-1 -- Update to 1.4.15. Fixes CVE-2017-8911 - bug #1451256 - -* Thu Aug 03 2017 Fedora Release Engineering - 1.4.14-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 1.4.14-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Thu Apr 27 2017 David Timms - 1.4.14-2 -- Update -dolphin to use the kf5 services directory. -- Remove rpm clean section since it's taken care of automatically. - -* Thu Apr 6 2017 David Timms - 1.4.14-1 -- Update to release 1.4.14. -- Includes security fixes for CVE-2017-6307, CVE-2017-6308, - CVE-2017-6309, CVE-2017-6310. - -* Sat Feb 11 2017 Fedora Release Engineering - 1.4.12-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 1.4.12-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 1.4.12-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Thu Apr 30 2015 David Timms - 1.4.12-3 -- replace incorrect source with 1.4.12 release to fix incorrect version. - -* Sat Feb 21 2015 David Timms - 1.4.12-2 -- exclude creating tnef-dolphin subpackage for EPEL-5 which did not ship dolphin. - -* Tue Sep 09 2014 David Timms - 1.4.12-1 -- update to 1.4.12 - -* Sun Aug 31 2014 David Timms - 1.4.11-1.20140826git0b35ad8 -- update to 1.4.11 / git tag of 2014-08-26. -- add autoreconf to build process now that upstream no longer creates source tarballs. -- drop upstreamed format-security patch. -- drop document file TODO and update path for README. - -* Mon Aug 18 2014 Fedora Release Engineering - 1.4.9-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jun 13 2014 Yaakov Selkowitz - 1.4.9-5 -- Fix FTBFS with -Werror=format-security (#1037361, #1107453) - -* Sun Jun 08 2014 Fedora Release Engineering - 1.4.9-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 1.4.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Feb 15 2013 Fedora Release Engineering - 1.4.9-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Sun Jul 22 2012 David Timms - 1.4.9-1 -- update to 1.4.9 -- mod kde/dolphin servicemenu to be plain copy rather than desktop-file-validate - -* Sat Jul 21 2012 Fedora Release Engineering - 1.4.8-6.2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 1.4.8-5.2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Sun Aug 14 2011 David Timms - 1.4.8-4.2 -- mod dolphin subpackage to require kdebase since dolphin not provided in el6 - -* Tue Jul 19 2011 David Timms - 1.4.8-4 -- add buildrequires on desktop-file-utils - -* Mon Jul 18 2011 David Timms - 1.4.8-3 -- del main package require on kde-filesystem -- del require on desktop-file-utils to meet packaging guidelines - -* Mon Jul 18 2011 David Timms - 1.4.8-2 -- remove dolphin requires on kde-filesystem -- move update-desktop-database to gui subpackages - -* Sun Jul 17 2011 David Timms - 1.4.8-1 -- update to 1.48 -- use % style macros everywhere instead of $ style -- move the desktop icon stuff to subpackage - -* Wed Apr 7 2010 David Timms - 1.4.7-2 -- mod the description and summary to make rpmlint spelling checks happier - -* Sat Mar 20 2010 David Timms - 1.4.7-1 -- update to 1.47, which reverts changes to UTF handling - -* Thu Jan 7 2010 David Timms - 1.4.6-5 -- trial potential fix for ppc32/64 rpm test failure on ppc arch - -* Mon Oct 5 2009 David Timms - 1.4.6-4 -- fix desktop file for nautilus Extract archive menu -- add exclude arch ppc since build tests fail, by using ifarch -- add missing update-desktop-database calls - -* Wed Sep 30 2009 David Timms - 1.4.6-3 -- add missing buildrequires and requires on kde-filesystem -- mod to use desktop-file-install to install the .desktop files. - -* Sun Sep 27 2009 David Timms - 1.4.6-2 -- add tnefextract.desktop ServiceMenu for dolphin -- run make build tests - -* Sun Sep 06 2009 David Timms - 1.4.6-1 -- initial packaging for fedora -- add desktop file for nautilus open, and appropriate extract script diff --git a/tnefextract.desktop b/tnefextract.desktop deleted file mode 100644 index d0f64ad..0000000 --- a/tnefextract.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Type=Service -X-KDE-Priority=TopLevel -X-KDE-ServiceTypes=KonqPopupMenu/Plugin,application/vnd.ms-tnef -Name=tnef tools -Comment=tnef archive tool menu -Icon=archive-extract -Actions=tnefExtractToSubfolder; - -[Desktop Action tnefExtractToSubfolder] -Name=Extract TNEF (email attachment) Archive -Exec=tnef.sh "%f" -Icon=archive-extract diff --git a/vnd.ms-tnef.desktop b/vnd.ms-tnef.desktop deleted file mode 100644 index f3a3a68..0000000 --- a/vnd.ms-tnef.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -MimeType=application/vnd.ms-tnef; -Icon=archive-extract -Name=Extract TNEF (email attachment) Archive -Comment=TNEF archive -#Patterns=winmail.dat;winmail*.dat;*.dat; -Exec=tnef.sh "%f" -NoDisplay=true