Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 71751c65a71d3213bc3d7655ccbb892a > files > 2

stylewriter-0.9.9-11.mga3.src.rpm

Summary:	Non-MacOS StyleWriter driver
Name:		stylewriter
Version:	0.9.9
Release:	%mkrel 11
License:	GPL
Group:		System/Printing
URL:		http://homepage.mac.com/monroe/styl/
Source:		http://homepage.mac.com/monroe/styl/stylewriter.tar.gz
Patch0:		stylewriter-gcc4.patch
#BuildRequires:	netatalk-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description
This is a driver for certain types of Apple StyleWriter printers. 

%prep

%setup -q -n %{name}
%patch0 -p0

%build

gcc %{optflags} %{ldflags} -o lpstyl lpstyl.c

# it will not build...
#gcc %{optflags} -DATALK=1 lpstyl.c adsp.c -o lpstyl-atalk -latalk

%install
rm -rf %{buildroot}

install -d %{buildroot}%{_bindir}

install -m0755 lpstyl %{buildroot}%{_bindir}
#install -m0755 lpstyl-atalk %{buildroot}%{_bindir}

%clean
rm -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%doc scripts README* printcap* styl.ppd
%attr(0755,root,root) %{_bindir}/*




%changelog

* Mon Jan 14 2013 umeabot <umeabot> 0.9.9-11.mga3
+ Revision: 383571
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Feb 23 2011 ennael <ennael> 0.9.9-10.mga1
+ Revision: 58007
- clean spec file
- imported package stylewriter