Sophie

Sophie

distrib > Mandriva > cooker > i586 > media > main-release-src > by-pkgid > 8c06b8d73a83a7cbab69f8f79fbfd520 > files > 3

texlive-cweb-3.64ad-3.src.rpm

# revision 26689
# category Package
# catalog-ctan /web/c_cpp/cweb
# catalog-date 2012-04-30 16:43:33 +0200
# catalog-license knuth
# catalog-version 3.64ad
Name:		texlive-cweb
Version:	3.64ad
Release:	3
Summary:	A Web system in C
Group:		Publishing
URL:		http://www.ctan.org/tex-archive/web/c_cpp/cweb
License:	KNUTH
Source0:	http://mirrors.ctan.org/systems/texlive/tlnet/archive/cweb.tar.xz
Source1:	http://mirrors.ctan.org/systems/texlive/tlnet/archive/cweb.doc.tar.xz
BuildArch:	noarch
BuildRequires:	texlive-tlpkg
Requires(pre):	texlive-tlpkg
Requires(post):	texlive-kpathsea
Requires:	texlive-cweb.bin

%description
The Cweb system is a system for Structured Software
Documentation (also known as Literate Programming) in the
programming language C.

%post
    %{_sbindir}/texlive.post

%postun
    if [ $1 -eq 0 ]; then
	%{_sbindir}/texlive.post
    fi

#-----------------------------------------------------------------------
%files
%{_texmfdistdir}/tex/plain/cweb/cwebmac.tex
%{_texmfdistdir}/tex/plain/cweb/pdfXcwebmac.tex
%{_texmfdistdir}/tex/plain/cweb/pdfcwebmac.tex
%{_texmfdistdir}/tex/plain/cweb/pdfdcwebmac.tex
%{_texmfdistdir}/tex/plain/cweb/pdffcwebmac.tex
%{_texmfdistdir}/tex/plain/cweb/pdficwebmac.tex
%{_texmfdistdir}/tex/plain/cweb/pdfwebmac.tex
%doc %{_texmfdistdir}/doc/plain/cweb/cwebman.dvi
%doc %{_mandir}/man1/ctangle.1*
%doc %{_texmfdir}/doc/man/man1/ctangle.man1.pdf
%doc %{_mandir}/man1/cweave.1*
%doc %{_texmfdir}/doc/man/man1/cweave.man1.pdf
%doc %{_mandir}/man1/cweb.1*
%doc %{_texmfdir}/doc/man/man1/cweb.man1.pdf

#-----------------------------------------------------------------------
%prep
%setup -c -a0 -a1

%build

%install
mkdir -p %{buildroot}%{_datadir}
cp -fpar texmf texmf-dist %{buildroot}%{_datadir}
mkdir -p %{buildroot}%{_mandir}/man1
mv %{buildroot}%{_texmfdir}/doc/man/man1/*.1 %{buildroot}%{_mandir}/man1


%changelog
* Tue Aug 07 2012 Paulo Andrade <pcpa@mandriva.com.br> 3.64ad-3
+ Revision: 812210
- Update to latest release.

* Wed Jan 04 2012 Paulo Andrade <pcpa@mandriva.com.br> 3.64ad-2
+ Revision: 750757
- Rebuild to reduce used resources

* Sat Nov 05 2011 Paulo Andrade <pcpa@mandriva.com.br> 3.64ad-1
+ Revision: 718194
- texlive-cweb
- texlive-cweb
- texlive-cweb
- texlive-cweb