]> git.pld-linux.org Git - packages/C++2LaTeX.git/blobdiff - C++2LaTeX.spec
- cosmetics
[packages/C++2LaTeX.git] / C++2LaTeX.spec
index 64fe1e45041ac7c309272172143542e20884461b..9462a33ee38c5ec5d8fc330d8bf9cf29897f20b8 100644 (file)
@@ -3,12 +3,13 @@ Summary(pl):  Konwerter listing
 Name:          C++2LaTeX
 %define                ver     1_1pl1
 Version:       1.1pl1
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Publishing/TeX
 Source0:       ftp://ftp.tex.ac.uk/tex-archive/support/%{name}-%{ver}.tar.gz
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# Source0-md5: 439cf4f33983848f5d6761c6f605f631
 BuildRequires: flex
+Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 C++2LaTeX takes as input a C or C++ source file and outputs a LaTeX
@@ -17,14 +18,15 @@ the 'documentstyle' header and so on).
 
 %description -l pl
 C++2LaTeX przyjmuje na wej¶cie kod ¼ród³owy w C lub C++, a na wyj¶cie
-wysy³a plik w LaTeX-u z ³adnym listingiem.
+wysy³a plik w LaTeXu z ³adnym listingiem.
 
 %prep
 %setup -q -n %{name}-%{ver}
 
 %build
 rm -f *.o c++2latex
-%{__make} CFLAGS="%{rpmcflags} -DUSE_NAME"
+%{__make} \
+       CFLAGS="%{rpmcflags} -DUSE_NAME"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -36,13 +38,11 @@ install c++2latex.1 $RPM_BUILD_ROOT%{_mandir}/man1
 ln -sf c++2latex       $RPM_BUILD_ROOT%{_bindir}/c2latex
 echo '.so c++2latex.1' >$RPM_BUILD_ROOT%{_mandir}/man1/c2latex.1
 
-gzip -9nf ChangeLog README
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc ChangeLog README
 %attr(755,root,root) %{_bindir}/*
-%doc *.gz
 %{_mandir}/man1/*
This page took 0.059612 seconds and 4 git commands to generate.