summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 19:50:07 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 19:50:07 -0700
commitc54eeed6d0f58f2599c1717dfd6be113a8b1a867 (patch)
treee4fe13f7bfeb24dfff8380aa78aa520296c7babd
parent71788ec530de323360c7c139d6fe91b62f44d767 (diff)
downloadlibXfont-c54eeed6d0f58f2599c1717dfd6be113a8b1a867.tar.gz
libXfont-c54eeed6d0f58f2599c1717dfd6be113a8b1a867.tar.bz2
libXfont-c54eeed6d0f58f2599c1717dfd6be113a8b1a867.zip
-rw-r--r--packaging/libXfont.spec73
1 files changed, 73 insertions, 0 deletions
diff --git a/packaging/libXfont.spec b/packaging/libXfont.spec
new file mode 100644
index 0000000..5cfbe8f
--- /dev/null
+++ b/packaging/libXfont.spec
@@ -0,0 +1,73 @@
+Name: libXfont
+Version: 1.4.5
+Release: 0
+License: MIT
+Summary: X font handling library for server and utilities
+Url: http://xorg.freedesktop.org/
+Group: Development/Libraries/C and C++
+
+#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXfont
+#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXfont/
+Source: %{name}-%{version}.tar.bz2
+#git#BuildRequires: autoconf >= 2.60, automake, libtool
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(fontenc)
+BuildRequires: pkgconfig(fontsproto)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(xorg-macros) >= 1.10
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xtrans)
+BuildRequires: pkgconfig(zlib)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+libXfont provides the core of the legacy X11 font system, handling
+the index files (fonts.dir, fonts.alias, fonts.scale), the various
+font file formats, and rasterizing them. It is used by the X servers,
+the X Font Server (xfs), and some font utilities (bdftopcf for
+instance), but should not be used by normal X11 clients. X11 clients
+access fonts via either the new APIs in libXft, or the legacy APIs in
+libX11.
+
+%package devel
+Summary: Development files for the X font handling library
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+libXfont provides the core of the legacy X11 font system, handling
+the index files (fonts.dir, fonts.alias, fonts.scale), the various
+font file formats, and rasterizing them. It is used by the X servers,
+the X Font Server (xfs), and some font utilities (bdftopcf for
+instance), but should not be used by normal X11 clients. X11 clients
+access fonts via either the new APIs in libXft, or the legacy APIs in
+libX11.
+
+This package contains the development headers for the library found
+in %{name}.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_libdir}/libXfont.so.1*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/X11/*
+%{_libdir}/libXfont.so
+%{_libdir}/pkgconfig/xfont.pc
+
+%changelog