diff --git a/.gitignore b/.gitignore index 51355f4..229f5f5 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,3 @@ /wcd-5.3.4.tar.gz /wcd-6.0.0.tar.gz /wcd-6.0.1.tar.gz -/wcd-6.0.2.tar.gz -/wcd-6.0.3.tar.gz -/wcd-6.0.4.tar.gz -/wcd-6.0.5.tar.gz diff --git a/changelog b/changelog deleted file mode 100644 index 445ec11..0000000 --- a/changelog +++ /dev/null @@ -1,145 +0,0 @@ -* Sat Jan 21 2023 Fedora Release Engineering - 6.0.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 6.0.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 6.0.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Tue Nov 2 2021 Erwin Waterlander - 6.0.4-1 -- New upstream version 6.0.4. - -* Fri Jul 23 2021 Fedora Release Engineering - 6.0.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 6.0.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 6.0.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 6.0.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Aug 14 2019 Erwin Waterlander - 6.0.3-1 -- New upstream version 6.0.3. - -* Sat Jul 27 2019 Fedora Release Engineering - 6.0.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 6.0.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Jul 31 2018 Erwin Waterlander - 6.0.2-3 -- Build requires gcc (bug #1606664). - -* Sat Jul 14 2018 Fedora Release Engineering - 6.0.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri May 11 2018 Erwin Waterlander - 6.0.2-1 -- New upstream version 6.0.2. - -* Fri Feb 09 2018 Fedora Release Engineering - 6.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Sep 16 2017 Erwin Waterlander - 6.0.1-1 -- New upstream version 6.0.1. - -* Thu Aug 03 2017 Fedora Release Engineering - 6.0.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 6.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Feb 22 2017 Erwin Waterlander - 6.0.0-1 -- New upstream version 6.0.0. - -* Sat Feb 11 2017 Fedora Release Engineering - 5.3.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Jan 4 2017 Erwin Waterlander - 5.3.4-1 -- New upstream version 5.3.4. - -* Thu Nov 3 2016 Erwin Waterlander - 5.3.3-1 -- New upstream version 5.3.3. - -* Fri Feb 19 2016 Erwin Waterlander - 5.3.2-1 -- New upstream version 5.3.2. - -* Fri Feb 05 2016 Fedora Release Engineering - 5.3.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Dec 3 2015 Erwin Waterlander - 5.3.1-1 -- New upstream version 5.3.1. - -* Thu Sep 24 2015 Erwin Waterlander - 5.3.0-1 -- New upstream version 5.3.0. - -* Fri Jun 19 2015 Fedora Release Engineering - 5.2.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun Apr 19 2015 Erwin Waterlander - 5.2.7-1 -- New upstream version 5.2.7. - -* Fri Jan 30 2015 Erwin Waterlander - 5.2.6-2 -- Fixed Source. - -* Mon Jan 19 2015 Erwin Waterlander - 5.2.6-1 -- New upstream version 5.2.6. - -* Tue Sep 02 2014 Pádraig Brady - 5.2.5-4 -- rebuild for libunistring soname bump - -* Mon Aug 18 2014 Fedora Release Engineering - 5.2.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Wed Jun 11 2014 Erwin Waterlander - 5.2.5-2 -- Fixed packaging new manual translations. - -* Wed Jun 11 2014 Erwin Waterlander - 5.2.5-1 -- New upstream version 5.2.5. - -* Sun Jun 08 2014 Fedora Release Engineering - 5.2.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu Aug 29 2013 Erwin Waterlander - 5.2.4-1 -- New upstream version 5.2.4. - -* Mon Aug 5 2013 Tim Waugh - 5.2.3-4 -- Fixed doc-related build problem (bug #992868). - -* Fri Feb 22 2013 Erwin Waterlander - 5.2.3-3 -- Build requires perl-Pod-Checker. - -* Fri Feb 15 2013 Fedora Release Engineering - 5.2.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Mon Oct 29 2012 Erwin Waterlander - 5.2.3-1 -- New upstream version 5.2.3. -- Set _sysconfdir while installing profile (the makefile supports - it now). - -* Tue Oct 09 2012 Erwin Waterlander - 5.2.2-6 -- Use _sysconfdir for config files. - -* Thu Sep 27 2012 Erwin Waterlander - 5.2.2-5 -- Added comment to explain why configs are overwritten and the name - of the manual is not equal to the name of the binary. - -* Mon Sep 24 2012 Erwin Waterlander - 5.2.2-4 -- Summary starts with capital letter C. -- Config files marked with config. -- Removed clean section (needed only if supporting EPEL5). -- Moved man-pages under doc. - -* Sun Sep 23 2012 Erwin Waterlander - 5.2.2-3 -- Increment release version. - -* Sun Sep 23 2012 Erwin Waterlander - 5.2.2-2 -- Removed tag Packager. -- Removed Buildrequires sed. -- Changed License tag from GPL to GPLv2 - -* Sun Sep 23 2012 Erwin Waterlander - 5.2.2-1 -- Initial version for Fedora. diff --git a/sources b/sources index dec31c0..e7e922a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wcd-6.0.5.tar.gz) = ac3fc0690e2011ab3a6863f075859a53887a7826b456f35b13421f8c3ed23e0a4665d9641163a2142ffae18b26379b2dbefab75a124c556bd0103522aaeb3d13 +SHA512 (wcd-6.0.1.tar.gz) = 7a1a97b1dee220f2a425fcd7669ee9a3ca144992fe18444866269499b10bdea1671a5fca13eaa77c12c807d901e7831701e00a35c766021533a922b84b68247e diff --git a/wcd.rpmlintrc b/wcd.rpmlintrc deleted file mode 100644 index bd5f629..0000000 --- a/wcd.rpmlintrc +++ /dev/null @@ -1,7 +0,0 @@ -# Not real spelling errors -addFilter(r" spelling-error \('(chdir|[Cc]hangelogs?)',") -# Intentional, with a justifying spec-file comment -addFilter(r" no-%check-section") -# We would have to use email to report the new remote-only status of the FSF -# upstream. Maybe we will do this at some point. -addFilter(r" incorrect-fsf-address ") diff --git a/wcd.spec b/wcd.spec index 7941421..f4497e9 100644 --- a/wcd.spec +++ b/wcd.spec @@ -1,128 +1,155 @@ -Summary: Wherever Change Directory: chdir for DOS and Unix -Name: wcd -Version: 6.0.5 -Release: %autorelease - -License: GPL-2.0-or-later -URL: https://waterlan.home.xs4all.nl/wcd.html -Source: https://waterlan.home.xs4all.nl/wcd/wcd-%{version}.tar.gz - -BuildRequires: make -BuildRequires: gcc - -# For NLS (translations) in the program -BuildRequires: gettext -# For rebuilding and translating documentation -BuildRequires: po4a -BuildRequires: /usr/bin/pod2html -BuildRequires: /usr/bin/pod2man -BuildRequires: /usr/bin/podchecker - -BuildRequires: ncurses-devel -BuildRequires: libunistring-devel - -%global wcd_d1 prefix='%{_prefix}' bindir='%{_bindir}' datadir='%{_datadir}' -%global wcd_d2 docdir='%{_pkgdocdir}' sysconfdir='%{_sysconfdir}' -%global wcd_d3 mandir='%{_mandir}' -%global wcd_dirs %{wcd_d1} %{wcd_d2} %{wcd_d3} -# Paraphrased from doc/UNIX.txt: -# UCS= Enable Unicode (UTF8) support. -# UNINORM= Enable Unicode normalization. Requires libunistring. This takes at -# least partial effect by being defined *to any value*, so do not -# define it unless we want to enable it (we do). -# ENABLE_NLS= Enable native language support. That is, use locale files. This -# option takes effect by being defined *to any value*, so do not -# define it unless we want to enable it (we do). -# STATIC= Enable static linking. Make a standalone wcd binary. This option -# takes effect by being defined *to any value*, so do not define it -# unless we want to enable it. -# DEBUG= Add -g to CFLAGS; the distro flags handle this. -# DEBUGMSG= Makes wcd print verbose messages about accessing the file system. -# LFS= Large File Support (LFS). This option cannot be effectively disabled -# due to questionable logic in the Makefile, but that is fine because we -# certainly want it to be enabled. -# CURSES= Select curses library. Default is ncurses. There is some magic -# behind the scenes, so we leave this alone. -# NCURSES_DEBUG= Link with ncurses debug enabled library. -# ASCII_TREE= Draw graphical tree with ASCII characters (instead of -# line-drawing characters). This option takes effect by being -# defined *to any value*, so do not define it unless we want to -# enable it. -# EXT= Set executable extension. -# HMTLEXT= Set HTML manual file extension. -%global wcd_f1 UCS=1 UNINORM=1 ENABLE_NLS=1 -%global wcd_f2 DEBUG=0 DEBUGMSG=0 LFS=1 NCURSES_DEBUG=0 -%global wcd_f3 EXT= HTMLEXT=html -%global wcd_flags %{wcd_f1} %{wcd_f2} %{wcd_f3} -%global wcd_opts %{wcd_dirs} %{wcd_flags} +Summary: Chdir for DOS and Unix +Name: wcd +Version: 6.0.1 +Release: 2%{?dist} +License: GPLv2 +Group: Applications/File +Source: http://waterlan.home.xs4all.nl/wcd/%{name}-%{version}.tar.gz +URL: http://waterlan.home.xs4all.nl/ +BuildRequires: gettext +BuildRequires: ncurses-devel +BuildRequires: libunistring-devel %description -Wcd is a command-line program to change directory fast. It saves time typing at -the keyboard. One needs to type only a part of a directory name and wcd will -jump to it. Wcd has a fast selection method in case of multiple matches and -allows aliasing and banning of directories. Wcd also includes a full screen -interactive directory tree browser with speed search. - -Wcd was modeled after Norton Change Directory (NCD). NCD appeared first in The -Norton Utilities, Release 4, for DOS in 1987, published by Peter Norton. NCD -was written by Brad Kingsbury. - - -%package doc -Summary: Documentation for wcd - -BuildArch: noarch - -%description doc -%{summary}. - -Man pages are included with the base package. This package provides the same -documentation in other forms, like plain text and HTML, as well as ancillary -plain-text documentation files, changelogs, and so on. +Wcd. Directory changer for DOS and Unix. Another Norton +Change Directory (NCD) clone. +Wcd is a command-line program to change directory fast. It +saves time typing at the keyboard. One needs to type only +a part of a directory name and wcd will jump to it. Wcd +has a fast selection method in case of multiple matches +and allows aliasing and banning of directories. Wcd also +includes a full-screen interactive directory tree browser +with speed search. %prep -%autosetup - +%setup -q %build -%make_build --directory=src %{wcd_opts} - +make -C src %{?_smp_mflags} prefix=%{_prefix} UCS=1 UNINORM=1 %install -%make_install install-profile --directory=src %{wcd_opts} -%find_lang wcd --with-man +make -C src install DESTDIR=${RPM_BUILD_ROOT} prefix=%{_prefix} mandir=%{_mandir} +make -C src install-profile DESTDIR=${RPM_BUILD_ROOT} prefix=%{_prefix} sysconfdir=%{_sysconfdir} +%find_lang %{name} --with-man -# Upstream does not provide any tests - - -%files -f wcd.lang -%license %{_pkgdocdir}/copying.txt - -%{_bindir}/wcd -%{_mandir}/man1/wcd.1* - -%config(noreplace) %{_sysconfdir}/profile.d/wcd.sh -%config(noreplace) %{_sysconfdir}/profile.d/wcd.csh - - -%files doc -%license %{_pkgdocdir}/copying.txt -%doc %{_pkgdocdir}/INSTALL.txt -%doc %{_pkgdocdir}/README.txt -%doc %{_pkgdocdir}/UNIX.txt -%doc %{_pkgdocdir}/faq.txt -%doc %{_pkgdocdir}/problems.txt -%doc %{_pkgdocdir}/todo.txt -%doc %{_pkgdocdir}/wcd.html -%doc %{_pkgdocdir}/wcd.txt -%doc %{_pkgdocdir}/whatsnew.txt -# Localized HTML and plain-text documentation -%doc %dir %{_pkgdocdir}/*/ -%doc %{_pkgdocdir}/*/wcd.html -%doc %{_pkgdocdir}/*/wcd.txt +%files -f %{name}.lang +%{_bindir}/wcd.exe +# Overwrite the old config files. Old config files may break a new +# installation when the name of the binary changes. +%config %{_sysconfdir}/profile.d/wcd.* +# https://fedoraproject.org/wiki/Packaging_tricks#As_part_of_the_staged_install +%{_defaultdocdir}/%{name}-%{version}/ +%{_mandir}/man1/wcd.* +# The name of the manual page is 'wcd', equal to the name of the package and +# defined alias (csh) and function (sh) in the config files, and not equal to +# the name of the binary. The name of the binary may vary and is in fact not +# important. %changelog -%autochangelog +* Fri Feb 09 2018 Fedora Release Engineering - 6.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Sep 16 2017 Erwin Waterlander - 6.0.1-1 +- New upstream version 6.0.1. + +* Thu Aug 03 2017 Fedora Release Engineering - 6.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 6.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Feb 22 2017 Erwin Waterlander - 6.0.0-1 +- New upstream version 6.0.0. + +* Sat Feb 11 2017 Fedora Release Engineering - 5.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 4 2017 Erwin Waterlander - 5.3.4-1 +- New upstream version 5.3.4. + +* Thu Nov 3 2016 Erwin Waterlander - 5.3.3-1 +- New upstream version 5.3.3. + +* Fri Feb 19 2016 Erwin Waterlander - 5.3.2-1 +- New upstream version 5.3.2. + +* Fri Feb 05 2016 Fedora Release Engineering - 5.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Dec 3 2015 Erwin Waterlander - 5.3.1-1 +- New upstream version 5.3.1. + +* Thu Sep 24 2015 Erwin Waterlander - 5.3.0-1 +- New upstream version 5.3.0. + +* Fri Jun 19 2015 Fedora Release Engineering - 5.2.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Apr 19 2015 Erwin Waterlander - 5.2.7-1 +- New upstream version 5.2.7. + +* Fri Jan 30 2015 Erwin Waterlander - 5.2.6-2 +- Fixed Source. + +* Mon Jan 19 2015 Erwin Waterlander - 5.2.6-1 +- New upstream version 5.2.6. + +* Tue Sep 02 2014 Pádraig Brady - 5.2.5-4 +- rebuild for libunistring soname bump + +* Mon Aug 18 2014 Fedora Release Engineering - 5.2.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Wed Jun 11 2014 Erwin Waterlander - 5.2.5-2 +- Fixed packaging new manual translations. + +* Wed Jun 11 2014 Erwin Waterlander - 5.2.5-1 +- New upstream version 5.2.5. + +* Sun Jun 08 2014 Fedora Release Engineering - 5.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Aug 29 2013 Erwin Waterlander - 5.2.4-1 +- New upstream version 5.2.4. + +* Mon Aug 5 2013 Tim Waugh - 5.2.3-4 +- Fixed doc-related build problem (bug #992868). + +* Fri Feb 22 2013 Erwin Waterlander - 5.2.3-3 +- Build requires perl-Pod-Checker. + +* Fri Feb 15 2013 Fedora Release Engineering - 5.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Oct 29 2012 Erwin Waterlander - 5.2.3-1 +- New upstream version 5.2.3. +- Set _sysconfdir while installing profile (the makefile supports + it now). + +* Tue Oct 09 2012 Erwin Waterlander - 5.2.2-6 +- Use _sysconfdir for config files. + +* Thu Sep 27 2012 Erwin Waterlander - 5.2.2-5 +- Added comment to explain why configs are overwritten and the name + of the manual is not equal to the name of the binary. + +* Mon Sep 24 2012 Erwin Waterlander - 5.2.2-4 +- Summary starts with capital letter C. +- Config files marked with config. +- Removed clean section (needed only if supporting EPEL5). +- Moved man-pages under doc. + +* Sun Sep 23 2012 Erwin Waterlander - 5.2.2-3 +- Increment release version. + +* Sun Sep 23 2012 Erwin Waterlander - 5.2.2-2 +- Removed tag Packager. +- Removed Buildrequires sed. +- Changed License tag from GPL to GPLv2 + +* Sun Sep 23 2012 Erwin Waterlander - 5.2.2-1 +- Initial version for Fedora. +