X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=C%2B%2B2LaTeX.spec;h=b91d72576d42bd50b38d10bdcb1abdb8074a8292;hb=HEAD;hp=abaaa980f0418562e4a6870891b7c699b78ac525;hpb=97d2957d3e804c44c8279ecada1885cd11b8bfb8;p=packages%2FC%2B%2B2LaTeX.git diff --git a/C++2LaTeX.spec b/C++2LaTeX.spec index abaaa98..b91d725 100644 --- a/C++2LaTeX.spec +++ b/C++2LaTeX.spec @@ -1,30 +1,32 @@ Summary: Pretty-printer for converting C/C++ code to a LaTeX listing -Summary(pl): Konwerter listingów C/C++ na LaTeX +Summary(pl.UTF-8): Konwerter listingów C/C++ na LaTeX Name: C++2LaTeX %define ver 1_1pl1 Version: 1.1pl1 -Release: 2 +Release: 3 License: GPL Group: Applications/Publishing/TeX Source0: ftp://ftp.tex.ac.uk/tex-archive/support/%{name}-%{ver}.tar.gz +# Source0-md5: 439cf4f33983848f5d6761c6f605f631 BuildRequires: flex -Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description C++2LaTeX takes as input a C or C++ source file and outputs a LaTeX file that is a beautified listing (optionally the output can contain 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. +%description -l pl.UTF-8 +C++2LaTeX przyjmuje na wejście kod źródłowy w C lub C++, a na wyjście +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