Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:napobear
simulavr
simulavr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File simulavr.spec of Package simulavr
# # spec file for package simulavr # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: simulavr Recommends: cross-avr-insight BuildRequires: python3-devel BuildRequires: binutils-devel BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: help2man BuildRequires: tcl-devel BuildRequires: itcl BuildRequires: python3-beautifulsoup4 BuildRequires: python3-Sphinx BuildRequires: python3-rst2pdf BuildRequires: tk-devel BuildRequires: texlive BuildRequires: texinfo BuildRequires: swig # For the examples: BuildRequires: avr-libc BuildRequires: cross-avr-gcc10 BuildRequires: cross-avr-binutils License: GPL-2.0+ Group: Development/Tools/Debuggers Version: 1.1.0 Release: 0 Summary: Simulator for Atmel AVR microcontrollers URL: http://savannah.nongnu.org/projects/simulavr Source: http://git.savannah.nongnu.org/cgit/%{name}.git/snapshot/%{name}-release-%{version}.tar.gz Source1: rpmlintrc Source2: manual-%{version}.pdf Patch1: 0001-adapt-doc-path.patch Patch2: 0002-install-to-include-sub-directory.patch Patch3: 0003-Switch-to-lib64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 %package devel Summary: An SDK on top of the simulavr code to develop own simulating applications Requires: libsimulavr = %{version} Requires: avr-libc %package -n libsimulavr Summary: Shared libraries for programs developed with simulavr-devel %description Simulator for the Atmel AVR family of 8-bit risc microcontrollers %description devel An SDK on top of the simulavr code to develop own simulating applications %description -n libsimulavr Shared libraries for programs developed with simulavr-devel %prep %setup -n %{name}-release-%{version} %patch1 -p1 %patch2 -p1 %if "%{_lib}" == "lib64" %patch3 -p1 %endif %build %if 0%{?suse_version} < 1210 _FLAGS="$RPM_OPT_FLAGS" %else _FLAGS="$RPM_OPT_FLAGS -Wno-error=unused-but-set-variable -fPIC" %endif CXXFLAGS="$_FLAGS" \ CFLAGS="$_FLAGS" \ %cmake -DBUILD_TCL=ON -DCMAKE_BUILD_TYPE= make make doc-man make doc-info make doc-changelog # needs online #make doc %install cd build mkdir -p $RPM_BUILD_ROOT/%{_bindir} make install LIBDIR=%{_libdir} INFODIR=%_infodir DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%_docdir/%name install -m 644 %{S:2} $RPM_BUILD_ROOT/%_docdir/%name # rpmlint says: # /usr/share/info/dir is not allowed anymore in SUSE. No hint is given how to fix this. rm -f $RPM_BUILD_ROOT/usr/share/info/dir rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la %post %install_info --info-dir=%_infodir %_infodir/simulavr.info.gz /sbin/ldconfig %postun %install_info_delete --info-dir=%_infodir %_infodir/simulavr.info.gz /sbin/ldconfig %post -n libsimulavr -p /sbin/ldconfig %postun -n libsimulavr -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %license doc/COPYING %{_bindir}/* %{_docdir}/%{name} %{_datadir}/info/%{name}.info.gz %{_mandir}/man1/* %{_libdir}/libsim.so %files devel %defattr(-,root,root) /usr/include/%{name} %files -n libsimulavr %defattr(0755,root,root) %{_libdir}/libsimulavr.so %changelog
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