Author: qboosh                       Date: Tue Oct 17 20:43:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.7.8.1, removed obsolete errno patch
- switched to modular xorg

---- Files affected:
SPECS:
   xpaint.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/xpaint.spec
diff -u SPECS/xpaint.spec:1.40 SPECS/xpaint.spec:1.41
--- SPECS/xpaint.spec:1.40      Wed Apr 19 20:02:37 2006
+++ SPECS/xpaint.spec   Tue Oct 17 22:43:37 2006
@@ -7,24 +7,26 @@
 Summary(pt_BR):        Programa de desenho para X
 Summary(tr):   X altýnda boyama programý
 Name:          xpaint
-Version:       2.6.2
-Release:       8
+Version:       2.7.8.1
+Release:       1
 License:       MIT
 Group:         X11/Applications/Graphics
-Source0:       http://dl.sourceforge.net/sf-xpaint/%{name}-%{version}.tar.gz
-# Source0-md5: 9f22460f15a189721573d88454ce3d41
+Source0:       http://dl.sourceforge.net/sf-xpaint/%{name}-%{version}.tar.bz2
+# Source0-md5: e608680bd362531231af521f0df377ae
 Source1:       %{name}.desktop
 Source2:       %{name}.png
-Patch0:                %{name}-errno.patch
-#Icon:         xpaint.xpm
 URL:           http://sf-xpaint.sourceforge.net/
-BuildRequires: XFree86-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel >= 1.0.8
 BuildRequires: libtiff-devel
+BuildRequires: xorg-cf-files
+BuildRequires: xorg-lib-libXaw-devel
+BuildRequires: xorg-lib-libXpm-devel >= 3.4c
+BuildRequires: xorg-util-imake
+Requires:      xorg-lib-libXt >= 1.0.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _appdefsdir     /usr/X11R6/lib/X11/app-defaults
+%define                _appdefsdir     /usr/share/X11/app-defaults
 
 %description
 XPaint is a color image editing tool which features most standard
@@ -67,16 +69,17 @@
 bir programdýr.
 
 %prep
-%setup -q -n %{name}
-%patch0 -p1
+%setup -q
 
 %build
 xmkmf
-%{__make} Makefiles
+# to get stable results even if Xaw3d/neXtaw is installed
+./configure xaw
 %{__make} \
        CC="%{__cc}" \
        CXXDEBUGFLAGS="%{rpmcflags}" \
-       CDEBUGFLAGS="%{rpmcflags}"
+       CDEBUGFLAGS="%{rpmcflags}" \
+       XPM_INCLUDE="-I/usr/include/X11"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,8 +87,9 @@
 
 %{__make} install install.man \
        DESTDIR=$RPM_BUILD_ROOT \
-       MANDIR=%{_mandir}/man1 \
-       BINDIR=%{_bindir}
+       BINDIR=%{_bindir} \
+       CONFDIR=%{_datadir}/X11 \
+       MANDIR=%{_mandir}/man1
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
@@ -98,9 +102,23 @@
 %doc Doc/CHANGES README README.PNG TODO Doc/Operator.doc ChangeLog 
Doc/sample.Xdefaults
 %attr(755,root,root) %{_bindir}/xpaint
 %{_appdefsdir}/XPaint
-%{_mandir}/man1/*
-%{_desktopdir}/*
-%{_pixmapsdir}/*
+%lang(es) %{_appdefsdir}/XPaint_es
+%lang(fr) %{_appdefsdir}/XPaint_fr
+%dir %{_datadir}/xpaint
+%{_datadir}/xpaint/XPaintIcon.xpm
+%{_datadir}/xpaint/c_scripts
+%{_datadir}/xpaint/include
+%dir %{_datadir}/xpaint/help
+%{_datadir}/xpaint/help/Help
+%lang(es) %{_datadir}/xpaint/help/Help_es
+%lang(fr) %{_datadir}/xpaint/help/Help_fr
+%dir %{_datadir}/xpaint/messages
+%{_datadir}/xpaint/messages/Messages
+%lang(es) %{_datadir}/xpaint/messages/Messages_es
+%lang(fr) %{_datadir}/xpaint/messages/Messages_fr
+%{_mandir}/man1/xpaint.1*
+%{_desktopdir}/xpaint.desktop
+%{_pixmapsdir}/xpaint.png
 
 %define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -108,6 +126,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2006/10/17 20:43:37  qboosh
+- updated to 2.7.8.1, removed obsolete errno patch
+- switched to modular xorg
+
 Revision 1.40  2006/04/19 18:02:37  megabajt
 - updated URL and Source0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xpaint.spec?r1=1.40&r2=1.41&f=u

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

Reply via email to