- Add transfig-3.2.5-bitmap.patch, tweak permission on sources (BZ

#209865).
This commit is contained in:
corsepiu 2008-12-20 03:47:10 +00:00
parent afa8595843
commit bae28ffa59
2 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -Naur transfig.3.2.5-modularX/fig2dev/Imakefile transfig.3.2.5/fig2dev/Imakefile
--- transfig.3.2.5-modularX/fig2dev/Imakefile 2008-11-26 10:02:04.000000000 +0100
+++ transfig.3.2.5/fig2dev/Imakefile 2008-11-26 10:02:55.000000000 +0100
@@ -229,7 +229,7 @@
else (set -x; $(MKDIRHIER) $(DESTDIR)$(XFIGLIBDIR)/bitmaps ); fi ; \
echo Copying bitmap files for tk to $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \
for f in * ; do \
- $(INSTALL) -c $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \
+ $(INSTALL) -c $(INSTDATFLAGS) $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \
done) ;
install.all::

View File

@ -1,13 +1,14 @@
Summary: A utility for converting FIG files (made by xfig) to other formats.
Name: transfig
Version: 3.2.5
Release: 4%{?dist}
Release: 5%{?dist}
Epoch: 1
License: MIT
Group: Applications/Multimedia
Source: ftp://www-epb.lbl.gov/xfig/%{name}.%{version}.tar.gz
Patch5: transfig-3.2.5-modularX.patch
Patch6: transfig-3.2.5-bitmap.patch
Requires: ghostscript
@ -32,6 +33,9 @@ figures into certain graphics languages.
%setup -q -n %{name}.%{version}
%patch5 -p1 -b .modularX
%patch6 -p1 -b .bitmap
# fix source permissions
find -type f -exec chmod -x {} \;
%build
xmkmf
@ -53,7 +57,7 @@ done
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc CHANGES NOTES README LATEX.AND.XFIG
%{_bindir}/transfig
%{_bindir}/fig2dev
@ -65,6 +69,9 @@ rm -rf %{buildroot}
%{_datadir}/fig2dev
%changelog
* Sat Dec 20 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:3.2.5-5
- Add transfig-3.2.5-bitmap.patch, tweak permission on sources (BZ #209865).
* Wed Sep 10 2008 Stepan Kasal <skasal@redhat.com> - 1:3.2.5-4
- remove transfig.3.2.4-pstex.patch, which reintroduced #164140
at the update to 3.2.5