Author: qboosh                       Date: Tue Aug 19 19:26:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.52.10
- added URLs
- updated nopython,make patches, removed obsolete objfree patch

---- Files affected:
SPECS:
   newt.spec (1.89 -> 1.90) 

---- Diffs:

================================================================
Index: SPECS/newt.spec
diff -u SPECS/newt.spec:1.89 SPECS/newt.spec:1.90
--- SPECS/newt.spec:1.89        Tue Feb 13 08:16:49 2007
+++ SPECS/newt.spec     Tue Aug 19 21:26:39 2008
@@ -10,20 +10,20 @@
 Summary(pl.UTF-8):     Not Erik's Windowing Toolkit - okna w trybie tekstowym 
ze slangiem
 Summary(tr.UTF-8):     Not Erik's Windowing Toolkit - metin kipi pencereleme 
sistemi
 Name:          newt
-Version:       0.52.4
+Version:       0.52.10
 Release:       1
 License:       LGPL
 Group:         Libraries
 # 
http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/
-Source0:       %{name}-%{version}.tar.gz
-# Source0-md5: 0818c0d397fb6b5ee61a6747327599e4
+Source0:       
https://fedorahosted.org/releases/n/e/newt/%{name}-%{version}.tar.gz
+# Source0-md5: bcbcc87ec19ba37d34f819209afa2e15
 Patch0:                %{name}-textbox.patch
 Patch1:                %{name}-0.51.6-if1close.patch
 Patch2:                %{name}-PIC.patch
 Patch3:                %{name}-gcc34.patch
 Patch4:                %{name}-nopython.patch
-Patch5:                %{name}-objfree.patch
-Patch6:                %{name}-make.patch
+Patch5:                %{name}-make.patch
+URL:           https://fedorahosted.org/newt/
 BuildRequires: autoconf
 BuildRequires: docbook-utils
 BuildRequires: popt-devel
@@ -166,23 +166,17 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p0
-%patch6 -p0
-
-sed -i -e 's#gcc#%{__cc}#g;s,-g -O2,,g' Makefile.in
-sed -i -e 's#tcl8.4#tcl8.5#g' Makefile.in
+%patch5 -p1 -b .orig
 
 %build
 %{__autoconf}
 %configure \
-       --enable-gpm-support
+       --with-gpm-support \
+       %{!?with_tcl:--without-tcl}
 
 %{__make} \
        PYTHONVERS=python%{py_ver} \
-       CC="%{__cc}" \
-       RPM_OPT_FLAGS="%{rpmcflags}" \
        LIBTCL=-ltcl \
-       PROGS="whiptail %{?with_tcl:whiptcl.so} testgrid" \
        %{!?with_python:SNACKSO=}
 
 %install
@@ -214,34 +208,35 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so.*.*
+%attr(755,root,root) %{_libdir}/libnewt.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnewt.so.0.52
 
-%files -n whiptail
+%files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/whiptail
-%{_mandir}/man1/whiptail.1*
+%attr(755,root,root) %{_libdir}/libnewt.so
+%{_includedir}/newt.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libnewt.a
 
 %if %{with tcl}
 %files tcl
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*tcl.so
+%attr(755,root,root) %{_libdir}/whiptcl.so
 %endif
 
 %if %{with python}
 %files -n python-snack
 %defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/*.so
-%{py_sitedir}/*.py[co]
+%attr(755,root,root) %{py_sitedir}/_snackmodule.so
+%{py_sitedir}/snack.py[co]
 %endif
 
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_includedir}/*.h
-
-%files static
+%files -n whiptail
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%attr(755,root,root) %{_bindir}/whiptail
+%{_mandir}/man1/whiptail.1*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -249,6 +244,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.90  2008/08/19 19:26:39  qboosh
+- updated to 0.52.10
+- added URLs
+- updated nopython,make patches, removed obsolete objfree patch
+
 Revision 1.89  2007/02/13 07:16:49  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/newt.spec?r1=1.89&r2=1.90&f=u

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

Reply via email to