rpms/haddock/devel haddock.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Wed Sep 28 03:00:17 UTC 2005


Author: petersen

Update of /cvs/extras/rpms/haddock/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15046/devel

Modified Files:
	.cvsignore sources 
Added Files:
	haddock.spec 
Log Message:
auto-import haddock-0.7-1 on branch devel from haddock-0.7-1.src.rpm


--- NEW FILE haddock.spec ---
Name:           haddock
Version:        0.7
Release:        1%{?dist}
Summary:        Haddock documentation tool for annotated Haskell source code

Group:          Development/Tools
License:        BSD-like
URL:            http://www.haskell.org/haddock/
Source0:        http://www.haskell.org/haddock/%{name}-%{version}-src.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ghc libxslt docbook-style-xsl

%description
Haddock is a tool for automatically generating hyperlinked documentation from
annotated Haskell source code. It is primary intended for documenting
libraries, but it is useful for any kind of Haskell code.

Haddock lets you write documentation annotations next to the definitions of
functions and types in the source code in a lightweight syntax.


# don't generate an empty debuginfo subpackage
%define debug_package %{nil}
%define __spec_install_post /usr/lib/rpm/brp-compress


%prep
%setup -q


%build
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make %{?_smp_mflags}
(cd haddock/doc ; make html )


%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall

# move datafiles into their expected location
mkdir ${RPM_BUILD_ROOT}%{_datadir}/%{name}-%{version}
find ${RPM_BUILD_ROOT}%{_datadir} -type f | xargs mv --target-directory=${RPM_BUILD_ROOT}%{_datadir}/%{name}-%{version}

sed -i -e "s!%{_libdir}/%{name}-%{version}!%{_libexecdir}!" ${RPM_BUILD_ROOT}%{_bindir}/%{name}-%{version}

# drop versioned binary wrapper
rm ${RPM_BUILD_ROOT}%{_bindir}/%{name}
mv ${RPM_BUILD_ROOT}%{_bindir}/%{name}{-%{version},}


%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%doc haddock/README
%doc haddock/doc/haddock
%{_bindir}/haddock
%{_libexecdir}/haddock.bin
%{_datadir}/haddock-%{version}

%changelog
* Tue Sep 27 2005 Jens Petersen <petersen at redhat.com> - 0.7-1
- cleanup for Fedora Extras (Gérard Milmeister)
  - drop versioned binary
  - set standard buildroot
- do not create debuginfo
- improve the description

* Mon Aug 22 2005 Jens Petersen <petersen at redhat.com>
- 0.7 release

* Tue Jul  5 2005 Jens Petersen <petersen at haskell.org> - 0.7-0.20050705
- update to cvs snapshot
  - update filelist
  - install data files in a subdir

* Wed Dec 15 2004 Jens Petersen <petersen at haskell.org>
- spec file cleanup
- only generate docs in html

* Sat Oct 11 2003 Sven Panne <sven_panne at yahoo.com>
- Include architecture-independent files in file list

* Tue Aug 26 2003 Sven Panne <sven_panne at yahoo.com>
- Use autoreconf instead of autoconf

* Mon Jul 28 2003 Sven Panne <sven_panne at yahoo.com>
- Updated to version 0.5
- Automagically generate configure if it is not there

* Tue Jul 23 2002 Simon Marlow <simonmar at microsoft.com>
- Updated to version 0.4

* Sun Jun 23 2002 Sven Panne <sven_panne at yahoo.com>
- Cleaned up build root handling and added more docs

* Wed May 01 2002 Tom Moertel <tom-rpms at moertel.com>
- Created spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/haddock/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Sep 2005 02:59:34 -0000	1.1
+++ .cvsignore	28 Sep 2005 03:00:15 -0000	1.2
@@ -0,0 +1 @@
+haddock-0.7-src.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/haddock/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Sep 2005 02:59:34 -0000	1.1
+++ sources	28 Sep 2005 03:00:15 -0000	1.2
@@ -0,0 +1 @@
+759419e78416d5f093190968a4dc18f5  haddock-0.7-src.tar.gz




More information about the fedora-extras-commits mailing list