- updated to 1.8 auto/th/clit-1_8-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 27 Sep 2006 12:07:16 +0000 (12:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clit.spec -> 1.3

clit.spec

index 16fd9f6..a5a076e 100644 (file)
--- 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}/*
This page took 0.141995 seconds and 4 git commands to generate.