SPECS: urjtag.spec (NEW) - initial, rel 0.1, builds here
agaran
agaran at pld-linux.org
Sun Jun 1 21:39:24 CEST 2008
Author: agaran Date: Sun Jun 1 19:39:24 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, rel 0.1, builds here
---- Files affected:
SPECS:
urjtag.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/urjtag.spec
diff -u /dev/null SPECS/urjtag.spec:1.1
--- /dev/null Sun Jun 1 21:39:24 2008
+++ SPECS/urjtag.spec Sun Jun 1 21:39:18 2008
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+#%bcond_with tests # build with tests
+#%bcond_without tests # build without tests
+#
+Summary: urjtag
+Name: urjtag
+Version: 0.8
+Release: 0.1
+License: GPL v2
+Group: Applications
+Source0: http://dl.sourceforge.net/urjtag/%{name}-%{version}.tar.bz2
+# Source0-md5: 76af028b6ab2361cd945b1c7179b94b7
+URL: http://urjtag.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext
+BuildRequires: libusb-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Nodesc
+
+
+%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
+
+%build
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__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
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with ldconfig}
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%endif
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%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
+
+%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-06-01 19:39:18 agaran
+- initial, rel 0.1, builds here
+
================================================================
More information about the pld-cvs-commit
mailing list