[7148] | 1 | %bcond_with firstbuild |
---|
| 2 | |
---|
[1533] | 3 | Summary: TeX Live packaging utilities for Vine Linux |
---|
| 4 | Summary(ja): Vine Linux 用 TeX Live パッケージングユーティリティ |
---|
| 5 | Name: texlive-vtlpkg |
---|
[7148] | 6 | Version: 2012 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
[1533] | 8 | License: GPLv2+ |
---|
| 9 | Group: Development/Tools |
---|
| 10 | Url: http://trac.vinelinux.org/wiki/TeXEnvironment |
---|
| 11 | |
---|
[5207] | 12 | # %{name}-%{version}.tar.xz is generated by running "$ make rpm" |
---|
| 13 | Source0: %{name}-%{version}.tar.xz |
---|
[7148] | 14 | Source10: texlive-vtlpkg-2012-vine.patch |
---|
[1533] | 15 | |
---|
| 16 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 17 | BuildArch: noarch |
---|
| 18 | BuildRequires: sed |
---|
[3944] | 19 | BuildRequires: xz |
---|
[1533] | 20 | Requires: bash |
---|
[7148] | 21 | #%{!?with_firstbuild:Requires: texlive-sources = %{version}} |
---|
[1533] | 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: munepi |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | texlive-vtlpkg is used to create a package of TeX Live for Vine Linux. |
---|
| 29 | It provides tlpdb2rpmspec. |
---|
| 30 | |
---|
| 31 | %description -l ja |
---|
[5207] | 32 | texlive-vtlpkg は Vine Linux 用 TeX Live パッケージを作るユーティリティです。 |
---|
[1533] | 33 | tlpdb2rpmspec を提供しています。 |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %prep |
---|
[7148] | 37 | [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT} |
---|
[1533] | 38 | |
---|
| 39 | %setup |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | %__make |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | %__make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 46 | |
---|
[5207] | 47 | ## modified texlive.tlpdb |
---|
[3944] | 48 | pushd $RPM_BUILD_ROOT%{_datadir}/%{name} |
---|
[5207] | 49 | patch -p0 < %{SOURCE10} || exit 1 |
---|
[3944] | 50 | popd |
---|
| 51 | |
---|
[1533] | 52 | %clean |
---|
[7148] | 53 | [ "${RPM_BUILD_ROOT}" != "/" ] && %__rm -rf ${RPM_BUILD_ROOT} |
---|
[1533] | 54 | |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root) |
---|
[5207] | 58 | %doc README |
---|
[1533] | 59 | %{_bindir}/tlpdb2rpmspec |
---|
| 60 | %dir %{_datadir}/%{name} |
---|
| 61 | %{_datadir}/%{name}/* |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %changelog |
---|
[7148] | 65 | * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1 |
---|
| 66 | - updated to TeX Live 2012 |
---|
| 67 | |
---|
[5247] | 68 | * Sat Dec 3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2 |
---|
| 69 | - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in: |
---|
| 70 | - set external dependencies (texlive-collection-binextra, |
---|
| 71 | texlive-collection-fontutils) |
---|
| 72 | |
---|
[5207] | 73 | * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1 |
---|
| 74 | - updated to TeX Live 2011 |
---|
| 75 | - merged texlive-vtlpkg-2009-osx.patch from OSXWS |
---|
| 76 | - added %%doc README (%%files) |
---|
| 77 | |
---|
[3944] | 78 | * Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4 |
---|
| 79 | - applied texlive-vtlpkg-2009-vine.patch |
---|
| 80 | - remove arch dependent binaries |
---|
| 81 | - updated tlpdb2rpmspec.sh.in: |
---|
| 82 | - improved tlpdb4a() |
---|
| 83 | - make symlinks of core script utils (texlive-collection-binextra, |
---|
| 84 | texlive-collection-context, texlive-collection-fontutils, |
---|
| 85 | texlive-collection-langgreek, texlive-collection-langindic, |
---|
| 86 | texlive-collection-latex, texlive-collection-latexextra, |
---|
| 87 | texlive-collection-latexrecommended, texlive-collection-pictures, |
---|
| 88 | texlive-collection-pstricks, texlive-collection-science) |
---|
| 89 | |
---|
[2503] | 90 | * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 91 | - updated tlpdb2rpmspec.sh.in: |
---|
| 92 | - improved %%post |
---|
| 93 | |
---|
[1972] | 94 | * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 95 | - updated tlpdb2rpmspec.sh.in: |
---|
| 96 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 97 | - improved updmap process in %%post and %%postun |
---|
| 98 | - fixed perl path |
---|
| 99 | |
---|
[1533] | 100 | * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 101 | - initial build |
---|