Author: qboosh                       Date: Wed Sep 27 12:07:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.8

---- Files affected:
SPECS:
   clit.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/clit.spec
diff -u SPECS/clit.spec:1.2 SPECS/clit.spec:1.3
--- SPECS/clit.spec:1.2 Thu Sep  4 16:31:13 2003
+++ SPECS/clit.spec     Wed Sep 27 14:07:16 2006
@@ -3,13 +3,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
@@ -23,13 +25,17 @@
 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
@@ -42,7 +48,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{name}%{xver}/{BUGS,CHANGES}
+%doc README
 %attr(755,root,root) %{_bindir}/*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -51,6 +57,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/09/27 12:07:16  qboosh
+- updated to 1.8
+
 Revision 1.2  2003/09/04 14:31:13  qboosh
 - typo, cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/clit.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to