rpms/halibut/F-12 halibut.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

supercyper supercyper at fedoraproject.org
Wed May 19 01:41:13 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/halibut/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31096

Modified Files:
	.cvsignore sources 
Added Files:
	halibut.spec 
Log Message:



--- NEW FILE halibut.spec ---
%define svndate 20100504
%define svnver 8934

Name:		halibut
Summary:	TeX-like software manual tool
Version:	1.0
Release:	2.%{svndate}svn%{svnver}%{?dist}
License:	MIT
Group:		Applications/Text
URL:		http://www.chiark.greenend.org.uk/~sgtatham/halibut.html
#Source0:	http://www.chiark.greenend.org.uk/~sgtatham/halibut/%{name}-%{version}.tar.gz
# The source for this package was pulled from upstream's vcs.  Use the
# following commands to generate the tarball:
#  svn export -r %{svnver} svn://svn.tartarus.org/sgt/halibut halibut-%{svndate}
#  pushd halibut-%{svndate}
#  svn export -r %{svnver} svn://svn.tartarus.org/sgt/charset
#  popd
#  tar -cjvf halibut-%{svndate}.tar.bz2 halibut-%{svndate}
Source0:	%{name}-%{svndate}.tar.bz2

%description
Halibut is yet another text formatting system, intended primarily for
writing software documentation. It accepts a single source format and
outputs a variety of formats, planned to include text, HTML, Texinfo,
Windows Help, Windows HTMLHelp, PostScript and PDF. It has comprehensive
indexing and cross-referencing support, and generates hyperlinks within
output documents wherever possible.

%package -n vim-halibut
Summary:	Syntax file for the halibut manual tool
Group:		Applications/Editors
Requires:	vim-common
BuildArch:	noarch

%description -n vim-halibut
This package provides vim syntax support for Halibut input files (*.but).

%prep
%setup -q -n %{name}-%{svndate}

%build
sed -i 's/CFLAGS += -g/CFLAGS += /g' Makefile
export CFLAGS="%{optflags}"
make %{?_smp_mflags} VERSION="%{version}"
make -C doc

%install
rm -rf %{buildroot}
make install prefix="%{buildroot}%{_prefix}" mandir="%{buildroot}%{_mandir}" INSTALL="install -Dp"
install -d  html
install -pm 0644 doc/*.html html
install -d %{buildroot}%{_datadir}/vim/vimfiles/syntax
install -pm 0644 misc/halibut.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENCE html
%{_bindir}/halibut
%{_mandir}/man1/*.1*

%files -n vim-halibut
%defattr(-,root,root,-)
%{_datadir}/vim/vimfiles/syntax/*.vim

%changelog
* Mon May 10 2010 Chen Lei <supercyper at 163.com> - 1.0-2.20100504svn8934
- merge -doc subpackage to the main package

* Tue May 04 2010 Chen Lei <supercyper at 163.com> - 1.0-1.20100504svn8934
- initial rpm build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/halibut/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	18 May 2010 18:41:13 -0000	1.1
+++ .cvsignore	19 May 2010 01:41:13 -0000	1.2
@@ -0,0 +1 @@
+halibut-20100504.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/halibut/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	18 May 2010 18:41:13 -0000	1.1
+++ sources	19 May 2010 01:41:13 -0000	1.2
@@ -0,0 +1 @@
+f8705a25bfd137fe7a5c0bde3523befa  halibut-20100504.tar.bz2



More information about the scm-commits mailing list