Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fseidel
open2300
open2300.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File open2300.spec of Package open2300
Name: open2300 Version: 1.10 Release: 1 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: mysql-devel filesystem Requires: mysql Group: Hardware/Other Source: %name-%version.tar.bz2 Patch0: makefile_cleanup.patch Patch1: updates1.patch URL: http://open2300.sourceforge.net/ Summary: Commandline tools for WS-2300 weatherstation %description Commandline tools to access the WS-2300 weatherstation including some extensions of my own (Frank Seidel <fseidel@suse.de>). %prep %setup %patch0 -p2 %patch1 -p1 %build export MYCFLAGS=" -DVERSION=\"%{version}\" -fmessage-length=0 -Wall -O2" echo $MYCFLAGS %{__make} CFLAGS="$MYCFLAGS" PREFIX=%{_prefix} LIBDIR=%{_libdir} all %install make prefix=$RPM_BUILD_ROOT/usr CFLAGS="$MYCFLAGS" install install mysql2300 $RPM_BUILD_ROOT/%{_prefix}/bin install wetterspiegel2300 $RPM_BUILD_ROOT/%{_prefix}/bin mkdir $RPM_BUILD_ROOT/etc install open2300-dist.conf $RPM_BUILD_ROOT/etc/open2300.conf %clean %{__rm} -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) /usr/bin/*2300 %config /etc/open2300.conf %doc api.txt %doc COPYING %doc README %doc INSTALL %doc mysql2300.sql %doc open2300-dist.conf
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor