Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
mlterm.import4819
mlterm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mlterm.spec of Package mlterm.import4819
# # spec file for package mlterm # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: mlterm BuildRequires: coreutils fribidi-devel gcc-c++ giflib-devel gtk2-devel libotf-devel libtiff-devel m17n-lib-devel scim-devel uim-devel update-desktop-files wordcut-devel %if 0%{?suse_version} > 1130 BuildRequires: utempter-devel %else BuildRequires: utempter %endif License: BSD3c(or similar) Group: System/X11/Terminals AutoReqProv: on Provides: locale(xorg-x11:ja;ko;zh;ar;he) Version: 3.0.1 Release: 14.<RELEASE15> Url: http://mlterm.sourceforge.net/ # Source0: http://prdownloads.sourceforge.net/mlterm/mlterm-2.7.0.tar.bz2 # cvs -d :pserver:anonymous@mlterm.cvs.sourceforge.net:/cvsroot/mlterm login # (hit Enter) # cvs -d :pserver:anonymous@mlterm.cvs.sourceforge.net:/cvsroot/mlterm checkout mlterm # cvs -z3 -d:ext:mfabian@mlterm.cvs.sourceforge.net:/cvsroot/mlterm co mlterm # tar jcvf mlterm-2.7.0.tar.bz2 mlterm Source0: http://prdownloads.sourceforge.net/mlterm/mlterm-%{version}.tar.bz2 Source10: %name.desktop Source11: %name.png Patch0: etc.patch Patch1: kiklib-configure.diff Patch5: mlterm-po.patch Patch6: mlterm-gettext-version.patch Patch7: norootforbuild.patch Patch8: cast-from-pointer-to-integer-of-different-size.patch Patch9: mlconfig_fixdups.diff Patch11: mlterm-pkgconfig.patch Patch15: mlterm-configure.patch Patch18: mlterm-fribidi-link-fix.diff Patch19: mlterm-numlock.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Multilingual Terminal Emulator for X %description Mlterm is a multilingual terminal emulator for the X Window System. Multilingual features: supported charsets: US_ASCII, ISO8859[1-11], ISO8859[13-16], TCVN5712, VISCII, KOI8_R, KOI8_U, JISX0201, JISX0208, JISX0212, JISX0213, GB2312, GBK, KSC5601, UHC, CNS11643-N, Big5, UCS2(4) supported encodings: ISO-8859-[1-11], ISO-8859- [13-16], TCVN5612, VISCII, KOI8_R, KOI8_U, EUC-JP, EUC-JISX0213, ISO-2022-JP [1, 2, 3], Shift_JIS, Shift_JISX0213, EUC-KR, UHC, JOHAB, ISO-2022-KR, ISO-2022-CN, GB2312(EUC-CN), GBK, GB18030, EUC-TW, Big5, Hz, UTF-8 character composition: TIS620, TCVN5712, JISX0213, UNICODE Multiple xims are also supported and you can dynamically change various xims. Other features: * scroll by wheel mouse * antialias font (requires Xft and Xrender extensions) * proportional font * transparent background * background image (requires Imlib) * multiple pty windows * scrollbar plug-in API (unstable) Authors: -------- Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> %package -n mlterm-scim License: BSD3c(or similar) Summary: SCIM plugin for mlterm Group: System/X11/Terminals Provides: locale(scim:ja;ko;zh;ar;he) %description -n mlterm-scim A plugin to use the SCIM input methods directly from mlterm. Authors: -------- Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> %package -n mlterm-uim License: BSD3c(or similar) Summary: An uim plugin for mlterm Group: System/X11/Terminals Provides: locale(uim:ja;ko;zh;ar;he) %description -n mlterm-uim A plugin to use the uim input methods directly from mlterm. Authors: -------- Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> %package -n mlterm-m17n License: BSD3c(or similar) Summary: A m17n plugin for mlterm Group: System/X11/Terminals Provides: locale(m17n:ja;ko;zh;ar;he) %description -n mlterm-m17n A plugin to use the m17n input methods directly from mlterm. Authors: -------- Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> %define pixmapdir /usr/share/pixmaps %prep %setup0 -q %patch0 %patch1 %patch5 -b .po %patch6 -b .gettext-version %patch7 -b .norootforbuild %patch8 #%patch9 -p1 %patch11 %patch15 %patch18 %patch19 -p1 GETTEXT_VERSION=$(gettext --version | head -n 1 | awk '{print $NF}') perl -pi'*.orig' -e "s/AM_GNU_GETTEXT_VERSION\\([0-9.]+\\)/AM_GNU_GETTEXT_VERSION(${GETTEXT_VERSION})/g" configure.in rm -rf doc/{en,ja}/CVS find -name configure -exec chmod 755 {} \; find . -type f | xargs chmod u+w %build autoreconf --force --install export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fno-strict-aliasing $(/usr/bin/freetype-config --cflags)" #export CFLAGS="-g -O0 -D_GNU_SOURCE -fno-strict-aliasing $(/usr/bin/freetype-config --cflags)" %configure --enable-static=no \ --libexecdir=%{_libdir}/mlterm \ --sysconfdir=/etc/X11 \ --enable-utmp \ --enable-anti-alias \ --enable-fribidi \ --enable-uim \ --enable-m17nlib \ --with-tools=mlclient,mlconfig,mlterm-menu,mlcc,mlterm-zoom \ --with-scrollbars=sample,extra \ %if %suse_version > 900 --with-libltdl \ %endif --enable-scim make %{?jobs:-j %jobs} # make -C tool/w3mmlconfig \ # prefix=/usr \ # LIB_DIR=%{_libdir}/w3mmlconfig \ # PERL=/usr/bin/perl %install make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT%{pixmapdir} install -m 644 doc/icon/mlterm*xpm $RPM_BUILD_ROOT%{pixmapdir} install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{pixmapdir} # make -C tool/w3mmlconfig install \ # prefix=/usr \ # LIB_DIR=%{_libdir}/w3mmlconfig \ # PERL=/usr/bin/perl \ # DESTDIR=$RPM_BUILD_ROOT install -m 644 contrib/tool/mlterm-menu/menu $RPM_BUILD_ROOT/etc/X11/mlterm/ mv $RPM_BUILD_ROOT/usr/%{_lib}/mlterm/mlterm-zoom \ $RPM_BUILD_ROOT/usr/bin/mlterm-zoom # remove static libraries in plugin directory: # (mlconfig duplicates buttons when the static libraries are still there!) rm -f $RPM_BUILD_ROOT%{_libdir}/mlterm/*.*a # ditto for libkik and libmkf rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.*a rm -r $RPM_BUILD_ROOT%{_libdir}/mkf/*.*a # install terminfo entry-description #mkdir -p $RPM_BUILD_ROOT/usr/share/terminfo/m #tic -o $RPM_BUILD_ROOT/usr/share/terminfo/ doc/term/mlterm.ti %find_lang mlconfig %suse_update_desktop_file -i %name TerminalEmulator %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %files -f mlconfig.lang %defattr(-, root, root) %doc LICENCE* README* doc/en doc/ja %attr(555,root,tty) /usr/bin/mlterm /usr/share/applications/%name.desktop /usr/bin/mlclient /usr/bin/mlclientx /usr/bin/mlcc /usr/bin/mlterm-zoom # %{_bindir}/* # %{_libdir}/w3mmlconfig/ %{_libdir}/libkik.* %{_libdir}/libmkf.* %dir %{_libdir}/mlterm/ %{_libdir}/mlterm/libathena.so %{_libdir}/mlterm/libim-kbd.so %{_libdir}/mlterm/libmotif.so %{_libdir}/mlterm/libmozmodern.so %{_libdir}/mlterm/libnext.so %{_libdir}/mlterm/libsample.so %{_libdir}/mlterm/libsample2.so %dir %{_libdir}/mkf/ %{_libdir}/mkf/*.so %{_libdir}/mlterm/mlconfig %{_libdir}/mlterm/mlterm-menu %dir /etc/X11/mlterm/ %config /etc/X11/mlterm/* %{_mandir}/man?/* %{pixmapdir}/* #/usr/share/terminfo/m/mlterm %files -n mlterm-scim %defattr(-, root, root) %{_libdir}/mlterm/libim-scim.so %files -n mlterm-uim %defattr(-, root, root) %{_libdir}/mlterm/libim-uim.so %files -n mlterm-m17n %defattr(-, root, root) %{_libdir}/mlterm/libim-m17nlib.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor