automatic version update by autodist [release 20150824-1mamba;Thu Oct 01 2015]
This commit is contained in:
parent
fa9f24e6b1
commit
0cbeab01c2
19
fontforge-20150228-add_gunicode_to_pkgconfig.patch
Normal file
19
fontforge-20150228-add_gunicode_to_pkgconfig.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- fontforge-20150228/m4/fontforge_create_pkg-config_files.m4.orig 2015-03-24 21:18:25.351251209 +0100
|
||||||
|
+++ fontforge-20150228/m4/fontforge_create_pkg-config_files.m4 2015-03-24 21:18:46.373263643 +0100
|
||||||
|
@@ -21,7 +21,6 @@
|
||||||
|
__private_deps=""
|
||||||
|
__private_deps="${__private_deps} -lgioftp"
|
||||||
|
__private_deps="${__private_deps} -lgutils"
|
||||||
|
-__private_deps="${__private_deps} -lgunicode"
|
||||||
|
test x"${i_do_have_giflib}" = xyes && test x"${with_giflib}" != xno && __private_deps="${__private_deps} ${GIFLIB_LIBS}"
|
||||||
|
test x"${i_do_have_libjpeg}" = xyes && test x"${with_libjpeg}" != xno && __private_deps="${__private_deps} ${LIBJPEG_LIBS}"
|
||||||
|
test x"${i_do_have_libpng}" = xyes && test x"${with_libpng}" != xno && __private_deps="${__private_deps} ${LIBPNG_LIBS}"
|
||||||
|
@@ -41,7 +40,7 @@
|
||||||
|
AC_SUBST([LIBFONTFORGE_PKGCONFIG_VERSION],["${__cleaned_version}"])
|
||||||
|
AC_SUBST([LIBFONTFORGE_PKGCONFIG_REQUIRES],[])
|
||||||
|
AC_SUBST([LIBFONTFORGE_PKGCONFIG_REQUIRES_PRIVATE],["${__pkg_deps}"])
|
||||||
|
-AC_SUBST([LIBFONTFORGE_PKGCONFIG_LIBS],["-L${libdir} -lfontforge"])
|
||||||
|
+AC_SUBST([LIBFONTFORGE_PKGCONFIG_LIBS],["-L${libdir} -lfontforge -lgunicode"])
|
||||||
|
AC_SUBST([LIBFONTFORGE_PKGCONFIG_LIBS_PRIVATE],["${__private_deps}"])
|
||||||
|
|
||||||
|
AC_SUBST([LIBFONTFORGEEXE_PKGCONFIG_VERSION],["${__cleaned_version}"])
|
130
fontforge.spec
130
fontforge.spec
@ -2,20 +2,32 @@
|
|||||||
%define pkgver %(echo %version | tr _ -)
|
%define pkgver %(echo %version | tr _ -)
|
||||||
Name: fontforge
|
Name: fontforge
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 20120731_b
|
Version: 20150824
|
||||||
Release: 3mamba
|
Release: 1mamba
|
||||||
Summary: An outline font editor
|
Summary: An outline font editor
|
||||||
Group: Applications/Fonts
|
Group: Applications/Fonts
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://fontforge.sourceforge.net/
|
URL: http://fontforge.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/fontforge/fontforge_full-%{pkgver}.tar.bz2
|
Source: https://github.com/fontforge/fontforge.git/%{version}/fontforge-%{version}.tar.bz2
|
||||||
Source1: http://downloads.sourceforge.net/fontforge/fontforge_htdocs-%{pkgver}.tar.bz2
|
#Source: http://downloads.sourceforge.net/fontforge/fontforge_full-%{pkgver}.tar.bz2
|
||||||
|
#Source1: http://downloads.sourceforge.net/fontforge/fontforge_htdocs-%{pkgver}.tar.bz2
|
||||||
Source2: %{name}-desktop
|
Source2: %{name}-desktop
|
||||||
|
Patch0: fontforge-20150228-add_gunicode_to_pkgconfig.patch
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: libSM-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXau-devel
|
||||||
|
BuildRequires: libXdmcp-devel
|
||||||
|
BuildRequires: libXext-devel
|
||||||
|
BuildRequires: libXft-devel
|
||||||
|
BuildRequires: libXi-devel
|
||||||
|
BuildRequires: libXrender-devel
|
||||||
|
BuildRequires: libbsd-devel
|
||||||
BuildRequires: libbzip2-devel
|
BuildRequires: libbzip2-devel
|
||||||
BuildRequires: libcairo-devel
|
BuildRequires: libcairo-devel
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
@ -26,33 +38,26 @@ BuildRequires: libgif-devel
|
|||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libgraphite2-devel
|
BuildRequires: libgraphite2-devel
|
||||||
BuildRequires: libharfbuzz-devel
|
BuildRequires: libharfbuzz-devel
|
||||||
BuildRequires: libICE-devel
|
|
||||||
BuildRequires: libjbig-devel
|
BuildRequires: libjbig-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libltdl-devel
|
||||||
BuildRequires: liblzma-devel
|
BuildRequires: liblzma-devel
|
||||||
BuildRequires: libpango-devel
|
BuildRequires: libpango-devel
|
||||||
BuildRequires: libpthread-stubs-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython-devel
|
||||||
BuildRequires: libSM-devel
|
BuildRequires: libpython27-devel
|
||||||
|
BuildRequires: libreadline-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libspiro-devel
|
BuildRequires: libspiro-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libtermcap-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
BuildRequires: libuninameslist-devel
|
BuildRequires: libuninameslist-devel
|
||||||
BuildRequires: libuuid-devel
|
BuildRequires: libuuid-devel
|
||||||
BuildRequires: libX11-devel
|
|
||||||
BuildRequires: libXau-devel
|
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
BuildRequires: libXdmcp-devel
|
|
||||||
BuildRequires: libXext-devel
|
|
||||||
BuildRequires: libXft-devel
|
|
||||||
BuildRequires: libXi-devel
|
|
||||||
BuildRequires: libxkbfile-devel
|
|
||||||
BuildRequires: libxkbui-devel
|
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libXrender-devel
|
|
||||||
BuildRequires: libXt-devel
|
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildConflicts: libfontforge-devel
|
||||||
Requires: potrace
|
Requires: potrace
|
||||||
Requires: xdg-utils
|
Requires: xdg-utils
|
||||||
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
@ -85,19 +90,22 @@ This package contains static libraries and header files need for development.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{pkgver}
|
%setup -q -n %{name}-%{pkgver}
|
||||||
mkdir docs
|
#%patch0 -p1
|
||||||
tar xjf %{S:1} -C docs
|
|
||||||
rm -rf docs/scripts
|
#mkdir docs
|
||||||
chmod 644 docs/*.gif docs/*.html docs/*.png
|
#tar xjf %{S:1} -C docs
|
||||||
rm -rf docs/flags/CVS
|
#rm -rf docs/scripts
|
||||||
sed -i -e "s,\r,," docs/Big5.txt
|
#chmod 644 docs/*.gif docs/*.html docs/*.png
|
||||||
sed -i -e "s,\r,," docs/corpchar.txt
|
#rm -rf docs/flags/CVS
|
||||||
|
#sed -i -e "s,\r,," docs/Big5.txt
|
||||||
|
#sed -i -e "s,\r,," docs/corpchar.txt
|
||||||
|
|
||||||
#tar xzf docs/cidmaps.tgz
|
#tar xzf docs/cidmaps.tgz
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS='-DDOCDIR=\"%{_defaultdocdir}/%{name}-%{version}/docs\"'
|
./bootstrap
|
||||||
export LIBS=-lspiro
|
#export CFLAGS='-DDOCDIR=\"%{_defaultdocdir}/%{name}-%{version}/docs\"'
|
||||||
|
export LIBS="-lspiro -ltermcap"
|
||||||
%configure \
|
%configure \
|
||||||
--without-freetype-bytecode \
|
--without-freetype-bytecode \
|
||||||
--with-regular-link \
|
--with-regular-link \
|
||||||
@ -133,11 +141,11 @@ chmod 775 %{buildroot}%{_bindir}/%{name}
|
|||||||
%find_lang FontForge
|
%find_lang FontForge
|
||||||
|
|
||||||
# install icon
|
# install icon
|
||||||
install -D -m 644 docs/ffanvil32.png \
|
install -d -m0755 %{buildroot}%{_datadir}/icons/hicolor/
|
||||||
%{buildroot}%{_datadir}/icons/crystalsvg/32x32/apps/%{name}.png
|
cp -a desktop/icons/* %{buildroot}%{_datadir}/icons/hicolor/
|
||||||
|
|
||||||
# install desktop file
|
# install desktop file
|
||||||
install -D -m 644 %{S:2} \
|
install -D -m 644 desktop/fontforge.desktop \
|
||||||
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
@ -153,17 +161,24 @@ install -D -m 644 %{S:2} \
|
|||||||
%{_bindir}/fontimage
|
%{_bindir}/fontimage
|
||||||
%{_bindir}/fontlint
|
%{_bindir}/fontlint
|
||||||
%{_bindir}/sfddiff
|
%{_bindir}/sfddiff
|
||||||
%{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
|
%{_datadir}/%{name}/*
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/icons/crystalsvg/*/apps/%{name}.png
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||||
|
%{_datadir}/icons/hicolor/scalable/apps/fontforge.svg
|
||||||
|
%{_datadir}/icons/hicolor/src/icon-*-apps-fontforge.svg
|
||||||
|
%{_datadir}/mime/packages/fontforge.xml
|
||||||
%{_mandir}/man1/%{name}.*
|
%{_mandir}/man1/%{name}.*
|
||||||
%{_mandir}/man1/fontimage.*
|
%{_mandir}/man1/fontimage.*
|
||||||
%{_mandir}/man1/fontlint.*
|
%{_mandir}/man1/fontlint.*
|
||||||
%{_mandir}/man1/sfddiff.*
|
%{_mandir}/man1/sfddiff.*
|
||||||
|
%{python_sitearch}/fontforge.*
|
||||||
|
%{python_sitearch}/psMat.*
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libfontforge.so.*
|
%{_libdir}/libfontforge.so.*
|
||||||
|
%{_libdir}/libfontforgeexe.so.*
|
||||||
%{_libdir}/libgdraw.so.*
|
%{_libdir}/libgdraw.so.*
|
||||||
%{_libdir}/libgioftp.so.*
|
%{_libdir}/libgioftp.so.*
|
||||||
%{_libdir}/libgunicode.so.*
|
%{_libdir}/libgunicode.so.*
|
||||||
@ -174,21 +189,62 @@ install -D -m 644 %{S:2} \
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/fontforge
|
%dir %{_includedir}/fontforge
|
||||||
%{_includedir}/fontforge/*.h
|
%{_includedir}/fontforge/*.h
|
||||||
|
%{_libdir}/libfontforge.a
|
||||||
%{_libdir}/libfontforge.la
|
%{_libdir}/libfontforge.la
|
||||||
%{_libdir}/libfontforge.so
|
%{_libdir}/libfontforge.so
|
||||||
|
%{_libdir}/libfontforgeexe.a
|
||||||
|
%{_libdir}/libfontforgeexe.la
|
||||||
|
%{_libdir}/libfontforgeexe.so
|
||||||
|
%{_libdir}/libgdraw.a
|
||||||
%{_libdir}/libgdraw.la
|
%{_libdir}/libgdraw.la
|
||||||
%{_libdir}/libgdraw.so
|
%{_libdir}/libgdraw.so
|
||||||
|
%{_libdir}/libgioftp.a
|
||||||
%{_libdir}/libgioftp.la
|
%{_libdir}/libgioftp.la
|
||||||
%{_libdir}/libgioftp.so
|
%{_libdir}/libgioftp.so
|
||||||
%{_libdir}/libgutils.la
|
%{_libdir}/libgunicode.a
|
||||||
%{_libdir}/libgutils.so
|
|
||||||
%{_libdir}/libgunicode.la
|
%{_libdir}/libgunicode.la
|
||||||
%{_libdir}/libgunicode.so
|
%{_libdir}/libgunicode.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/libgutils.a
|
||||||
%doc README-unix README-Unix.html
|
%{_libdir}/libgutils.la
|
||||||
%doc docs
|
%{_libdir}/libgutils.so
|
||||||
|
%dir %{_docdir}/fontforge
|
||||||
|
%{_docdir}/fontforge/*
|
||||||
|
%{_docdir}/fontforge/.htaccess
|
||||||
|
%{_libdir}/pkgconfig/lib%{name}.pc
|
||||||
|
%{_libdir}/pkgconfig/lib%{name}exe.pc
|
||||||
|
#%doc README-unix README-Unix.html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 01 2015 Automatic Build System <autodist@mambasoft.it> 20150824-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Jun 25 2015 Automatic Build System <autodist@mambasoft.it> 20150612-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 20150430-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Apr 03 2015 Automatic Build System <autodist@mambasoft.it> 20150330-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Mar 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20150228-2mamba
|
||||||
|
- upstream patch to fix pkgconfig and make install
|
||||||
|
|
||||||
|
* Sun Mar 08 2015 Automatic Build System <autodist@mambasoft.it> 20150228-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Nov 27 2014 Automatic Build System <autodist@mambasoft.it> 20141126-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Oct 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20141014-1mamba
|
||||||
|
- update to 20141014
|
||||||
|
|
||||||
|
* Sun Jul 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140101-2mamba
|
||||||
|
- rebuilt with -ltermcap to fix link with readline
|
||||||
|
|
||||||
|
* Sat Feb 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140101-1mamba
|
||||||
|
- update to 20140101
|
||||||
|
|
||||||
* Thu May 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20120731_b-3mamba
|
* Thu May 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20120731_b-3mamba
|
||||||
- python 2.7 mass rebuild
|
- python 2.7 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user