From: Jakub Bogusz Date: Wed, 27 Sep 2006 12:07:16 +0000 (+0000) Subject: - updated to 1.8 X-Git-Tag: auto/th/clit-1_8-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fclit.git;a=commitdiff_plain;h=3ed4e423f95b7a87cac655de17dbabb0e5492c01 - updated to 1.8 Changed files: clit.spec -> 1.3 --- diff --git a/clit.spec b/clit.spec index 16fd9f6..a5a076e 100644 --- a/clit.spec +++ b/clit.spec @@ -2,13 +2,15 @@ Summary: Open Convert-.LIT tool Summary(pl): Otwarte narzêdzie do rozpakowywania plików .LIT Name: clit -Version: 1.4 +Version: 1.8 Release: 1 License: GPL v2+ Group: Applications/Archiving Source0: http://www.kyz.uklinux.net/downloads/open_c-lit-%{version}.tar.gz -# Source0-md5: f85b2aa1aae9f58102fee9adc29a2cce +# Source0-md5: d8c599cf0e3cd8bab08e455e51ef852d URL: http://www.kyz.uklinux.net/convlit.php +BuildRequires: libtommath-devel +BuildRequires: sed >= 4.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -22,13 +24,17 @@ tego programu na terenie Stan byæ pogwa³ceniem DMCA. %prep -%setup -q -n %{name}%{xver}src +%setup -q -c + +sed -i -e 's/gcc -o clit.*/$(CC) -o clit $^ -ltommath/' %{name}%{xver}/Makefile %build %{__make} -C lib \ - CC="%{__cc} %{rpmcflags}" + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -Wall -Ides -Isha -Inewlzx -I." %{__make} -C %{name}%{xver} \ - CC="%{__cc} %{rpmcflags}" + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -funsigned-char -Wall -I../lib -I../lib/des -I." %install rm -rf $RPM_BUILD_ROOT @@ -41,5 +47,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc %{name}%{xver}/{BUGS,CHANGES} +%doc README %attr(755,root,root) %{_bindir}/*