]> git.pld-linux.org Git - packages/C++2LaTeX.git/blobdiff - C++2LaTeX.spec
- massive attack: adding Source-md5
[packages/C++2LaTeX.git] / C++2LaTeX.spec
index f0639068e8aa02d9f388e707f4e817cd649f9389..9b18535f41977843d6bbcb443c8e676832febd63 100644 (file)
@@ -3,14 +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
-Group(de):     Applikationen/Publizieren/TeX
-Group(pl):     Aplikacje/Publikowanie/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
@@ -26,7 +25,7 @@ wysy
 
 %build
 rm -f *.o c++2latex
-%{__make} CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -DUSE_NAME"
+%{__make} CFLAGS="%{rpmcflags} -DUSE_NAME"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -38,13 +37,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.057299 seconds and 4 git commands to generate.