Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > ba2297ca19644ca901e31f1b014b26f9 > files > 3

ml85p-0.2.0-10.mga3.src.rpm

Summary:	Driver for the Samsung ML-85G and QL-85G winprinters
Name:		ml85p
Version:	0.2.0
Release:	%mkrel 10
License:	GPL
Group:		System/Printing
URL:		http://www.pragana.net/gdiprinters.html
Source0:	http://www.pragana.net/%{name}-%{version}.tar.gz
Patch:  	ml85p-0.2.0-build_fix.patch
Exclusivearch:	%{ix86} x86_64

%description
Driver for the Samsung ML-85G and QL-85G winprinters.

%prep

%setup -q
%patch -p1 -b .build_fix

# fix attribs
chmod 644 *

# path hack
perl -pi -e "s|/usr/local/bin|%{_bindir}|g" *

%build
rm -f ml85p
%{__cc} %{optflags} %{ldflags} -o ml85p ml85p.c

%install
install -d %{buildroot}%{_bindir}
install -m0755 ml85p %{buildroot}%{_bindir}/

%files
%defattr(0644,root,root,0755)
%doc COPYING NEWS README THANKS ml85-print ml85-test printcap
%attr(0755,root,root) %{_bindir}/*
# "ml85p" talks directly to the parallel port I/O 0x378, not to /dev/lp0
# Therefore SUID "root" is needed. Program only executable by "lp" & "root"
# (group-executable).
%attr(4750,root,sys) %{_bindir}/ml85p


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.2.0-10.mga3
+ Revision: 360152
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + kamil <kamil>
    - clean .spec

* Wed Feb 23 2011 ennael <ennael> 0.2.0-9.mga1
+ Revision: 57889
- clean spec file
- imported package ml85p