LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File webduino.spec of Package webduino (Project home:minish0)

Name:	webduino	
Version:	1.4.1
Release:	1%{?dist}
Summary:	Arduino-based Web Server library

Group:		Development/Libraries
License:	MIT License
URL:		http://code.google.com/p/webduino
Source0:	http://webduino.googlecode.com/files/webduino-%{version}.zip
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:	unzip
%if 0%{?suse_version} > 1110
BuildRequires: -post-build-checks -rpmlint-Factory
Requires:	arduino
BuildArchitectures: noarch

This is an Arduino-based Web Server library, originally developed for a class at NYC Resistor. It's called Webduino, and it's an extensible web server library for the Arduino using the Wiznet-based Ethernet shields. It's released under the MIT license allowing all sorts of reuse.

%setup -q

#nothing to build. just extract zip archive

%define arduino_extra_libraries %{_datadir}/arduino/libraries
if [ ! -d ${RPM_BUILD_ROOT}/%{arduino_extra_libraries} ]; then
mkdir -p ${RPM_BUILD_ROOT}/%{arduino_extra_libraries}
cp -r %{name} ${RPM_BUILD_ROOT}/%{arduino_extra_libraries}
cp -r examples ${RPM_BUILD_ROOT}/%{arduino_extra_libraries}/%{name}



* Sat Mar 5 2011 <minish@lyz.jp>
- Initial revision