From cd43ac0955bc372bdb2ad03c94cb722ffb8a2b91 Mon Sep 17 00:00:00 2001 From: ebasov Date: Tue, 24 Dec 2024 23:45:04 +0300 Subject: [PATCH] Rebuild for MSVSphere 10 --- .gitignore | 1 + .ytnef.metadata | 1 + SOURCES/ytnef-pkgconfig.patch | 9 ++ SPECS/ytnef.spec | 200 ++++++++++++++++++++++++++++++++++ 4 files changed, 211 insertions(+) create mode 100644 .gitignore create mode 100644 .ytnef.metadata create mode 100644 SOURCES/ytnef-pkgconfig.patch create mode 100644 SPECS/ytnef.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49c34 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ytnef-2.1.2.tar.gz diff --git a/.ytnef.metadata b/.ytnef.metadata new file mode 100644 index 0000000..bedd491 --- /dev/null +++ b/.ytnef.metadata @@ -0,0 +1 @@ +434800b215ea86301caa291c6a34701c73224f26 SOURCES/ytnef-2.1.2.tar.gz diff --git a/SOURCES/ytnef-pkgconfig.patch b/SOURCES/ytnef-pkgconfig.patch new file mode 100644 index 0000000..92d13a2 --- /dev/null +++ b/SOURCES/ytnef-pkgconfig.patch @@ -0,0 +1,9 @@ +diff -up ytnef-1.9.2/lib/libytnef.pc.in.orig ytnef-1.9.2/lib/libytnef.pc.in +--- ytnef-1.9.2/lib/libytnef.pc.in.orig 2017-03-28 10:50:58.496400854 +0200 ++++ ytnef-1.9.2/lib/libytnef.pc.in 2017-03-28 10:51:20.576558722 +0200 +@@ -8,4 +8,4 @@ Description: Yerase's TNEF Stream Reader + URL: https://github.com/Yeraze/ytnef + Version: @VERSION@ + Libs: -L${libdir} -lytnef +-Cflags: -I${includedir} ++Cflags: -I${includedir}/libytnef diff --git a/SPECS/ytnef.spec b/SPECS/ytnef.spec new file mode 100644 index 0000000..e74579a --- /dev/null +++ b/SPECS/ytnef.spec @@ -0,0 +1,200 @@ +Summary: Yerase's TNEF Stream Reader +Name: ytnef +Epoch: 1 +Version: 2.1.2 +Release: 3%{?dist} +License: GPLv2+ +URL: https://github.com/Yeraze/ytnef +Source0: https://github.com/Yeraze/ytnef/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: ytnef-pkgconfig.patch +BuildRequires: make +BuildRequires: autoconf automake libtool +BuildRequires: perl-generators +Requires: libytnef%{?_isa} = %{epoch}:%{version}-%{release} + +%description +Yerase's TNEF Stream Reader. Can take a TNEF Stream (winmail.dat) sent from +Microsoft Outlook (or similar products) and extract the attachments, including +construction of Contact Cards & Calendar entries. + +%package -n libytnef +Summary: TNEF Stream Reader Library + +%description -n libytnef +TNEF Stream Parser Library, used by "ytnef" to decode TNEF (winmail.dat) +streams generated by Microsoft Outlook. + +%package -n libytnef-devel +Summary: Development files for libytnef +Requires: libytnef%{?_isa} = %{epoch}:%{version}-%{release} + +%description -n libytnef-devel +The libytnef-devel package contains libraries and header files for +developing applications that use libytnef. + +%prep +%setup -q +./autogen.sh +%patch 0 -p1 + +%build +%configure --disable-static +V=1 %{__make} %{?_smp_mflags} + +%install +%{__make} install DESTDIR=$RPM_BUILD_ROOT includedir=%{_includedir}/libytnef +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%ldconfig_scriptlets -n libytnef + +%files +%license COPYING +%doc README.md ChangeLog ytnef/README.ytnefprocess +%{_bindir}/* + +%files -n libytnef +%license COPYING +%doc lib/doc/recurrence.txt +%{_libdir}/*.so.* + +%files -n libytnef-devel +%{_includedir}/libytnef/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/libytnef.pc + +%changelog +* Tue Dec 24 2024 Eduard Basov - 1:2.1.2-3 +- Rebuild for MSVSphere 10 + +* Sat Jul 20 2024 Fedora Release Engineering - 1:2.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 1:2.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Aug 14 2023 Mathias Zavala - 1:2.1.2-1 +- Update to version 2.1.2 + +* Sat Jul 22 2023 Fedora Release Engineering - 1:2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 6 2023 Mathias Zavala - 1:2.1.1-1 +- Update to version 2.1.1 +- Fix deprecated patchN + +* Sat Jan 21 2023 Fedora Release Engineering - 1:2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1:2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Feb 1 2022 Mathias Zavala - 1:2.0-1 +- Update to 2.0 +- Fix CVE-2021-3403 +- Fix CVE-2021-3404 + +* Sat Jan 22 2022 Fedora Release Engineering - 1:1.9.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1:1.9.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jan 28 2021 Fedora Release Engineering - 1:1.9.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1:1.9.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 1:1.9.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 1:1.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 09 2019 Kalev Lember - 1:1.9.3-1 +- Update to 1.9.3 (#1683489) + +* Sun Feb 03 2019 Fedora Release Engineering - 1:1.9.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1:1.9.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1:1.9.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Sep 16 2017 Michael Schwendt - 1:1.9.2-5 +- Spec fixes for modern guidelines: + remove BuildRoot tag, remove Group tags, remove defattr, no clean section, + automatic buildroot clean in install section, use license macro +- License is GPLv2+ / "GPL v2 (or later)". +- Verbose build.log with V=1 +- Make base package deps arch-specific. + +* Thu Aug 03 2017 Fedora Release Engineering - 1:1.9.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1:1.9.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Mar 28 2017 Andreas Bierfert +- 1:1.9.2-2 +- include dir should be libytnef +- adjust pkgconfig + +* Sat Mar 18 2017 Andreas Bierfert +- 1:1.9.2-1 +- version upgrade +- fix cve rhbz#1431730 +- merge ytnef/libytnef and add epoch + +* Sat Feb 11 2017 Fedora Release Engineering - 2.6-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 2.6-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 2.6-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Aug 18 2014 Fedora Release Engineering - 2.6-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.6-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 2.6-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 2.6-10 +- Perl 5.18 rebuild + +* Fri Feb 15 2013 Fedora Release Engineering - 2.6-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jul 22 2012 Fedora Release Engineering - 2.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 2.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 2.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Nov 19 2009 Itamar Reis Peixoto - 2.6-5 +- fix location in ytnefprocess.pl + +* Thu May 28 2009 Itamar Reis Peixoto - 2.6-4 +- fix perl requires + +* Tue Mar 24 2009 Itamar Reis Peixoto - 2.6-3 +- Changed License to the same as libytnef-devel +- Macronify everything as possible. +- Included ChangeLog as part of the documentation. + +* Fri Feb 13 2009 Itamar Reis Peixoto - 2.6-2 +- Rebuild for fedora 10 + +* Fri Mar 12 2004 Patrick +- Initial version +