SPECS: urjtag.spec - added fix-as_needed patch - cleanups

sparky sparky at pld-linux.org
Fri Nov 21 13:52:48 CET 2008


Author: sparky                       Date: Fri Nov 21 12:52:48 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added fix-as_needed patch
- cleanups

---- Files affected:
SPECS:
   urjtag.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/urjtag.spec
diff -u SPECS/urjtag.spec:1.2 SPECS/urjtag.spec:1.3
--- SPECS/urjtag.spec:1.2	Wed Nov 19 18:59:12 2008
+++ SPECS/urjtag.spec	Fri Nov 21 13:52:43 2008
@@ -1,10 +1,6 @@
 # $Revision$, $Date$
 #
-# Conditional build:
-#%bcond_with	tests		# build with tests
-#%bcond_without	tests		# build without tests
-#
-Summary:	urjtag
+Summary:	Tool for communicating over JTAG
 Name:		urjtag
 Version:	0.9
 Release:	0.1
@@ -12,6 +8,7 @@
 Group:		Applications
 Source0:	http://dl.sourceforge.net/urjtag/%{name}-%{version}.tar.bz2
 # Source0-md5:	684fc54354e1e600102244c0e7bf6643
+Patch0:		%{name}-fix-as_needed.patch
 URL:		http://urjtag.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -20,25 +17,12 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Nodesc
-
+UrJTAG aims to create an enhanced, modern tool for communicating over
+JTAG with flash chips, CPUs, and many more.
 
 %prep
 %setup -q
-#%setup -q -c -T
-#%setup -q -n %{name}
-#%setup -q -n %{name}-%{version}.orig -a 1
-#%patch0 -p1
-
-# undos the source
-#find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
-
-# remove CVS control files
-#find -name CVS -print0 | xargs -0 rm -rf
-
-# you'll need this if you cp -a complete dir in source
-# cleanup backups after patching
-find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+%patch0 -p1
 
 %build
 %{__gettextize}
@@ -52,9 +36,6 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -74,7 +55,7 @@
 %doc AUTHORS ChangeLog NEWS README THANKS doc/UrJTAG.txt doc/README.ejtag doc/howto_add_support_for_more_flash.txt
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
-%{_mandir}/man1/*1.gz
+%{_mandir}/man1/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -82,9 +63,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/11/21 12:52:43  sparky
+- added fix-as_needed patch
+- cleanups
+
 Revision 1.2  2008/11/19 17:59:12  agaran
 - up to 0.9 rel remains at 0.1, builds here
 
 Revision 1.1  2008/06/01 19:39:18  agaran
 - initial, rel 0.1, builds here
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/urjtag.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list