|
|
adf551c |
%global short_version 1.4.0
|
|
|
adf551c |
|
|
|
4184108 |
%if 0%{?fedora}
|
|
|
4184108 |
%global with_python3_cups 1
|
|
|
4184108 |
%endif
|
|
|
4184108 |
|
|
|
adf551c |
Name: dymo-cups-drivers
|
|
|
adf551c |
Version: %{short_version}.5
|
|
|
4184108 |
Release: 6%{?dist}
|
|
|
adf551c |
Summary: DYMO LabelWriter Drivers for CUPS
|
|
|
4184108 |
License: GPLv2+
|
|
|
adf551c |
URL: http://www.dymo.com
|
|
|
adf551c |
|
|
|
adf551c |
Source0: http://download.dymo.com/dymo/Software/Download%20Drivers/Linux/Download/dymo-cups-drivers-%{short_version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
adf551c |
|
|
|
adf551c |
# https://github.com/matthiasbock/dymo-cups-drivers/pull/6
|
|
|
adf551c |
Patch0: dymo-cups-drivers-fix-fsf-address.patch
|
|
|
adf551c |
# https://github.com/matthiasbock/dymo-cups-drivers/commit/2433fa303dd9925f8b36b18406863c56766c651b
|
|
|
adf551c |
Patch1: dymo-cups-drivers-replace-boolean-or-with-bitwise.patch
|
|
|
adf551c |
# https://github.com/matthiasbock/dymo-cups-drivers/commit/d7ef90a48c61c898a3d69f353673d81d7540c892
|
|
|
adf551c |
Patch2: dymo-cups-drivers-unused-var-statusok.patch
|
|
|
adf551c |
# https://github.com/matthiasbock/dymo-cups-drivers/commit/697cfb8115054fb95b9e91d54d68f47ee3805060
|
|
|
adf551c |
Patch3: dymo-cups-drivers-replace-deprecated-type.patch
|
|
|
adf551c |
# https://github.com/matthiasbock/dymo-cups-drivers/pull/7
|
|
|
adf551c |
Patch4: dymo-cups-drivers-autotools-deprecations.patch
|
|
|
adf551c |
|
|
|
adf551c |
# Patch files obtained from printer-driver-dymo Debian source package
|
|
|
adf551c |
Patch5: 0001-Inheritate-CXXFLAGS-from-the-environment-to-use-dpkg.patch
|
|
|
adf551c |
Patch6: 0002-Port-to-newer-cups-headers-ppd_file_t-is-only-define.patch
|
|
|
adf551c |
|
|
|
adf551c |
BuildRequires: autoconf
|
|
|
adf551c |
BuildRequires: automake
|
|
|
adf551c |
BuildRequires: cups-devel
|
|
|
adf551c |
BuildRequires: glibc-headers
|
|
|
adf551c |
BuildRequires: libtool
|
|
|
adf551c |
BuildRequires: gcc-c++
|
|
|
adf551c |
BuildRequires: sed
|
|
|
4184108 |
%{?with_python3_cups:BuildRequires: python3-cups}
|
|
|
4184108 |
%{!?with_python3_cups:BuildRequires: python-cups}
|
|
|
adf551c |
|
|
|
adf551c |
Requires: cups
|
|
|
adf551c |
|
|
|
adf551c |
%description
|
|
|
adf551c |
DYMO LabelWriter and DYMO LabelMANAGER series drivers for CUPS
|
|
|
adf551c |
|
|
|
adf551c |
%prep
|
|
|
adf551c |
%autosetup -p 1
|
|
|
adf551c |
|
|
|
adf551c |
%build
|
|
|
adf551c |
autoreconf --force --install
|
|
|
adf551c |
# Must enable c++11 for el7
|
|
|
adf551c |
%{configure} CXXFLAGS="${CXXFLAGS} -std=c++11"
|
|
|
adf551c |
%make_build
|
|
|
adf551c |
|
|
|
adf551c |
%install
|
|
|
adf551c |
%make_install
|
|
|
adf551c |
|
|
|
adf551c |
%files
|
|
|
adf551c |
%license LICENSE
|
|
|
adf551c |
%doc AUTHORS ChangeLog README docs/ samples/
|
|
|
adf551c |
%{_cups_serverbin}/filter/*
|
|
|
adf551c |
%{_datadir}/cups/model/*
|
|
|
adf551c |
|
|
|
adf551c |
%changelog
|
|
|
4184108 |
* Sun Feb 03 2019 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.4.0.5-6
|
|
|
4184108 |
- BZ1669976: update License tag, buildrequires python3-cups
|
|
|
4184108 |
|
|
|
3dde749 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0.5-5
|
|
|
3dde749 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
3dde749 |
|
|
|
adf551c |
* Tue Jan 08 2019 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.4.0.5-4
|
|
|
adf551c |
- don't own cups folders
|
|
|
adf551c |
- COPYING not needed, since content is the same as LICENSE
|
|
|
adf551c |
- fix autotools deprecration warnings
|
|
|
adf551c |
|
|
|
adf551c |
* Mon Jan 07 2019 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.4.0.5-3
|
|
|
adf551c |
- fix typo calling configure macro
|
|
|
adf551c |
- add license and doc files
|
|
|
adf551c |
- use _cups_serverbin macro
|
|
|
adf551c |
- use autoreconf
|
|
|
adf551c |
|
|
|
adf551c |
* Mon Nov 26 2018 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.4.0.5-2
|
|
|
adf551c |
- Add gcc buildrequires for f29
|
|
|
adf551c |
|
|
|
adf551c |
* Sat Sep 1 2018 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.4.0.5-1
|
|
|
adf551c |
- Initial specfile
|