Author: qboosh Date: Sat Jul 16 11:46:18 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - pl, cleanup, missing dir
---- Files affected: SPECS: gsview.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: SPECS/gsview.spec diff -u SPECS/gsview.spec:1.1 SPECS/gsview.spec:1.2 --- SPECS/gsview.spec:1.1 Thu Jul 14 13:29:55 2005 +++ SPECS/gsview.spec Sat Jul 16 13:46:13 2005 @@ -1,6 +1,6 @@ # $Revision$, $Date$ -# -Summary: GSview is a graphical interface for Ghostscript. +Summary: GSview - a graphical interface for Ghostscript +Summary(pl): GSview - graficzny interfejs do Ghostscripta Name: gsview Version: 4.7 Release: 1 @@ -8,8 +8,9 @@ Group: Applications Source0: ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/%{name}-%{version}.tar.gz # Source0-md5: ce6288cc8597d6b918498d6d02654bb7 -URL: http://www.cs.wisc.edu/~ghost/gsview +URL: http://www.cs.wisc.edu/~ghost/gsview/ BuildRequires: gtk+-devel +BuildRequires: sed >= 4.0 Requires: ghostscript BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -20,8 +21,15 @@ Structuring Conventions, GSview allows selected pages to be viewed or printed. +%description -l pl +GSview to graficzny interfejs do Ghostscripta. Ghostscript to +interpreter języka opisu strony PostScript używanego przez drukarki +laserowe. Dla dokumentów zgodnych z konwencjami Adobe PostScript +Document Structuring Conventions GSview umożliwia podgląd i wydruk +wybranych stron. + %prep -%setup -q -n %{name}-%{version} +%setup -q %{__sed} -i -e 's/Terminal=.*/Terminal=false/g' \ srcunx/gvxdesk.txt @@ -33,15 +41,14 @@ CC="%{__cc}" \ RPM_OPT_FLAGS="%{rpmcflags}" \ CDEBUG="" - %install -# taken from spec frmo gsview, amazingly well designed spec it is +# taken from spec from gsview, amazingly well designed spec it is rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir},%{_docdir},%{_sysconfdir}} install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} -make -f srcunx/unx.mak install \ +%{__make} -f srcunx/unx.mak install \ GSVIEW_BASE=$RPM_BUILD_ROOT%{_prefix} \ GSVIEW_BINDIR=$RPM_BUILD_ROOT%{_bindir} \ GSVIEW_MANDIR=$RPM_BUILD_ROOT%{_mandir} \ @@ -55,12 +62,12 @@ %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/* +%dir /etc/gsview %config(noreplace) %verify(not md5 mtime size) /etc/gsview/printer.ini -%{_docdir} +%{_docdir}/* %{_mandir}/man1/*.1* %{_desktopdir}/gsview.desktop %{_pixmapsdir}/gsview.png @@ -71,7 +78,8 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2005/07/16 11:46:13 qboosh +- pl, cleanup, missing dir + Revision 1.1 2005/07/14 11:29:55 djurban - initial - - ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/gsview.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
