Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
usbprog
usbprog.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File usbprog.spec of Package usbprog
# # spec file for package usbprog (Version 0.1.7) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: usbprog Version: 0.1.7 Release: 1 License: GPL v2 or later Url: http://www.usbprog.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Tools/Other Source0: %{name}-%{version}.tar.bz2 # RHEL and CentOS have no wxGTK, so we cannot build the GUI here %if 0%{?rhel_version} || 0%{?centos_version} %define build_gui 0 %else BuildRequires: wxGTK-devel %define build_gui 1 %endif BuildRequires: gcc-c++ libxml2-devel readline-devel # Fedora_8 expansion error: have choice for text-www-browser needed by docbook-utils: # lynx elinks w3m BuildRequires: lynx %if 0%{?suse_version} >= 1030 BuildRequires: libcurl-devel %else BuildRequires: curl-devel %endif %if 0%{?suse_version} >= 1010 BuildRequires: pkg-config %else BuildRequires: pkgconfig %endif BuildRequires: libusb-devel Summary: Programmer for the USBprog hardware %description USBprog is a programmer for the USBprog hardware. Authors: -------- Bernhard Walle <bernhard.walle@gmx.de> %if %{build_gui} %package gui License: GPL v2 or later Requires: %{name} = %{version} Summary: Programmer for the USBprog hardware Group: Development/Tools/Other AutoReqProv: on %description gui USBprog is a programmer for the USBprog hardware. Authors: -------- Bernhard Walle <bernhard.walle@gmx.de> %endif %package -n libusbprog0 License: GPL v2 or later Requires: %{name} = %{version} Summary: Programmer for the USBprog hardware Group: Development/Tools/Other AutoReqProv: on %description -n libusbprog0 USBprog is a programmer for the USBprog hardware. Authors: -------- Bernhard Walle <bernhard.walle@gmx.de> %package devel License: GPL v2 or later Requires: %{name} = %{version} Summary: Programmer for the USBprog hardware Group: Development/Tools/Other AutoReqProv: on %description devel USBprog is a programmer for the USBprog hardware. Authors: -------- Bernhard Walle <bernhard.walle@gmx.de> %prep %setup -q %build %configure make %install %makeinstall # TODO: fix in package %if %{build_gui} == 0 rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/usbprog.desktop rm -f $RPM_BUILD_ROOT/%{_datadir}/pixmaps/usbprog_icon.xpm %endif rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la %clean rm -rf "$RPM_BUILD_ROOT" %post -n libusbprog0 -p /sbin/ldconfig %postun -n libusbprog0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc README COPYING ChangeLog NEWS %{_bindir}/usbprog %{_mandir}/man1/usbprog.1* %files -n libusbprog0 %defattr(-,root,root) %{_libdir}/*so.* %if %{build_gui} %files gui %defattr(-,root,root) %{_bindir}/usbprog-gui %{_datadir}/applications/usbprog.desktop %{_datadir}/pixmaps/usbprog_icon.xpm %{_mandir}/man1/usbprog-gui.1* %endif %files devel %defattr(-,root,root) %{_includedir}/usbprog %{_libdir}/*so %{_libdir}/*a %changelog * Fri Jul 04 2008 bwalle@suse.de - update to 0.1.7 o fix problem that firmware with more than 16k can't be flashed - remove usbprog-fix-nonvoid: merged upstream * Mon May 05 2008 bwalle@suse.de - fix usbprog no-return-in-nonvoid-function commands.cc: 987 * Wed Mar 26 2008 bwalle@suse.de - use %%postun -p to avoid extra shell * Tue Mar 25 2008 bwalle@suse.de - update to 0.1.6 o CLI: fix mechanism to avoid downloading the index file again and again if the CLI is invoked repeatedly in small intervals o remove GPL-incompatible md5_loc.h from source distribution - remove usbprog-build-fixes: fix for usbprog.desktop upstream * Fri Mar 21 2008 bwalle@suse.de - don't package INSTALL - run ldconfig * Tue Mar 18 2008 bwalle@suse.de - fix build on SUSE Linux 10.0 (RPM parser problem) * Tue Mar 18 2008 bwalle@suse.de - don't build GUI package on CentOS/RHEL * Mon Mar 17 2008 bwalle@suse.de - update to 0.1.5 final o GUI: implemented -h / -v / -D command line options for GUI o CLI: implement command completion * Sun Mar 09 2008 bwalle@suse.de - don't build the GUI for CentOS and RHEL due to lacking wxGtk * Sun Mar 02 2008 bwalle@suse.de - update to 0.1.5 o install icon and destop file * Sun Feb 10 2008 bwalle@suse.de - update to 0.1.4 o Windows: honor IE proxy settings o CLI: make (Internet) download progress working o CLI: always re-discover devices with the "devices" command o CLI: new "start" command to only start the firmware without uploading anything and added "-nostart" option to "upload" command o Unix: build system fixes * Sun Jan 13 2008 bwalle@suse.de - update to 0.1.3 o GUI: fix local upload o GUI: make offline mode working, show only firmwares that are available offline * Mon Jan 07 2008 bwalle@suse.de - update to 0.1.2 o improved error handling o autoconf fixes (building without GUI is now possible) o CLI: new string tokenizer to be able to deal with spaces (use "string with spaces" or string\ with\ spaces like in bash) o GUI: new firmware and pin information * Fri Jan 04 2008 bwalle@suse.de - fix build for Fedora 8 * Wed Jan 02 2008 bwalle@suse.de - update to 0.1.1 o compilation and build fixes o CLI: improve debugging messages o GUI: new "logfile" option for debugging o Windows: fix problem that download is corrupted o add support for checksum testing after download to ensure that the download was correct * Fri Dec 28 2007 bwalle@suse.de - fix build for gcc 4.3 * Thu Dec 27 2007 bwalle@suse.de - intial SUSE package
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