Compare commits

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

23 commits

Author SHA1 Message Date
Fedora Release Engineering
ce88e9df22 xgridfit fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676231 2019-08-08 16:50:47 +00:00
Fedora Release Engineering
611e23da24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:15:12 +00:00
Fedora Release Engineering
16f7bb4ad7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:27:36 +00:00
37018a6bab Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:55 +01:00
9fefb98399
%{python_sitelib} → %{python2_sitelib}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:11:53 +02:00
Fedora Release Engineering
42d6a0812c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:19:56 +00:00
Iryna Shcherbina
52b5c43ab2 Update Python 2 dependency declarations to new packaging standards 2018-02-09 23:48:01 +01:00
Fedora Release Engineering
5665d50b72 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:41:38 +00:00
Karsten Hopp
0c7e1c1690 fix script output so that python3 can use them 2017-11-03 20:25:35 +01:00
Karsten Hopp
947ee5423b fix script output so that python3 can use them 2017-11-03 20:23:36 +01:00
Fedora Release Engineering
9cd9002213 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:09:18 +00:00
Fedora Release Engineering
ee0589db02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:53:26 +00:00
Filipe Rosset
ec1dea6e33 - Rebuilt for new upstream release 2.3, fixes rhbz #xgridfit + spec clean up 2016-12-03 18:36:39 -02:00
Fedora Release Engineering
54f93552df - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 13:11:54 +00:00
Fedora Release Engineering
a156f3e1d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:31:54 +00:00
Dennis Gilmore
7e45d866c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:03:26 +00:00
Dennis Gilmore
cc36c6616a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 00:54:50 -05:00
Dennis Gilmore
495a788719 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 03:16:35 -05:00
Dennis Gilmore
d2a514367a - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 21:44:21 -06:00
Dennis Gilmore
d9ffa68b4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 00:32:52 -05:00
Dennis Gilmore
87999c1d23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:57:02 -06:00
Dennis Gilmore
d1d8a16407 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 23:09:04 -06:00
Nicolas Mailhot
00d8e20c09 bump for python 2.7 2010-07-30 19:15:10 +02:00
5 changed files with 1 additions and 188 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
xgridfit-xgridfit.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
xgridfit fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676231

View file

@ -1 +0,0 @@
73b5bbf484a0761ec878f817b5c15b44 xgridfit-xgridfit.tar.gz

View file

