SPECS: tgif.spec - updated to 4.1.45 - switched to modular xorg

qboosh qboosh at pld-linux.org
Fri Oct 27 00:29:41 CEST 2006


Author: qboosh                       Date: Thu Oct 26 22:29:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 4.1.45
- switched to modular xorg

---- Files affected:
SPECS:
   tgif.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/tgif.spec
diff -u SPECS/tgif.spec:1.33 SPECS/tgif.spec:1.34
--- SPECS/tgif.spec:1.33	Wed Feb 16 13:39:06 2005
+++ SPECS/tgif.spec	Fri Oct 27 00:29:35 2006
@@ -3,19 +3,21 @@
 Summary(pl):	tgif - pakiet do tworzenia grafiki 2D
 Summary(ja):	ÂĐĎĂĹŞ 2 źĄ¸ľÉÁ˛č¤ňÍưפˤš¤ë Xlib ¤Ë´đ¤Ĺ¤¤¤ż X11 ĽŻĽéĽ¤Ľ˘ĽóĽČ
 Name:		tgif
-Version:	4.1.44
+Version:	4.1.45
 Release:	1
 License:	QPL
 Group:		X11/Applications/Graphics
 Source0:	ftp://bourbon.usc.edu/pub/tgif/%{name}-QPL-%{version}.tar.gz
-# Source0-md5:	4818d79d36c460e24d14a390ade371e9
+# Source0-md5:	5c1eba8291385c630b8099fa9b042455
 Source1:	%{name}.ap.ja
 Patch0:		%{name}-po.patch
-URL:		http://bourbon.usc.edu:8001/tgif/
+URL:		http://bourbon.usc.edu/tgif/
+BuildRequires:	xorg-cf-files
+BuildRequires:	xorg-lib-libXmu-devel
+BuildRequires:	xorg-util-imake
+Requires:	xorg-lib-libXt >= 1.0.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_appdefsdir	/usr/X11R6/lib/X11/app-defaults
-
 %description
 tgif is a drawing packages for X. It has better text and object
 support than xfig, but is a little different to use.
@@ -34,9 +36,9 @@
 %setup -q -n %{name}-QPL-%{version}
 %patch0 -p1
 
-%build
-rm -rf Tgif.tmpl
 cp -f Tgif.tmpl-linux Tgif.tmpl
+
+%build
 xmkmf
 %{__make} tgif \
 	MOREDEFINES="-DOVERTHESPOT -DUSE_XT_INITIALIZE -D_ENABLE_NLS \
@@ -49,11 +51,10 @@
 xmkmf -a
 %{__make} depend
 %{__make} all
-cd ..
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_appdefsdir}/ja/Tgif
+install -d $RPM_BUILD_ROOT%{_datadir}/X11{,/ja}/app-defaults
 
 %{__make} install install.man \
 	DESTDIR=$RPM_BUILD_ROOT \
@@ -67,8 +68,8 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 mv -f $RPM_BUILD_ROOT%{_datadir}/tgif/tgif.Xdefaults \
-	$RPM_BUILD_ROOT%{_appdefsdir}/Tgif
-install %{SOURCE1} $RPM_BUILD_ROOT%{_appdefsdir}/ja/Tgif
+	$RPM_BUILD_ROOT%{_datadir}/X11/app-defaults/Tgif
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/ja/app-defaults/Tgif
 
 %find_lang %{name}
 
@@ -81,8 +82,8 @@
 %attr(755,root,root) %{_bindir}/tgif
 %{_datadir}/tgif
 %{_mandir}/man1/*
-%{_appdefsdir}/Tgif
-%lang(ja) %{_appdefsdir}/ja/Tgif
+%{_datadir}/X11/app-defaults/Tgif
+%lang(ja) %{_datadir}/X11/ja/app-defaults/Tgif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -90,6 +91,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2006/10/26 22:29:35  qboosh
+- updated to 4.1.45
+- switched to modular xorg
+
 Revision 1.33  2005/02/16 12:39:06  czucz
 - updated to 4.1.44
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tgif.spec?r1=1.33&r2=1.34&f=u



More information about the pld-cvs-commit mailing list