]>
Commit | Line | Data |
---|---|---|
e173353c | 1 | %define snap 20131213 |
57a570f4 | 2 | %define rel 3 |
b2738108 | 3 | Summary: A set of CUPS printer drivers for SPL (Samsung Printer Language) printers |
17df2471 | 4 | Summary(hu.UTF-8): CUPS meghajtók sokasága SPL (Samsung Printer Language) nyomtatókhoz |
553b1bb8 | 5 | Summary(pl.UTF-8): Zestaw sterowników do drukarek obsługujących SPL (Samsung Printer Language) |
b2738108 | 6 | Name: cups-driver-splix |
6f459cce | 7 | Version: 2.0.0 |
f677425e | 8 | Release: 11.%{snap}.%{rel} |
b2738108 ZU |
9 | License: GPL |
10 | Group: Applications | |
050ec0bf AM |
11 | # Source0: http://downloads.sourceforge.net/splix/splix-%{version}.tar.bz2 |
12 | Source0: splix-%{snap}.tar.bz2 | |
e173353c | 13 | # Source0-md5: a06d3da63f5dc5617ecff3e4de2cf88e |
eb1cb0f1 AM |
14 | Source1: http://splix.ap2c.org/samsung_cms.tar.bz2 |
15 | # Source1-md5: 51bf60a93575eb392ed6ad5d43e00e36 | |
b2738108 ZU |
16 | URL: http://splix.sourceforge.net/ |
17 | BuildRequires: cups-devel | |
c5e174a4 | 18 | BuildRequires: jbigkit-devel |
08921238 | 19 | BuildRequires: libstdc++-devel |
b2738108 ZU |
20 | Requires: cups |
21 | Requires: cups-clients | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %define _datadir %(cups-config --datadir 2>/dev/null) | |
25 | %define _libdir %(cups-config --serverbin 2>/dev/null) | |
26 | %define _cupsppddir %{_datadir}/model | |
27 | %define _cupsfilterdir %{_libdir}/filter | |
28 | %define _cupsfontsdir %{_datadir}/fonts | |
9977ac19 | 29 | %define _cupsprofilesdir %{_datadir}/profiles |
b2738108 ZU |
30 | |
31 | %description | |
32 | Splix is a driver for printers that speak SPL (Samsung Printer | |
33 | Language). This includes printers made by Samsung and several Xerox | |
34 | printers. | |
35 | ||
17df2471 ZU |
36 | %description -l hu.UTF-8 |
37 | A splix meghajtókat tartalmaz SPL (Samsung Printer Language) | |
c5e174a4 AM |
38 | nyomtatókhoz. Ezek a Samsung által gyártott nyomtatók és még néhány a |
39 | Xerox termékei közül. | |
17df2471 | 40 | |
553b1bb8 | 41 | %description -l pl.UTF-8 |
42 | Splix jest sterownikiem do drukarek obsługującym SPL (Samsung Printer | |
43 | Language). Wspiera modele wyprodukowane przez Samsunga jak również | |
44 | niektóre drukarki Xeroksa. | |
45 | ||
b2738108 ZU |
46 | %package samsung |
47 | Summary: Splix Samsung drivers to CUPS | |
17df2471 | 48 | Summary(hu.UTF-8): Splix Samsung meghajtók CUPS-hoz |
553b1bb8 | 49 | Summary(pl.UTF-8): Splix sterownik Samsunga do CUPS |
b2738108 | 50 | Group: Applications |
989078b4 | 51 | Requires: %{name} = %{version}-%{release} |
b2738108 ZU |
52 | |
53 | %description samsung | |
54 | Splix Samsung drivers to CUPS | |
55 | ||
17df2471 ZU |
56 | %description samsung -l hu.UTF-8 |
57 | Splix Samsung meghajtók CUPS-hoz. | |
58 | ||
553b1bb8 | 59 | %description samsung -l pl.UTF-8 |
60 | Splix sterownik Samsunga do CUPS | |
61 | ||
b2738108 ZU |
62 | %package xerox |
63 | Summary: Splix Xerox drivers to CUPS | |
17df2471 | 64 | Summary(hu.UTF-8): Splix Xerox meghajtók CUPS-hoz |
553b1bb8 | 65 | Summary(pl.UTF-8): Splix sterownik Xeroksa do CUPS |
b2738108 | 66 | Group: Applications |
989078b4 | 67 | Requires: %{name} = %{version}-%{release} |
b2738108 ZU |
68 | |
69 | %description xerox | |
70 | Splix Xerox drivers to CUPS | |
71 | ||
17df2471 ZU |
72 | %description xerox -l hu.UTF-8 |
73 | Splix Xerox meghajtók CUPS-hoz. | |
74 | ||
553b1bb8 | 75 | %description xerox -l pl.UTF-8 |
76 | Splix sterownik Xeroksa do CUPS | |
77 | ||
b2738108 ZU |
78 | %package dell |
79 | Summary: Splix Dell drivers to CUPS | |
17df2471 | 80 | Summary(hu.UTF-8): Splix Dell meghajtók CUPS-hoz |
553b1bb8 | 81 | Summary(pl.UTF-8): Splix sterownik Della do CUPS |
b2738108 | 82 | Group: Applications |
989078b4 | 83 | Requires: %{name} = %{version}-%{release} |
b2738108 ZU |
84 | |
85 | %description dell | |
86 | Splix Dell drivers to CUPS | |
87 | ||
17df2471 ZU |
88 | %description dell -l hu.UTF-8 |
89 | Splix Dell meghajtók CUPS-hoz. | |
90 | ||
553b1bb8 | 91 | %description dell -l pl.UTF-8 |
92 | Splix sterownik Della do CUPS | |
93 | ||
6c1c1628 AM |
94 | %package lexmark |
95 | Summary: Splix Lexmark drivers to CUPS | |
96 | Summary(hu.UTF-8): Splix Lexmark meghajtók CUPS-hoz | |
97 | Summary(pl.UTF-8): Splix sterownik Lexmark do CUPS | |
98 | Group: Applications | |
99 | Requires: %{name} = %{version}-%{release} | |
100 | ||
101 | %description lexmark | |
102 | Splix Lexmark drivers to CUPS | |
103 | ||
104 | %description dell -l hu.UTF-8 | |
105 | Splix Lexmark meghajtók CUPS-hoz. | |
106 | ||
107 | %description dell -l pl.UTF-8 | |
108 | Splix sterownik Lexmark do CUPS | |
109 | ||
110 | %package toshiba | |
111 | Summary: Splix Toshiba drivers to CUPS | |
112 | Summary(hu.UTF-8): Splix Toshiba meghajtók CUPS-hoz | |
113 | Summary(pl.UTF-8): Splix sterownik Toshiba do CUPS | |
114 | Group: Applications | |
115 | Requires: %{name} = %{version}-%{release} | |
116 | ||
117 | %description toshiba | |
118 | Splix Toshiba drivers to CUPS | |
119 | ||
120 | %description toshiba -l hu.UTF-8 | |
121 | Splix Toshiba meghajtók CUPS-hoz. | |
122 | ||
123 | %description toshiba -l pl.UTF-8 | |
124 | Splix sterownik Toshiba do CUPS | |
125 | ||
b2738108 | 126 | %prep |
050ec0bf | 127 | %setup -q -n splix -a1 |
b2738108 ZU |
128 | |
129 | %build | |
495352ca | 130 | %{__make} \ |
131 | CXX="%{__cxx}" \ | |
132 | OPTCXXFLAGS="%{rpmcxxflags}" \ | |
c5e174a4 | 133 | OPTLDFLAGS="%{rpmldflags} %{rpmcxxflags}" |
b2738108 ZU |
134 | |
135 | %install | |
136 | rm -rf $RPM_BUILD_ROOT | |
b2738108 | 137 | |
9977ac19 AM |
138 | install -d $RPM_BUILD_ROOT%{_cupsprofilesdir}/samsung |
139 | ||
6c1c1628 AM |
140 | %{__make} install \ |
141 | DESTDIR=$RPM_BUILD_ROOT \ | |
142 | CUPSFILTER=%{_cupsfilterdir} | |
eb1cb0f1 | 143 | |
9977ac19 AM |
144 | cp -a cms/* $RPM_BUILD_ROOT%{_cupsprofilesdir}/samsung |
145 | ||
146 | ||
b2738108 ZU |
147 | %clean |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
b2738108 ZU |
150 | %files |
151 | %defattr(644,root,root,755) | |
152 | %doc AUTHORS ChangeLog INSTALL README THANKS TODO | |
6f459cce | 153 | %attr(755,root,root) %{_cupsfilterdir}/rastertoqpdl |
154 | %attr(755,root,root) %{_cupsfilterdir}/pstoqpdl | |
b2738108 ZU |
155 | |
156 | %files samsung | |
157 | %defattr(644,root,root,755) | |
6c1c1628 | 158 | %{_cupsppddir}/samsung |
9977ac19 AM |
159 | %dir %{_cupsprofilesdir} |
160 | %{_cupsprofilesdir}/samsung | |
b2738108 | 161 | |
b2738108 ZU |
162 | %files xerox |
163 | %defattr(644,root,root,755) | |
6c1c1628 | 164 | %{_cupsppddir}/xerox |
b2738108 ZU |
165 | |
166 | %files dell | |
167 | %defattr(644,root,root,755) | |
6c1c1628 AM |
168 | %{_cupsppddir}/dell |
169 | ||
170 | %files lexmark | |
171 | %defattr(644,root,root,755) | |
172 | %{_cupsppddir}/lexmark | |
173 | ||
174 | %files toshiba | |
175 | %defattr(644,root,root,755) | |
176 | %{_cupsppddir}/toshiba |