diff --git a/wcd.spec b/wcd.spec index 0df3b8c..de17690 100644 --- a/wcd.spec +++ b/wcd.spec @@ -1,15 +1,19 @@ -Summary: Chdir for DOS and Unix -Name: wcd -Version: 6.0.4 -Release: %autorelease -License: GPLv2 -Source: http://waterlan.home.xs4all.nl/wcd/%{name}-%{version}.tar.gz -URL: http://waterlan.home.xs4all.nl/ -BuildRequires: make -BuildRequires: gcc -BuildRequires: gettext -BuildRequires: ncurses-devel -BuildRequires: libunistring-devel +Summary: Chdir for DOS and Unix +Name: wcd +Version: 6.0.4 +Release: %autorelease + +License: GPLv2 +Source: http://waterlan.home.xs4all.nl/wcd/%{name}-%{version}.tar.gz +URL: http://waterlan.home.xs4all.nl/ + +BuildRequires: make +BuildRequires: gcc + +BuildRequires: gettext + +BuildRequires: ncurses-devel +BuildRequires: libunistring-devel %description Wcd. Directory changer for DOS and Unix. Another Norton @@ -23,18 +27,22 @@ 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} --with-man + %files -f %{name}.lang %{_bindir}/wcd.exe # Overwrite the old config files. Old config files may break a new