diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..952648f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +ytree-1.93.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 883e3e2..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: ytree -# $Id$ -NAME := ytree -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/sources b/sources index e69de29..221f9db 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f1a989f331873b3be3eb18b7e936d6c7 ytree-1.93.tar.gz diff --git a/ytree.spec b/ytree.spec new file mode 100644 index 0000000..0543311 --- /dev/null +++ b/ytree.spec @@ -0,0 +1,51 @@ +Summary: A filemanager similar to XTree +Name: ytree +Version: 1.93 +Release: 1%{?dist} + +License: GPLv2+ +Group: System Environment/Shells +URL: http://www.han.de/~werner/ytree.html +Source0: http://www.han.de/~werner/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: ncurses-devel >= 5.4 +BuildRequires: readline-devel >= 4.3 + +%description +A console based file manager in the tradition of Xtree. + +%prep +%setup -q + +%build +make CFLAGS="$RPM_OPT_FLAGS" + +%install +rm -rf $RPM_BUILD_ROOT + +install -m644 -D -p ytree.1 $RPM_BUILD_ROOT/%{_mandir}/man1/ytree.1 +install -m755 -D -p ytree $RPM_BUILD_ROOT/%{_bindir}/ytree + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES COPYING README THANKS ytree.conf +%doc %{_mandir}/man1/ytree.1.gz +%{_bindir}/ytree + +%changelog +* Sun Aug 30 2009 Minto Joseph - 1.93-1 +- Rebased to 1.93 + +* Thu May 28 2009 Minto Joseph - 1.92-3 +- Cleaned up spec file + +* Thu May 28 2009 Minto Joseph - 1.92-2 +- Cleaned up spec file + +* Thu May 28 2009 Minto Joseph - 1.92-1 +- initial package +