[mingw-fontconfig: 2/16] Initial import.

epienbro epienbro at fedoraproject.org
Tue Mar 6 18:45:24 UTC 2012


commit a18bbbc7f2535a41b5455e3516a378bb267c205f
Author: Richard W.M. Jones <rjones at fedoraproject.org>
Date:   Tue Mar 10 22:45:39 2009 +0000

    Initial import.

 .cvsignore                                    |    1 +
 import.log                                    |    1 +
 mingw32-fontconfig-2.6.0-remove-logfile.patch |   11 +++
 mingw32-fontconfig.spec                       |  118 +++++++++++++++++++++++++
 sources                                       |    1 +
 5 files changed, 132 insertions(+), 0 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..daff4de 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+fontconfig-2.6.0.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..7708830
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+mingw32-fontconfig-2_6_0-9_fc11:HEAD:mingw32-fontconfig-2.6.0-9.fc11.src.rpm:1236725108
diff --git a/mingw32-fontconfig-2.6.0-remove-logfile.patch b/mingw32-fontconfig-2.6.0-remove-logfile.patch
new file mode 100644
index 0000000..2b784c9
--- /dev/null
+++ b/mingw32-fontconfig-2.6.0-remove-logfile.patch
@@ -0,0 +1,11 @@
+--- fontconfig-2.6.0.orig/doc/Makefile.am	2007-11-06 00:05:37.000000000 +0000
++++ fontconfig-2.6.0/doc/Makefile.am	2008-09-21 13:50:38.000000000 +0100
+@@ -121,7 +121,7 @@
+ 	$(DOC2MAN) -o devel-man local-fontconfig-devel.sgml && \
+ 	mv devel-man/manpage.refs func.refs && \
+ 	mv devel-man/*.3 . && \
+-	$(RM) devel-man/manpage.links && \
++	$(RM) devel-man/manpage.links devel-man/manpage.log && \
+ 	rmdir devel-man
+ 
+ local-fontconfig-devel.sgml: fontconfig-devel.sgml
diff --git a/mingw32-fontconfig.spec b/mingw32-fontconfig.spec
new file mode 100644
index 0000000..8e3b118
--- /dev/null
+++ b/mingw32-fontconfig.spec
@@ -0,0 +1,118 @@
+%define __strip %{_mingw32_strip}
+%define __objdump %{_mingw32_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw32_findrequires}
+%define __find_provides %{_mingw32_findprovides}
+
+Name:           mingw32-fontconfig
+Version:        2.6.0
+Release:        9%{?dist}
+Summary:        MinGW Windows Fontconfig library
+
+License:        MIT
+URL:            http://fontconfig.org
+Source0:        http://fontconfig.org/release/fontconfig-%{version}.tar.gz
+Group:          Development/Libraries
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Patch0:         mingw32-fontconfig-2.6.0-remove-logfile.patch
+
+BuildArch:      noarch
+
+BuildRequires:  mingw32-filesystem >= 40
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+BuildRequires:  mingw32-dlfcn
+BuildRequires:  mingw32-expat
+BuildRequires:  mingw32-freetype
+BuildRequires:  mingw32-iconv
+BuildRequires:  mingw32-libxml2
+BuildRequires:  pkgconfig
+BuildRequires:  docbook-utils
+BuildRequires:  automake, autoconf, libtool
+
+Requires:       pkgconfig
+
+
+%description
+MinGW Windows Fontconfig library.
+
+
+%prep
+%setup -q -n fontconfig-%{version}
+%patch0 -p1
+libtoolize --force --copy
+autoreconf
+
+
+%build
+PATH="%{_mingw32_bindir}:$PATH" \
+%{_mingw32_configure} --with-arch=i686
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make DESTDIR=$RPM_BUILD_ROOT install
+
+rm -f $RPM_BUILD_ROOT/%{_mingw32_libdir}/charset.alias
+
+# Remove static library.
+rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libfontconfig.a
+
+# Remove duplicate manpages.
+rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_mingw32_bindir}/fc-cache.exe
+%{_mingw32_bindir}/fc-cat.exe
+%{_mingw32_bindir}/fc-list.exe
+%{_mingw32_bindir}/fc-match.exe
+%{_mingw32_bindir}/libfontconfig-1.dll
+%{_mingw32_libdir}/fontconfig.def
+%{_mingw32_libdir}/libfontconfig.dll.a
+%{_mingw32_libdir}/libfontconfig.la
+%{_mingw32_libdir}/pkgconfig/fontconfig.pc
+%{_mingw32_includedir}/fontconfig/
+%{_mingw32_sysconfdir}/fonts/
+%{_mingw32_datadir}/doc/fontconfig
+
+%changelog
+* Fri Feb 20 2009 Richard W.M. Jones <rjones at redhat.com> - 2.6.0-9
+- Rebuild for mingw32-gcc 4.4
+
+* Fri Feb  6 2009 Richard W.M. Jones <rjones at redhat.com> - 2.6.0-8
+- Include license.
+
+* Fri Jan 30 2009 Richard W.M. Jones <rjones at redhat.com> - 2.6.0-7
+- Requires pkgconfig.
+
+* Fri Jan 23 2009 Richard W.M. Jones <rjones at redhat.com> - 2.6.0-6
+- Use _smp_mflags.
+- Rebuild libtool configuration.
+- More BRs suggested by auto-buildrequires.
+
+* Wed Sep 24 2008 Richard W.M. Jones <rjones at redhat.com> - 2.6.0-5
+- Rename mingw -> mingw32.
+
+* Sun Sep 21 2008 Richard W.M. Jones <rjones at redhat.com> - 2.6.0-4
+- Remove duplicate manpages.
+- Patch to delete logfile left when building (unused) manpages.
+
+* Thu Sep 11 2008 Daniel P. Berrange <berrange at redhat.com> - 2.6.0-3
+- Add mingw_bindir to $PATH for freetype-config script
+
+* Wed Sep 10 2008 Richard W.M. Jones <rjones at redhat.com> - 2.6.0-2
+- Remove static library.
+- +BR mingw-libxml2.
+
+* Tue Sep  9 2008 Daniel P. Berrange <berrange at redhat.com> - 2.6.0-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..dc9008e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ab54ec1d4ddd836313fdbc0cd5299d6d  fontconfig-2.6.0.tar.gz


More information about the scm-commits mailing list