Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
openprogrammer
openprogrammer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openprogrammer.spec of Package openprogrammer
# # spec file for package openprogrammer # # Copyright (c) 2012-2019 Wojciech Kazubski, wk@ire.pw.edu.pl # # 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: openprogrammer Version: 0.11.5 Release: 17.1 Summary: Control program for open programmer License: GPL-2.0 %if 0%{?suse_version} Group: Development/Tools/Other %endif %if 0%{?fedora} Group: Applications/Engineering %endif Source0: http://sourceforge.net/projects/openprogrammer/files/OP/op_%{version}.tar.gz Source1: openprogrammer.rules Patch0: %{name}-Makefile.patch Patch1: %{name}-fix-missing-FALSE.patch URL: http://openprog.altervista.org/OP_eng.html BuildRequires: dos2unix BuildRequires: udev %description OP: control program for open programmer, an USB programmer for PIC and ATMEL micros, I2C/SPI/MicroWire memories, and other I2C/SPI devices. %if 0%{?fedora} >= 23 %define debug_package %{nil} %endif %prep %setup -q -n op-%{version} %patch0 -p 1 %patch1 -p 1 %build %make_build %install mkdir -p %{buildroot} make install DESTDIR=%{buildroot} dos2unix leggimi dos2unix readme %if 0%{?suse_version} %if 0%{?suse_version} >= 1310 mkdir -p %{buildroot}/usr/lib/udev/rules.d cp %{SOURCE1} %{buildroot}/usr/lib/udev/rules.d/98-%{name}.rules %else mkdir -p %{buildroot}/etc/udev/rules.d cp %{SOURCE1} %{buildroot}/etc/udev/rules.d/98-%{name}.rules %endif %endif %if 0%{?fedora} mkdir -p %{buildroot}/etc/udev/rules.d cp %{SOURCE1} %{buildroot}/etc/udev/rules.d/99-%{name}.rules %endif %files %doc readme leggimi %license gpl-2.0.txt %{_bindir}/op %if 0%{?suse_version} >= 1310 /usr/lib/udev/rules.d/*-openprogrammer.rules %else %config /etc/udev/rules.d/*-openprogrammer.rules %endif %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