packages: openocd/openocd.spec - updated to 0.2.0 - cleaned up and added mi...

kosmo kosmo at pld-linux.org
Mon Aug 3 21:22:38 CEST 2009


Author: kosmo                        Date: Mon Aug  3 19:22:38 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.2.0
- cleaned up and added missing BRs.

---- Files affected:
packages/openocd:
   openocd.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/openocd/openocd.spec
diff -u packages/openocd/openocd.spec:1.1 packages/openocd/openocd.spec:1.2
--- packages/openocd/openocd.spec:1.1	Sun Jun  1 21:38:09 2008
+++ packages/openocd/openocd.spec	Mon Aug  3 21:22:33 2009
@@ -1,23 +1,23 @@
 # $Revision$, $Date$
 #
-%define snap 20080601
-%define             no_install_post_strip 1
-
 Summary:	Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing
 Name:		openocd
-Version:	0.%{snap}
-Release:	0.1
+Version:	0.2.0
+Release:	1
 License:	GPL
 Group:		Applications
-Source0:	http://ep09.pld-linux.org/~adasi/%{name}-%{snap}.tar.bz2
-# Source0-md5:	34a10a23ecb366935babb44d8bc0a44a
+Source0:	http://download.berlios.de/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5:	14cd477f65cc738be954a454f1593879
 URL:		http://openocd.berlios.de/
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	libftdi-devel
 BuildRequires:	libtool
 BuildRequires:	texinfo
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_noautostrip	^/.*\.elf$
+
 %description
 The Open On-Chip Debugger (openocd) aims to provide debugging,
 in-system programming and boundary-scan testing for embedded target
@@ -34,7 +34,7 @@
 the LPC3180's NAND flash controller is included.
 
 %prep
-%setup -q -n %{name}-%{snap}
+%setup -q
 
 %build
 %{__libtoolize}
@@ -43,14 +43,26 @@
 %{__autoheader}
 %{__automake}
 
-%configure
+%configure \
+	--enable-arm-jtag-ew \
+	--enable-at91rm9200 \
+	--enable-dummy \
+	--enable-ep93xx \
+	--enable-ft2232_libftdi \
+	--enable-gw16012 \
+	--enable-ioutil \
+	--enable-jlink \
+	--enable-oocd_trace \
+	--enable-parport \
+	--enable-presto_libftdi \
+	--enable-rlink \
+	--enable-usbprog \
+	--enable-vsllink
+
 %{__make}
 
 %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
@@ -61,19 +73,23 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/openocd
-%{_libdir}/openocd/*
-%{_infodir}/openocd.info.gz
-
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_infodir}/%{name}.info.gz
+%{_libdir}/%{name}
+%{_mandir}/man1/%{name}.1.gz
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 
-
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/08/03 19:22:33  kosmo
+- updated to 0.2.0
+- cleaned up and added missing BRs.
+
 Revision 1.1  2008/06/01 19:38:09  adasi
 - initial
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openocd/openocd.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list