rpms/dvipdfmx/devel dvipdfmx.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jonathan G. Underwood (jgu)
fedora-extras-commits at redhat.com
Fri Mar 7 23:40:40 UTC 2008
Author: jgu
Update of /cvs/extras/rpms/dvipdfmx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32299/devel
Modified Files:
.cvsignore sources
Added Files:
dvipdfmx.spec
Log Message:
Initial package import.
--- NEW FILE dvipdfmx.spec ---
# These macros need to match what is in the texlive-texmf package. For
# this reason texlive-texmf is a BuildRequires, and it installs an rpm
# macro file that defines them. Here we define them in case they're
# not set.
%{!?_texmf_main: %define _texmf_main %{_datadir}/texmf}
%{!?_texmf_conf: %define _texmf_conf %{_sysconfdir}/texmf}
%define snapshot 20071115
Name: dvipdfmx
Version: 0
Release: 0.20.%{snapshot}cvs%{?dist}
Summary: A DVI to PDF translator
Group: Applications/Publishing
License: GPLv2+
URL: http://project.ktug.or.kr/dvipdfmx/
Source0: http://project.ktug.or.kr/dvipdfmx/snapshot/current/%{name}-%{snapshot}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kpathsea-devel libpng-devel zlib-devel libpaper-devel texlive-texmf
Requires: texlive-texmf-fonts
Requires: ghostscript
Requires(post): /usr/bin/mktexlsr
Requires(postun): /usr/bin/mktexlsr
%description
The dvipdfmx (formerly dvipdfm-cjk) project provides an eXtended version
of the dvipdfm, a DVI to PDF translator developed by Mark A. Wicks.
The primary goal of this project is to support multi-byte character
encodings and large character sets for East Asian languages. The secondary
goal is to support as many features as pdfTeX developed by Han The Thanh.
This project is a combined work of the dvipdfm-jpn project by Shunsaku
Hirata and its modified one, dvipdfm-kor, by Jin-Hwan Cho.
%prep
%setup -q -n %{name}-%{snapshot}
%build
%configure
make %{?_smp_mflags}
# create customized cid-x.map for dvipdfmx (#418091)
cat <<EOF >> cid-x.map
%%
%% ASCII pTeX Examples
%%
%% Ryumin and GothicBBB found in PostScript printers:
rml H !Ryumin-Light
gbm H !GothicBBB-Medium
rmlv V !Ryumin-Light
gbmv V !GothicBBB-Medium
EOF
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
mkdir -p %{buildroot}%{_texmf_conf}/dvipdfm
mv cid-x.map %{buildroot}%{_texmf_conf}/dvipdfm/
%clean
rm -rf $RPM_BUILD_ROOT
%post
/usr/bin/mktexlsr > /dev/null 2>&1 || :
%postun
/usr/bin/mktexlsr > /dev/null 2>&1 || :
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/dvipdfmx
%{_bindir}/xbb
%dir %{_texmf_conf}/dvipdfm/
%config(noreplace) %{_texmf_conf}/dvipdfm/cid-x.map
%{_texmf_main}/dvipdfm
%{_texmf_main}/fonts/cmap/EUC-UCS2
%{_texmf_main}/fonts/cmap/UniKSCms-UCS2-H
%{_texmf_main}/fonts/cmap/UniKSCms-UCS2-V
%{_texmf_main}/fonts/map/dvipdfmx/cid-x.map
%{_texmf_main}/fonts/map/glyphlist/glyphlist.txt
%{_texmf_main}/fonts/map/glyphlist/pdfglyphlist.txt
%changelog
* Sun Feb 17 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0-0.20.20071115cvs
- Remove obsolete and Provides for dvipdfm
- Explicitly list contents of bindir in file list
- Fix version and release tags to be guideline conforming
- Add INSTALL='install -p' to make install
- Add macro definitions from texlive-texmf spec file in case not defined
- Remove NEWS and TODO from doc file list
* Sun Feb 17 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 20071115-1
- Initial separate package - formerly part of texlive
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/dvipdfmx/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 7 Mar 2008 00:23:10 -0000 1.1
+++ .cvsignore 7 Mar 2008 23:40:07 -0000 1.2
@@ -0,0 +1 @@
+dvipdfmx-20071115.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/dvipdfmx/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 7 Mar 2008 00:23:10 -0000 1.1
+++ sources 7 Mar 2008 23:40:07 -0000 1.2
@@ -0,0 +1 @@
+55b30f37da7be24e6a065e286d1f1b2b dvipdfmx-20071115.tar.gz
More information about the fedora-extras-commits
mailing list