Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | c5bcfd5236 | |
Bill Nottingham | 83528108ba | |
Minto Joseph | 7c36091ec2 | |
Jason ティビツ | 958285c95c |
|
@ -0,0 +1 @@
|
|||
ytree-1.92.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)
|
|
@ -0,0 +1,48 @@
|
|||
Summary: A filemanager similar to XTree
|
||||
Name: ytree
|
||||
Version: 1.92
|
||||
Release: 3%{?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
|
||||
* 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