@ -1,26 +0,0 @@
diff -uNr xgridfit-2.2a.orig/Makefile xgridfit-2.2a/Makefile
--- xgridfit-2.2a.orig/Makefile 2010-03-30 17:58:56.000000000 +0200
+++ xgridfit-2.2a/Makefile 2010-06-06 19:04:26.302726506 +0200
@@ -46,7 +46,9 @@
done
@install -d -m 0755 $(DESTDIR)$(MANDIR)/man1
@install -p -m 0644 man/*.1 $(DESTDIR)$(MANDIR)/man1
- @cd python ; python setup.py install --root=$(DESTDIR)/
+ @rm -fr python.tmp ; cp -pr python python.tmp ; sed -i -e "s|@xgridfit_dir@|${MAINDIR}|g" python.tmp/xgflib.py
+ @cd python.tmp ; python setup.py install --root=$(DESTDIR)/
+ @cd - ; rm -fr python.tmp
@echo "Xgridfit installed successfully."
diff -uNr xgridfit-2.2a.orig/python/xgflib.py xgridfit-2.2a/python/xgflib.py
--- xgridfit-2.2a.orig/python/xgflib.py 2010-03-30 17:26:55.000000000 +0200
+++ xgridfit-2.2a/python/xgflib.py 2010-06-06 18:55:45.840596588 +0200
@@ -18,7 +18,7 @@
VERSION = '2.2'
JAVA_EXECUTABLE = 'java'
DISPLAY_DIAGNOSTIC_MESSAGES = False
-XGRIDFIT_DIR = abspath('/usr/local/share/xml/xgridfit/')
+XGRIDFIT_DIR = abspath('@xgridfit_dir@')
XSLT_DIR = abspath(join(XGRIDFIT_DIR, 'lib'))
UTIL_DIR = abspath(join(XGRIDFIT_DIR, 'utils'))
SCHEMA_DIR = abspath(join(XGRIDFIT_DIR, 'schemas'))

View file

@ -1,160 +0,0 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
%global alphatag 20100725cvs
%global patchlevel a
%global archivever %{!?alphatag:%{version}%{?patchlevel}}%{?alphatag:%{name}}
Name: xgridfit
Version: 2.2
Release: 4%{?patchlevel:.%{patchlevel}}%{?alphatag:.%{alphatag}}%{?dist}
Summary: Font hinting tool
# This is where we drop fontforge
Group: Applications/Publishing
License: LGPLv2
URL: http://%{name}.sf.net/
Source0: %{!?alphatag:http://downloads.sourceforge.net/%{name}/}%{name}-%{archivever}.tar.gz
Patch1: %{name}-2.2a-maindir-in-python.patch
BuildArch: noarch
BuildRequires: python2-devel
Requires: %{_bindir}/xsltproc, fontforge, libxml2-python
Requires(post): %{_bindir}/xmlcatalog
Requires(preun): %{_bindir}/xmlcatalog
%description
Xgridfit is a high-level, XML-based language for gridfitting, or hinting,
fonts. The Xgridfit program compiles an XML source file into tables and
instructions that relate to the gridfitting of glyphs. Xgridfit does not
insert these elements into a font itself, but rather relies on FontForge, the
Open-Source font editor, to do so.
%package doc
Group: Documentation
Summary: Font hinting tool use documentation
# Does not really make sense without the tool itself
Requires: %{name} = %{version}-%{release}
%description doc
Xgridfit font hinting tool user documentation.
%prep
%setup -q -n %{name}
%patch1 -p1 -b .mip
%build
%install
rm -fr %{buildroot}
make install DESTDIR=%{buildroot} \
BINDIR=%{_bindir} \
MANDIR=%{_mandir} \
MAINDIR=%{_datadir}/xml/%{name}-%{version}
# Simplify preun/post catalog logic
ln -s catalog.xml \
%{buildroot}%{_datadir}/xml/%{name}-%{version}/schemas/catalog-%{version}.%{release}.xml
%clean
rm -fr %{buildroot}
%post
cd %{_sysconfdir}/xml
[ -e catalog ] || xmlcatalog --noout --create catalog
xmlcatalog --noout --add \
nextCatalog %{_datadir}/xml/%{name}-%{version}/schemas/catalog-%{version}.%{release}.xml "" catalog >/dev/null
:
%preun
xmlcatalog --noout --del \
%{_datadir}/xml/%{name}-%{version}/schemas/catalog-%{version}.%{release}.xml \
%{_sysconfdir}/xml/catalog >/dev/null >/dev/null
:
%files
%defattr(0644,root,root,0755)
%doc COPYING ChangeLog
%{_datadir}/xml/%{name}-%{version}
%{_mandir}/man1/*
%{python_sitelib}/*
%defattr(0755,root,root,0755)
%{_bindir}/*
%files doc
%defattr(0644,root,root,0755)
%doc docs/*
%changelog
* Sun Jul 25 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 2.2-4.a.20100725cvs
Bump to cvs version (required by edrip)
* Sun Jun 6 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 2.2-3.a
Fix hardcoded path in python module
- 2.2-2.a
Add missing requires
* Sat Jun 5 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 2.2-1.a
Major upstream changes (python utilities, namespace, etc)
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- 1.19-2.b
Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Jul 14 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.19-1.b
Rework to use upstream makefile now there is one
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- 1.17-4.a
Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Feb 23 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.17-3.a
global-ization
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.17-2.a
* Fri Jan 30 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.17-1
* Fri Nov 14 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.11-1.a
update for F11 cycle
* Mon Sep 1 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.9-1
Major update, many changes
Only package xsltproc support for now
* Sun May 18 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.6-3
Lots of new makefile goodness
* Thu Mar 13 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.5-2
Fix path munging
* Tue Mar 11 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.5-1
Initial Fedora packaging