source: projects/texlive-vtlpkg/branches/2009/texlive-vtlpkg-vl.spec @ 3943

Revision 3943, 2.3 KB checked in by munepi, 13 years ago (diff)

updated tlpdb2rpmspec.sh.in: make symlinks of core script utils; applied texlive-vtlpkg-2009-vine.patch: remove arch dependent binaries

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