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