Hi all,

I have tried building rpm with this file:

http://site.techviet.com/Vu.Hung/linux/archive/vntex-0.1.tar.bz2

this file( vntex-0.1.tar.bz2) contains only 2 folder ./fonts and ./tex.
The installation is very simply, I just have to copy :


cp -Rf fonts  /usr/share/texmf/fonts/
cp -Rf tex    /usr/share/texmf/tex/

but what is problems with my spec file below?

Anyone help?

TIA

Hung.Vu

---------------begin vntex-0.1.spec file--------------

%define name vntex
%define version 0.1
%define release 1mdk

Summary: vntex helps you use vietnames with latex
Name: %{name}
Version: %{version}
Release: %{release}
License: Unknown
#URL:
Group: Applications/Publishing
Source0: %{name}-%{version}.tar.bz2
BuildArch: noarch
Packager: Nguyen Hung.Vu <[EMAIL PROTECTED]>
BuildRoot: %{_tmppath}/%{name}-root
Requires: tetex

%description
This Package provides minimum files that will enable you use Vietnamese
with Latex. Tested only for Linux Mandrake 8.1

%prep
%setup -q -c

%build

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p       $RPM_BUILD_ROOT%{_datadir}/texmf/fonts
mkdir -p       $RPM_BUILD_ROOT%{_datadir}/texmf/tex


cp -Rf fonts  $RPM_BUILD_ROOT%{_datadir}/texmf/fonts/
cp -Rf tex    $RPM_BUILD_ROOT%{_datadir}/texmf/tex/

%post

%postun

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(0644,root,root,0755)
#%doc README
%{_datadir}/texmf/fonts/source/public/vnr/


------------End of vntex-0.1.spec file -----------------

=====
Takeshi's small space
http://site.TechViet.com/Vu.Hung/
Join KDE-i18n-Vi?
http://groups.yahoo.com/group/KDE-i18n-VN

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to