Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a4cc5a923 | ||
|
|
f2c53d313a | ||
|
|
75c1f9a487 |
3 changed files with 87 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -0,0 +1,2 @@
|
|||
/wcd-5.2.3-src.tar.gz
|
||||
/wcd-5.2.4-src.tar.gz
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
b85dfd0be2d31a46dd32530e9e6355c7 wcd-5.2.4-src.tar.gz
|
||||
84
wcd.spec
Normal file
84
wcd.spec
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
Summary: Chdir for DOS and Unix
|
||||
Name: wcd
|
||||
Version: 5.2.4
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
Group: Applications/File
|
||||
Source: http://waterlan.home.xs4all.nl/%{name}-%{version}-src.tar.gz
|
||||
URL: http://waterlan.home.xs4all.nl/
|
||||
BuildRequires: gettext
|
||||
BuildRequires: perl
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: libunistring-devel
|
||||
|
||||
%description
|
||||
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
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make -C src %{?_smp_mflags} prefix=%{_prefix} UCS=1 UNINORM=1
|
||||
|
||||
%install
|
||||
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}
|
||||
|
||||
%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.*
|
||||
|
||||
%doc doc/README.txt doc/wcd.txt doc/wcd.htm doc/INSTALL.txt doc/UNIX.txt doc/RPM.txt doc/copying.txt doc/faq.txt doc/problems.txt doc/whatsnew.txt doc/translat.txt
|
||||
%{_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
|
||||
* Thu Aug 29 2013 Erwin Waterlander <waterlan@xs4all.nl> - 5.2.4-1
|
||||
- New upstream version 5.2.4.
|
||||
|
||||
* Mon Oct 29 2012 Erwin Waterlander <waterlan@xs4all.nl> - 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 <waterlan@xs4all.nl> - 5.2.2-6
|
||||
- Use _sysconfdir for config files.
|
||||
|
||||
* Thu Sep 27 2012 Erwin Waterlander <waterlan@xs4all.nl> - 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 <waterlan@xs4all.nl> - 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 <waterlan@xs4all.nl> - 5.2.2-3
|
||||
- Increment release version.
|
||||
|
||||
* Sun Sep 23 2012 Erwin Waterlander <waterlan@xs4all.nl> - 5.2.2-2
|
||||
- Removed tag Packager.
|
||||
- Removed Buildrequires sed.
|
||||
- Changed License tag from GPL to GPLv2
|
||||
|
||||
* Sun Sep 23 2012 Erwin Waterlander <waterlan@xs4all.nl> - 5.2.2-1
|
||||
- Initial version for Fedora.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue