rpms/yash/devel yash.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Mamoru Tasaka
mtasaka at fedoraproject.org
Mon Jul 5 04:08:13 UTC 2010
- Previous message: rpms/yash/F-13 yash.spec,NONE,1.1 .cvsignore,1.1,1.2 sources,1.1,1.2
- Next message: rpms/xorg-x11-drv-vesa/devel sources, 1.16, 1.17 xorg-x11-drv-vesa.spec, 1.43, 1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/yash/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv10478/devel
Modified Files:
.cvsignore sources
Added Files:
yash.spec
Log Message:
Initial import
--- NEW FILE yash.spec ---
# Upstream SCM
# Upstream is currently using SVN
# SVN path: http://svn.sourceforge.jp/svnroot/yash/yash/trunk
%global repoid 48168
%global mainver 2
%global minorver b0
Name: yash
Version: 2.22
Release: %{?minorver:0.}%{mainver}%{?minorver:.%{minorver}}%{?dist}
Summary: Yet Another SHell
Group: System Environment/Shells
License: GPLv2+
URL: http://yash.sourceforge.jp/
Source0: http://dl.sourceforge.jp/yash/%{repoid}/%{name}-%{version}%{?minorver}.tar.gz
Source1: http://dl.sourceforge.jp/yash/%{repoid}/%{name}-doc-%{version}%{?minorver}-ja.tar.gz
# Patches
BuildRequires: ncurses-devel
# Write needed Requires for scriptlets explicitly
Requires(post): grep
Requires(post): coreutils
Requires(postun): sed
%description
Yash is a command line shell that conforms to the POSIX.1 (IEEE Std
1003.1, 2008 Edition) standard for the most part.
Yash also has its own features beyond POSIX, such as:
* global aliases
* random numbers
* socket redirections and other special redirections
* right prompt
%package doc
Summary: Documentation for %{name}
Group: Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description doc
This package contains document files for %{name}.
%prep
%setup -q -n %{name}-%{version}%{?minorver} -a 1
%build
# This package use configure not based on autotools...
# won't accept --libdir=
env \
CC="%{__cc} -std=c99" \
CFLAGS="%{optflags}" \
\
./configure \
--prefix=%{_prefix} \
--exec-prefix=%{_exec_prefix} \
--bindir=%{_bindir} \
--datarootdir=%{_datarootdir} \
make -k %{?_smp_mflags}
%install
make install \
DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/bin
mv -f $RPM_BUILD_ROOT%{_bindir}/yash \
$RPM_BUILD_ROOT/bin
rmdir $RPM_BUILD_ROOT%{_bindir}/
%clean
rm -rf $RPM_BUILD_ROOT
%check
make test || { sleep 3 ; cat tests/test.log ; sleep 3; exit 1; }
%post
if [ -f %{_sysconfdir}/shells ]
then
grep -q '^/bin/yash$' || echo '/bin/yash' >> %{_sysconfdir}/shells
else
echo '/bin/yash' > %{_sysconfdir}/shells
fi
exit 0
%postun
[ "$1" = 0 ] || exit 0
[ -f %{_sysconfdir}/shells ] || exit 0
sed -i -e '\@/bin/yash$@d' %{_sysconfdir}/shells
exit 0
%files
%defattr(-,root,root,-)
%doc COPYING
%doc NEWS
%doc README
%lang(ja) %doc NEWS.ja
%lang(ja) %doc README.ja
/bin/%{name}
%files doc
%defattr(-,root,root,-)
%lang(ja) %doc %{name}-doc-%{version}%{?minorver}/*
%changelog
* Sun Jul 4 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.22-0.2.b0
- Handle %%_sysconfdir/shells
- Move binary to /bin
* Sun Jul 4 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.22-0.1.b0
- Update to the released 2.22 b0
* Sat Jul 3 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.21-3.svn2087_trunk
- Try latest trunk for
* test failure on koji
* test hang on mockbuild
* Sat Jun 26 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.21-2
- Initial creation
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/yash/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 5 Jul 2010 01:49:29 -0000 1.1
+++ .cvsignore 5 Jul 2010 04:08:13 -0000 1.2
@@ -0,0 +1 @@
+yash-2.22b0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/yash/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 5 Jul 2010 01:49:29 -0000 1.1
+++ sources 5 Jul 2010 04:08:13 -0000 1.2
@@ -0,0 +1 @@
+c05a0bf6a5a6ae0a6c15d1401bcfeeed yash-2.22b0.tar.gz
- Previous message: rpms/yash/F-13 yash.spec,NONE,1.1 .cvsignore,1.1,1.2 sources,1.1,1.2
- Next message: rpms/xorg-x11-drv-vesa/devel sources, 1.16, 1.17 xorg-x11-drv-vesa.spec, 1.43, 1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list