Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Paulo Roma Cavalcanti
d3eac77848 Update to latest version. 2015-05-30 05:46:43 -03:00
3 changed files with 17 additions and 13 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ xpaint-2.9.2.tar.bz2
/xpaint-2.9.8.1.tar.bz2
/xpaint-2.9.8.3.tar.bz2
/xpaint-2.9.9.4.tar.bz2
/xpaint-2.9.10.3.tar.bz2

View file

@ -1 +1 @@
c9d14260a095b96f82b1aa6292816db6 xpaint-2.9.9.4.tar.bz2
75bf66eb1d547f223bb87b166f2f0ab4 xpaint-2.9.10.3.tar.bz2

View file

@ -5,8 +5,8 @@
Summary: An X Window System image editing or paint program
Name: xpaint
Version: 2.9.9.4
Release: 3%{?dist}
Version: 2.9.10.3
Release: 2%{?dist}
License: GPLv3+
Group: Applications/Multimedia
URL: http://sourceforge.net/projects/sf-xpaint
@ -25,7 +25,7 @@ BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXp-devel
BuildRequires: Xaw3d-devel
BuildRequires: libXaw3dXft-devel
BuildRequires: libXaw3dXft-devel >= 1.6.2d
%{?with_libpgf:BuildRequires: libpgf}
%{?with_neXtaw:BuildRequires: neXtaw-devel}
Requires: cups, gv, netpbm, psutils
@ -59,9 +59,6 @@ some support for batch processing.
%prep
%setup -q
sed -i -e 's|-lXext|-lXext -lfontconfig|g' Local.config
sed -i -e 's|/lib |/%{_lib} |g' Local.config
sed -i -e 's|@XPMDIR@|%{_prefix}|g' Local.config
sed -i -e 's|/usr/lib|%{_libdir}|g' configure
sed -i -e 's|/usr/lib|%{_libdir}|g' configure.old
sed -i -e 's|ln -s xpaint|ln -sf xpaint|g' configure.old
@ -74,7 +71,7 @@ for f in ChangeLog README; do
done
%build
sed -i -e "s/\(XCOMM CDEBUGFLAGS =\)/CDEBUGFLAGS = $RPM_OPT_FLAGS\nCXXDEBUGFLAGS = $RPM_OPT_FLAGS/g" Local.config
sed -i -e "s|XCOMM CDEBUGFLAGS =|CDEBUGFLAGS = $RPM_OPT_FLAGS\nCXXDEBUGFLAGS = $RPM_OPT_FLAGS|g" Local.config
# this is for debugging, to save the temporary file Imakefile.c
touch fake
ln fake Imakefile.c
@ -142,6 +139,12 @@ rm -rf %{buildroot}
%{_mandir}/man1/pdfconcat.1.gz
%changelog
* Fri May 15 2015 Paulo Roma <roma@lcg.ufrj.br> - 2.9.10.3-2
- Removed some deprecated sed replacements.
* Sun May 10 2015 Paulo Roma <roma@lcg.ufrj.br> - 2.9.10.3-1
- Update to 2.9.10.3
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.9.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
@ -184,7 +187,7 @@ rm -rf %{buildroot}
- Updated to 2.9.8.1
- Removed deprecated gcc 4.5 patch.
* Sat Nov 07 2010 Paulo Roma <roma@lcg.ufrj.br> 2.9.8-1
* Sun Nov 07 2010 Paulo Roma <roma@lcg.ufrj.br> 2.9.8-1
- Update to 2.9.8
- Patched for gcc 4.5
@ -200,7 +203,7 @@ rm -rf %{buildroot}
- BRs: xaw/xaw3d are optional.
- Added BR libXft-devel.
* Sat Feb 14 2010 Paulo Roma <roma@lcg.ufrj.br> 2.8.16-1
* Sun Feb 14 2010 Paulo Roma <roma@lcg.ufrj.br> 2.8.16-1
- Update to 2.8.16
- Removed obsolete patch text-ctrlH-segfault.
- Source is no longer stripped by default.
@ -226,10 +229,10 @@ rm -rf %{buildroot}
- Updated to 2.8.13.1
- Removed emacs dependency: #BUG 542967
* Wed Nov 19 2009 Paulo Roma <roma@lcg.ufrj.br> 2.8.7.3-1
* Thu Nov 19 2009 Paulo Roma <roma@lcg.ufrj.br> 2.8.7.3-1
- Updated to 2.8.7.3
* Wed Nov 16 2009 Paulo Roma <roma@lcg.ufrj.br> 2.8.7.2-1
* Mon Nov 16 2009 Paulo Roma <roma@lcg.ufrj.br> 2.8.7.2-1
- Updated to 2.8.7.2
* Wed Nov 04 2009 Paulo Roma <roma@lcg.ufrj.br> 2.8.7-1
@ -246,7 +249,7 @@ rm -rf %{buildroot}
- Updated to 2.8.6.1
- Added devel subpackage as noarch.
* Wed Oct 22 2009 Paulo Roma <roma@lcg.ufrj.br> 2.8.5-8
* Thu Oct 22 2009 Paulo Roma <roma@lcg.ufrj.br> 2.8.5-8
- Updated to 2.8.5
- Using %%configure.
- Removed rpath.