automatic version update by autodist [release 20150824-1mamba;Thu Oct 01 2015]

This commit is contained in:
Automatic Build System 2024-01-05 22:29:44 +01:00
parent fa9f24e6b1
commit 0cbeab01c2
2 changed files with 112 additions and 37 deletions

View 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}"])

View File

@ -2,20 +2,32 @@
%define pkgver %(echo %version | tr _ -)
Name: fontforge
Epoch: 1
Version: 20120731_b
Release: 3mamba
Version: 20150824
Release: 1mamba
Summary: An outline font editor
Group: Applications/Fonts
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://fontforge.sourceforge.net/
Source: http://downloads.sourceforge.net/fontforge/fontforge_full-%{pkgver}.tar.bz2
Source1: http://downloads.sourceforge.net/fontforge/fontforge_htdocs-%{pkgver}.tar.bz2
Source: https://github.com/fontforge/fontforge.git/%{version}/fontforge-%{version}.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
Patch0: fontforge-20150228-add_gunicode_to_pkgconfig.patch
License: BSD
## AUTOBUILDREQ-BEGIN
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: libcairo-devel
BuildRequires: libexpat-devel
@ -26,33 +38,26 @@ BuildRequires: libgif-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libICE-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libpango-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libpng-devel
BuildRequires: libpython-devel
BuildRequires: libSM-devel
BuildRequires: libpython27-devel
BuildRequires: libreadline-devel
BuildRequires: libselinux-devel
BuildRequires: libspiro-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtermcap-devel
BuildRequires: libtiff-devel
BuildRequires: libuninameslist-devel
BuildRequires: libuuid-devel
BuildRequires: libX11-devel
BuildRequires: libXau-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: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildConflicts: libfontforge-devel
Requires: potrace
Requires: xdg-utils
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
@ -85,19 +90,22 @@ This package contains static libraries and header files need for development.
%prep
%setup -q -n %{name}-%{pkgver}
mkdir docs
tar xjf %{S:1} -C docs
rm -rf docs/scripts
chmod 644 docs/*.gif docs/*.html docs/*.png
rm -rf docs/flags/CVS
sed -i -e "s,\r,," docs/Big5.txt
sed -i -e "s,\r,," docs/corpchar.txt
#%patch0 -p1
#mkdir docs
#tar xjf %{S:1} -C docs
#rm -rf docs/scripts
#chmod 644 docs/*.gif docs/*.html docs/*.png
#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
%build
export CFLAGS='-DDOCDIR=\"%{_defaultdocdir}/%{name}-%{version}/docs\"'
export LIBS=-lspiro
./bootstrap
#export CFLAGS='-DDOCDIR=\"%{_defaultdocdir}/%{name}-%{version}/docs\"'
export LIBS="-lspiro -ltermcap"
%configure \
--without-freetype-bytecode \
--with-regular-link \
@ -133,11 +141,11 @@ chmod 775 %{buildroot}%{_bindir}/%{name}
%find_lang FontForge
# install icon
install -D -m 644 docs/ffanvil32.png \
%{buildroot}%{_datadir}/icons/crystalsvg/32x32/apps/%{name}.png
install -d -m0755 %{buildroot}%{_datadir}/icons/hicolor/
cp -a desktop/icons/* %{buildroot}%{_datadir}/icons/hicolor/
# install desktop file
install -D -m 644 %{S:2} \
install -D -m 644 desktop/fontforge.desktop \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%post -n %{libname} -p /sbin/ldconfig
@ -153,17 +161,24 @@ install -D -m 644 %{S:2} \
%{_bindir}/fontimage
%{_bindir}/fontlint
%{_bindir}/sfddiff
%{_datadir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_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/fontimage.*
%{_mandir}/man1/fontlint.*
%{_mandir}/man1/sfddiff.*
%{python_sitearch}/fontforge.*
%{python_sitearch}/psMat.*
%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libfontforge.so.*
%{_libdir}/libfontforgeexe.so.*
%{_libdir}/libgdraw.so.*
%{_libdir}/libgioftp.so.*
%{_libdir}/libgunicode.so.*
@ -174,21 +189,62 @@ install -D -m 644 %{S:2} \
%defattr(-,root,root)
%dir %{_includedir}/fontforge
%{_includedir}/fontforge/*.h
%{_libdir}/libfontforge.a
%{_libdir}/libfontforge.la
%{_libdir}/libfontforge.so
%{_libdir}/libfontforgeexe.a
%{_libdir}/libfontforgeexe.la
%{_libdir}/libfontforgeexe.so
%{_libdir}/libgdraw.a
%{_libdir}/libgdraw.la
%{_libdir}/libgdraw.so
%{_libdir}/libgioftp.a
%{_libdir}/libgioftp.la
%{_libdir}/libgioftp.so
%{_libdir}/libgutils.la
%{_libdir}/libgutils.so
%{_libdir}/libgunicode.a
%{_libdir}/libgunicode.la
%{_libdir}/libgunicode.so
%{_libdir}/pkgconfig/%{name}.pc
%doc README-unix README-Unix.html
%doc docs
%{_libdir}/libgutils.a
%{_libdir}/libgutils.la
%{_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
* 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
- python 2.7 mass rebuild