rpms/tex-musixtex/devel import.log, NONE, 1.1 tex-musixtex.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orcan Ogetbil oget at fedoraproject.org
Tue Feb 3 16:35:12 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/tex-musixtex/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1775/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log tex-musixtex.spec 
Log Message:
* Tue Feb 03 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.114-3
- Switch the installation directories from regular variables to macros

* Fri Jan 30 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.114-2
- Use standard macros from /etc/rpm/macros.texlive
- Drop BR: kpsewhich
- %%files section is made more explicit
- Update updmap.cfg via updmap-sys in post&postun

* Wed Jan 21 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.114-1
- Initial Fedora build



--- NEW FILE import.log ---
tex-musixtex-0_114-3:HEAD:tex-musixtex-0.114-3.src.rpm:1233678850


--- NEW FILE tex-musixtex.spec ---
%define texname musixtex

Name:      tex-%{texname}
Summary:   Sophisticated music typesetting
Group:     Applications/Publishing
Version:   0.114
Release:   3
URL:       http://www.mab.jpn.org/musictex/index_en.html
License:   GPLv2+
Source0:   http://tug.ctan.org/get/macros/musixtex/taupin/%{texname}-t113.zip
# There is no upstream source for version t114. They just provide a "patch":
Source1:   http://tug.ctan.org/get/macros/musixtex/taupin/%{texname}-patch-t114.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# For rpm's TeX macros:
BuildRequires: texlive-texmf
Requires:  tex(latex) texlive-texmf ctan-musixtex-fonts

%description
MusicTeX provides TeX extensions for music typesetting. It allows you to use
TeX to write polyphonic, orchestral or instrumental music. MusixTeX is growing
up from MusicTeX and has advantages both in set of macros and quality of
output. The package contains source files (macros, styles), fonts (mf, tfm) 
and the MusiXTeX+plain format.

%package doc
Summary:   Documentation for %{name}
Group:     Applications/Publishing
Requires:  %{name}=%{version}-%{release}

%description doc
MusicTeX provides TeX extensions for music typesetting. It allows you to use
TeX to write polyphonic, orchestral or instrumental music. MusixTeX is growing
up from MusicTeX and has advantages both in set of macros and quality of
output. The package contains the TeX documentation for MusixTeX.

%prep
%setup -q -c %{texname} -a 1
# Apply the t114 "patch":
mv -f musixdoc* doc/%{texname}/
mv -f musix*.tex tex/

# We don't need these files:
find . -name "*.bat" -exec rm {} \;

# We don't need these precompiled binaries either
# Note that the musixflx software that is inside this directoy 
# is packaged in texlive package, which this package depends on.
rm -fr system

%build
echo "Nothing to build."

%install
rm -rf %{buildroot}

# Define for convenience:
%define MUSIXTEXDIR     %{_texmf_main}/tex/generic/%{texname}
%define MUSIXDOCDIR     %{_texmf_main}/doc/generic/%{texname}
%define MUSIXMFDIR      %{_texmf_main}/fonts/source/public/%{texname}
%define MUSIXTFMDIR     %{_texmf_main}/fonts/tfm/public/%{texname}
%define TEXMFTYPE1DIR   %{_texmf_main}/fonts/type1/public
%define MUSIXDVIPDFMDIR %{_texmf_main}/fonts/map/dvipdfm/%{texname}
%define MUSIXDVIPSDIR   %{_texmf_main}/fonts/map/dvips/%{texname}

mkdir -p %{buildroot}/{%MUSIXTEXDIR,%MUSIXDOCDIR,%MUSIXMFDIR,%MUSIXTFMDIR,%TEXMFTYPE1DIR,%MUSIXDVIPDFMDIR,%MUSIXDVIPSDIR}

# The TeX files:
install -pm 644 tex/*.tex %{buildroot}/%MUSIXTEXDIR
install -pm 644 tex/*.sty %{buildroot}/%MUSIXTEXDIR

# TeX specific fonts and metrics:
install -pm 644 fonts/mf/* %{buildroot}/%MUSIXMFDIR
install -pm 644 fonts/tfm/* %{buildroot}/%MUSIXTFMDIR

# Link to the type 1 fonts provided by ctan-musixtex-fonts package:
ln -s  ../../../../fonts/ctan-musixtex/ %{buildroot}/%TEXMFTYPE1DIR/%{texname}

# Map files:
install -pm 644 dvipdfm/* %{buildroot}/%MUSIXDVIPDFMDIR
install -pm 644 dvips/* %{buildroot}/%MUSIXDVIPSDIR

# TeX documentation:
cp -a doc/* %{buildroot}/%MUSIXDOCDIR

%clean
rm -rf %{buildroot}

%post
/usr/bin/texhash
conffile="$(texconfig-sys conf | grep updmap.cfg)"
if [ "$1" = "1" ]; then
    updmap-sys --quiet --nohash --cnffile ${conffile} --enable MixedMap musix.map
fi

%postun
conffile="$(texconfig-sys conf | grep updmap.cfg)"
if [ "$1" = "0" ]; then
    updmap-sys --quiet --nohash --cnffile ${conffile} --disable musix.map
fi
/usr/bin/texhash

%post doc -p /usr/bin/texhash

%postun doc -p /usr/bin/texhash

%files
%defattr(-,root,root,-)
%doc copying readme_T114.txt
%MUSIXTEXDIR
%MUSIXDVIPDFMDIR
%MUSIXDVIPSDIR
%MUSIXMFDIR
%MUSIXTFMDIR
# Note that the following is just a symlink
%TEXMFTYPE1DIR/%{texname}

%files doc
%defattr(-,root,root,-)
%MUSIXDOCDIR

%changelog
* Tue Feb 03 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.114-3
- Switch the installation directories from regular variables to macros

* Fri Jan 30 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.114-2
- Use standard macros from /etc/rpm/macros.texlive
- Drop BR: kpsewhich
- %%files section is made more explicit
- Update updmap.cfg via updmap-sys in post&postun

* Wed Jan 21 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.114-1
- Initial Fedora build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tex-musixtex/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Feb 2009 04:21:49 -0000	1.1
+++ .cvsignore	3 Feb 2009 16:34:42 -0000	1.2
@@ -0,0 +1,2 @@
+musixtex-patch-t114.zip
+musixtex-t113.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tex-musixtex/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Feb 2009 04:21:49 -0000	1.1
+++ sources	3 Feb 2009 16:34:42 -0000	1.2
@@ -0,0 +1,2 @@
+b63413d01dd0bfc1ad76ca0271ee8fd1  musixtex-patch-t114.zip
+3840147db669cc3f26a0b5a3b3688c37  musixtex-t113.zip




More information about the fedora-extras-commits mailing list