Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ee7f47173d | ||
|
ed48b068bb | ||
|
418864f3ab | ||
|
31a7cd9242 | ||
|
7e81705347 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
ytree-1.93.tar.gz
|
21
Makefile
21
Makefile
@ -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)
|
|
51
ytree.spec
Normal file
51
ytree.spec
Normal file
@ -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 <mvaliyav at redhat.com> - 1.93-1
|
||||||
|
- Rebased to 1.93
|
||||||
|
|
||||||
|
* Thu May 28 2009 Minto Joseph <mvaliyav at redhat.com> - 1.92-3
|
||||||
|
- Cleaned up spec file
|
||||||
|
|
||||||
|
* Thu May 28 2009 Minto Joseph <mvaliyav at redhat.com> - 1.92-2
|
||||||
|
- Cleaned up spec file
|
||||||
|
|
||||||
|
* Thu May 28 2009 Minto Joseph <mvaliyav at redhat.com> - 1.92-1
|
||||||
|
- initial package
|
||||||
|
|
Loading…
Reference in New Issue
Block a user