[libXaw3dXft/f20] Initial version for f20.
Paulo Roma Cavalcanti
roma at fedoraproject.org
Sat Sep 7 18:45:01 UTC 2013
commit e810469f4146bd2cddf4fd688d3b0f886a31b5c8
Author: Paulo Roma Cavalcanti <promac at gmail.com>
Date: Sat Sep 7 15:44:29 2013 -0300
Initial version for f20.
.gitignore | 1 +
libXaw3dXft.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c1b930e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libXaw3dXft-1.6.2b.tar.bz2
diff --git a/libXaw3dXft.spec b/libXaw3dXft.spec
new file mode 100644
index 0000000..c4d6769
--- /dev/null
+++ b/libXaw3dXft.spec
@@ -0,0 +1,73 @@
+Summary: An extended version of Xaw3d with support for UTF8
+Name: libXaw3dXft
+Version: 1.6.2b
+Release: 1%{?dist}
+License: GPLv3+
+Group: System Environment/Libraries
+URL: http://sourceforge.net/projects/sf-xpaint
+Source0: http://sourceforge.net/projects/sf-xpaint/files/libxaw3dxft/%{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: libX11-devel
+BuildRequires: libXmu-devel
+BuildRequires: libXft-devel
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+Xaw3dxft is an extended version of Xaw3d, developed as part of xpaint
+with support for UTF8 input and UTF8 encoding of text, and rendering
+text with the Freetype library and Truetype fonts.
+
+It should be mostly compatible with the original Xaw3d library, except
+for font management: everything using the old X11 core font routines
+should be replaced by their freetype equivalents.
+
+%package devel
+Summary: Development files for %{name}
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the libraries and header files that are needed
+for writing applications with %{name}.
+
+%prep
+%setup -q
+sed -i -e 's|/usr/lib|%{_libdir}|g' configure
+
+%build
+%configure --enable-internationalization --enable-arrow-scrollbars
+make
+
+%install
+rm -rf %{buildroot}
+%makeinstall
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README README.xaw3d COPYING
+%{_libdir}/libXaw3dxft*.so.*
+
+%files devel
+%doc
+%{_includedir}/X11/Xaw3dxft
+%{_libdir}/libXaw3dxft.so
+%{_libdir}/pkgconfig/xaw3dxft.pc
+%exclude %{_libdir}/libXaw3dxft.la
+%exclude %{_libdir}/libXaw3dxft.a
+%exclude %{_datadir}/doc
+
+%changelog
+
+* Tue Sep 03 2013 Paulo Roma <roma at lcg.ufrj.br> 1.6.2b-1
+- Initial version.
+
diff --git a/sources b/sources
index e69de29..32f307c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e5a4c44efb7857bc7e614e0189d5890e libXaw3dXft-1.6.2b.tar.bz2
More information about the scm-commits
mailing list