add packaging accepted/tizen/20130503.222536 accepted/trunk/20130325.212421 submit/tizen/20130503.223306 submit/tizen/20130509.180809 submit/trunk/20130325.083007
authorAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 02:50:07 +0000 (19:50 -0700)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 02:50:07 +0000 (19:50 -0700)
packaging/libXfont.spec [new file with mode: 0644]

diff --git a/packaging/libXfont.spec b/packaging/libXfont.spec
new file mode 100644 (file)
index 0000000..5cfbe8f
--- /dev/null
@@ -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