[freeside-commits] freeside/rpm freeside.spec,1.15,1.16
Richard Siddall
rsiddall at wavetail.420.am
Mon Jun 29 15:48:53 PDT 2009
Update of /home/cvs/cvsroot/freeside/rpm
In directory wavetail.420.am:/tmp/cvs-serv18025/freeside-1.9/rpm
Modified Files:
freeside.spec
Log Message:
Fix PDF invoice generation, including requirement for ghostscript.
Index: freeside.spec
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rpm/freeside.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- freeside.spec 13 Jun 2009 03:13:19 -0000 1.15
+++ freeside.spec 29 Jun 2009 22:48:51 -0000 1.16
@@ -17,8 +17,10 @@
Requires: %{name}-backend
%if "%{_vendor}" != "suse"
Requires: tetex-latex
+Requires: ghostscript
%else
Requires: te_latex
+Requires: ghostscript-library
%endif
Requires: perl-Fax-Hylafax-Client
@@ -48,6 +50,8 @@
%define fs_cron_user fs_daily
%define db_types Pg mysql
+%define texmflocal /usr/share/texmf
+
%define _rpmlibdir /usr/lib/rpm
%define rpmfiles rpm
@@ -328,6 +332,9 @@
%{__install} %{rpmfiles}/freeside-selfservice.conf $RPM_BUILD_ROOT%{apache_confdir}/%{name}-selfservice.conf
%{__perl} -pi -e "s|%%%%%%FREESIDE_SELFSERVICE_DOCUMENT_ROOT%%%%%%|%{freeside_selfservice_document_root}|g" $RPM_BUILD_ROOT%{apache_confdir}/%{name}-selfservice.conf
+# This is part of Makefile's install-texmf. The rest is in triggers. These files are not in the filelist
+%{__install} -D etc/fslongtable.sty $RPM_BUILD_ROOT%{texmflocal}/tex/generic/fslongtable.sty
+
%pre
if ! %{__id} freeside &>/dev/null; then
%if "%{_vendor}" == "suse"
@@ -405,6 +412,10 @@
fi
%endif
+%triggerin -- tetex
+#texhash `kpsewhich -expand-var \$TEXMFLOCAL`
+texhash %{texmflocal}
+
%clean
%{__rm} -rf %{buildroot}
@@ -418,6 +429,7 @@
%attr(-,freeside,freeside) %dir %{freeside_log}
%attr(0711,freeside,freeside) %config(noreplace) %{freeside_conf}/default_conf
%attr(0644,freeside,freeside) %config(noreplace) %{freeside_conf}/default_conf/*
+%attr(444,root,root) %{texmflocal}/tex/generic/fslongtable.sty
%files mason -f %{name}-%{version}-%{release}-mason-filelist
%defattr(-, freeside, freeside, 0755)
More information about the freeside-commits
mailing list