From 0a0c9235c2efe869466ed41ae248b85cdf74eaea Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 18 Sep 2023 14:00:10 +0300 Subject: [PATCH] import unifdef-2.10-19.el9 --- .gitignore | 1 + .unifdef.metadata | 1 + SPECS/unifdef.spec | 161 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 163 insertions(+) create mode 100644 .gitignore create mode 100644 .unifdef.metadata create mode 100644 SPECS/unifdef.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d99513 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/unifdef-2.10.tar.xz diff --git a/.unifdef.metadata b/.unifdef.metadata new file mode 100644 index 0000000..2466c7d --- /dev/null +++ b/.unifdef.metadata @@ -0,0 +1 @@ +7b9bd1c884f9a675a5b9bdadd7bc78fe60f6e2ac SOURCES/unifdef-2.10.tar.xz diff --git a/SPECS/unifdef.spec b/SPECS/unifdef.spec new file mode 100644 index 0000000..c9be800 --- /dev/null +++ b/SPECS/unifdef.spec @@ -0,0 +1,161 @@ +Summary: Tool for removing ifdef'd lines +Name: unifdef +Version: 2.10 +Release: 19%{?dist} +License: BSD +URL: http://dotat.at/prog/unifdef/ +Source0: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.xz + +BuildRequires: make +BuildRequires: gcc +BuildRequires: pkgconfig + +%description +Unifdef is useful for removing ifdefed lines from a file while otherwise +leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #endif +lines, and it knows only enough about C and C++ to know when one of these +is inactive because it is inside a comment, or a single or double quote. + +%prep +%setup -q + +%build +make CFLAGS="$RPM_OPT_FLAGS" + +%install +rm -rf $RPM_BUILD_ROOT +install -d -m0755 $RPM_BUILD_ROOT%{_bindir} +install -p -m0755 unifdef $RPM_BUILD_ROOT%{_bindir}/unifdef +install -p -m0755 unifdefall.sh $RPM_BUILD_ROOT%{_bindir}/unifdefall.sh + +install -d -m0755 $RPM_BUILD_ROOT%{_mandir}/man1 +install -p -m0644 unifdef.1 $RPM_BUILD_ROOT%{_mandir}/man1/unifdef.1 + + +%files +%{_bindir}/unifdef +%{_bindir}/unifdefall.sh +%{_mandir}/man1/unifdef.1.gz + + +%changelog +* Mon Sep 18 2023 Arkady L. Shane - 2.10-19 +- Rebuilt for MSVSphere 9.2 + +* Sat Jan 21 2023 Fedora Release Engineering - 2.10-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 2.10-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 2.10-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.10-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.10-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 2.10-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 2.10-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 2.10-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 2.10-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 2.10-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 2.10-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 2.10-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.10-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.10-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 2.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 2.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Aug 18 2014 Fedora Release Engineering - 2.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 2.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Feb 26 2014 Eric Smith - 2.10-1 +- Update to latest upstream. + +* Sun Aug 04 2013 Fedora Release Engineering - 2.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sun Jun 09 2013 Eric Smith - 2.9-1 +- Update to latest upstream. + +* Fri Feb 15 2013 Fedora Release Engineering - 2.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jul 22 2012 Fedora Release Engineering - 2.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat Apr 30 2011 Eric Smith 2.6-1 +- Update to latest upstream +- Upstream now includes their own strlcmp, so we no longer need to use + libbsd + +* Mon Feb 07 2011 Fedora Release Engineering - 1.334-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Feb 11 2010 Eric Smith 1.334-1 +- Remove package name from summary +- Change URL from FreeBSD CVS to project home page +- Update source to upstream 1.334 +- No longer need getline() patch +- Use strlcpy from libbsd + +* Fri Jan 15 2010 Kyle McMartin 1.171-10 +- fix unifdef ftbfs + +* Sun Jul 26 2009 Fedora Release Engineering - 1.171-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1.171-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 18 2008 Fedora Release Engineering - 1.171-7 +- Autorebuild for GCC 4.3 + +* Wed Aug 22 2007 David Woodhouse - 1.171-6 +- Rebuild + +* Sat Jul 15 2006 David Woodhouse - 1.171-5 +- Don't redefine %%dist + +* Fri Jul 14 2006 Jesse Keating - 1.171-4 +- Minor specfile cleanups from review + +* Tue May 2 2006 David Woodhouse - 1.171-3 +- Minor specfile cleanups from review + +* Wed Apr 26 2006 David Woodhouse - 1.171-2 +- Change BuildRoot + +* Tue Apr 25 2006 David Woodhouse - 1.171-1 +- Initial import from FreeBSD CVS +