SPECS: avr_simulator.spec (NEW) - 1.3.0, builds here

agaran agaran at pld-linux.org
Wed Aug 6 11:28:48 CEST 2008


Author: agaran                       Date: Wed Aug  6 09:28:48 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 1.3.0, builds here

---- Files affected:
SPECS:
   avr_simulator.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/avr_simulator.spec
diff -u /dev/null SPECS/avr_simulator.spec:1.1
--- /dev/null	Wed Aug  6 11:28:48 2008
+++ SPECS/avr_simulator.spec	Wed Aug  6 11:28:43 2008
@@ -0,0 +1,102 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%bcond_without	tests		# build without tests
+#
+Summary:	avr simulator
+Name:		avr_simulator
+Version:	1.3.0
+Release:	0.1
+License:	GPL v2+
+Group:		Applications
+Source0:	http://dl.sourceforge.net/avr/%{name}-%{version}.tar.gz
+# Source0-md5:	2a73a98db3bf97013acc75324eb005f7
+Patch0:		%{name}-quick.patch
+Patch1:		%{name}-DESTDIR.patch
+Patch2:		%{name}-install.patch
+URL:		http://sourceforge.net/projects/avr/
+BuildRequires:	motif-devel
+#BuildRequires:	autoconf
+#BuildRequires:	automake
+#BuildRequires:	intltool
+#BuildRequires:	libtool
+#Requires(postun):	-
+#Requires(pre,post):	-
+#Requires(preun):	-
+#Requires:	-
+#Provides:	-
+#Provides:	group(foo)
+#Provides:	user(foo)
+#Obsoletes:	-
+#Conflicts:	-
+#BuildArch:	noarch
+#ExclusiveArch:	%{ix86}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+%patch1 -p1
+%patch2 -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
+
+%build
+# if ac/am/* rebuilding is necessary, do it in this order and add
+# appropriate BuildRequires
+#%%{__intltoolize}
+#%%{__gettextize}
+#%%{__libtoolize}
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
+# if not running libtool or automake, but config.sub is too old:
+#cp -f /usr/share/automake/config.sub .
+#%%configure
+%{__make} \
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
+#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_datadir}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README doc/*
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+
+#%{_examplesdir}/%{name}-%{version}
+
+%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.1  2008/08/06 09:28:43  agaran
+- 1.3.0, builds here
+
================================================================


More information about the pld-cvs-commit mailing list