avatar
Rosa has added 2f4bc934d5
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "magicolor5440DL-1.2.1.tar.gz": 19dfcfb9af82b9dd592a0020b5b92244cdc83912
view file @ 2f4bc934d5
... ... --- /dev/null
... ... +++ b/cups-drivers-magicolor5440dl.spec
... ... @@ -0,0 +1,129 @@
1
%define rname magicolor5440dl
2
3
Summary:	Cups Driver for KONICA MINOLTA magicolor 5440 DL
4
Name:		cups-drivers-%{rname}
5
Version:	1.2.1
6
Release:	%mkrel 13
7
License:	GPL
8
Group:		System/Printing
9
URL:		http://printer.konicaminolta.net/
10
Source0:	magicolor5440DL-%{version}.tar.gz
11
Patch0:		magicolor2430DL-shared_system_libs.diff
12
BuildRequires:	automake
13
BuildRequires:	cups-devel
14
BuildRequires:	jbig-devel
15
BuildRequires:	lcms-devel
16
Requires:	cups
17
Conflicts:	cups-drivers = 2007
18
Conflicts:	printer-utils = 2007
19
Conflicts:	printer-filters = 2007
20
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
21
22
%description
23
This package contains KONICA MINOLTA CUPS LavaFlow stream(PCL-like) filter
24
rastertokm5440dl and the PPD file. The filter converts CUPS raster data to
25
KONICA MINOLTA LavaFlow stream.
26
27
This package contains CUPS drivers (PPD) for the following printers:
28
29
 o KONICA MINOLTA magicolor 5440 DL printer
30
31
%prep
32
33
%setup -q -n magicolor5440DL-%{version}
34
%patch0 -p0
35
36
# Fix copy of CUPS headers in kmlf.h
37
perl -p -i -e 's:\bcups_strlcpy:_cups_strlcpy:g' src/kmlf.h
38
39
# Remove asterisks from group names in PPD file
40
gzip -dc src/km_en.ppd.gz | perl -p -e 's/(Group:\s+)\*/$1/g' | gzip > src/km_en.tmp.ppd.gz && mv -f src/km_en.tmp.ppd.gz src/km_en.ppd.gz
41
42
# Determine the directory for the CUPS filters using the correct method
43
perl -p -i -e 's:(CUPS_SERVERBIN=)"\$libdir/cups":$1`cups-config --serverbin`:' configure*
44
45
%build
46
rm -f configure
47
libtoolize --force --copy; aclocal; automake --add-missing --copy --foreign; autoconf
48
49
%configure2_5x
50
51
%make
52
53
%install
54
rm -rf %{buildroot}
55
56
%makeinstall_std
57
58
%clean
59
rm -rf %{buildroot}
60
61
%files
62
%defattr(-,root,root)
63
%doc AUTHORS COPYING ChangeLog
64
%{_prefix}/lib/cups/filter/rastertokm5440dl
65
%{_datadir}/KONICA_MINOLTA/mc5440DL
66
%attr(0644,root,root) %{_datadir}/cups/model/KONICA_MINOLTA/km5440dl.ppd*
67
68
69
%changelog
70
* Tue May 03 2011 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-13mdv2011.0
71
+ Revision: 663444
72
- mass rebuild
73
74
* Sun Jan 02 2011 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-12mdv2011.0
75
+ Revision: 627568
76
- don't force the usage of automake1.7
77
78
* Tue Nov 30 2010 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-11mdv2011.0
79
+ Revision: 603876
80
- rebuild
81
82
* Sun Mar 14 2010 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-10mdv2010.1
83
+ Revision: 518848
84
- rebuild
85
86
* Sun Aug 09 2009 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-9mdv2010.0
87
+ Revision: 413292
88
- rebuild
89
90
* Sat Jan 31 2009 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-8mdv2009.1
91
+ Revision: 335841
92
- rebuilt against new jbigkit major
93
94
* Tue Dec 23 2008 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-7mdv2009.1
95
+ Revision: 318076
96
- rebuild
97
98
* Mon Jun 16 2008 Thierry Vignaud <tv@mandriva.org> 1.2.1-6mdv2009.0
99
+ Revision: 220547
100
- rebuild
101
102
* Fri Jan 11 2008 Thierry Vignaud <tv@mandriva.org> 1.2.1-5mdv2008.1
103
+ Revision: 149154
104
- rebuild
105
- kill re-definition of %%buildroot on Pixel's request
106
107
  + Olivier Blin <oblin@mandriva.com>
108
    - restore BuildRoot
109
110
* Thu Aug 30 2007 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-4mdv2008.0
111
+ Revision: 75333
112
- fix deps (pixel)
113
114
* Wed Aug 22 2007 Thierry Vignaud <tv@mandriva.org> 1.2.1-3mdv2008.0
115
+ Revision: 69001
116
- fix description
117
118
* Thu Aug 16 2007 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-2mdv2008.0
119
+ Revision: 64154
120
- use the new System/Printing RPM GROUP
121
122
* Mon Aug 13 2007 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-1mdv2008.0
123
+ Revision: 62520
124
- Import cups-drivers-magicolor5440dl
125
126
127
128
* Mon Aug 13 2007 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-1mdv2008.0
129
- initial Mandriva package
view file @ 2f4bc934d5
... ... --- /dev/null
... ... +++ b/magicolor2430DL-shared_system_libs.diff
... ... @@ -0,0 +1,41 @@
1
--- configure.in	2007-02-28 23:42:54.000000000 +0100
2
+++ configure.in.oden	2007-08-12 18:23:09.000000000 +0200
3
@@ -87,28 +87,20 @@
4
 AC_CHECK_LIB(cups, ppdOpenFile)
5
 AC_CHECK_LIB([cupsimage], [cupsRasterReadHeader])
6
 AC_CHECK_LIB([jbig], [jbg_enc_init],
7
-if test -f "/usr/lib64/libjbig.a"; then
8
-	LIBJBIG="/usr/lib64/libjbig.a"
9
-elif test -f "/usr/lib/libjbig.a"; then
10
-	LIBJBIG="/usr/lib/libjbig.a"
11
-elif test -f "/usr/local/lib64/libjbig.a"; then
12
-	LIBJBIG="/usr/local/lib64/libjbig.a"
13
-else
14
-	LIBJBIG="/usr/local/lib/libjbig.a"
15
+if test -f "/usr/lib64/libjbig.so"; then
16
+	LIBJBIG="-ljbig"
17
+elif test -f "/usr/lib/libjbig.so"; then
18
+	LIBJBIG="-ljbig"
19
 fi,
20
-[AC_MSG_ERROR([Could not find libjbig.a])])
21
+[AC_MSG_ERROR([Could not find -ljbig])])
22
 AC_SUBST(LIBJBIG)
23
 AC_CHECK_LIB([lcms], [cmsCreateTransform],
24
-if test -f "/usr/lib64/liblcms.a"; then
25
-	LIBLCMS="/usr/lib64/liblcms.a"
26
-elif test -f "/usr/lib/liblcms.a"; then
27
-	LIBLCMS="/usr/lib/liblcms.a"
28
-elif test -f "/usr/local/lib64/liblcms.a"; then
29
-	LIBLCMS="/usr/local/lib64/liblcms.a"
30
-else
31
-	LIBLCMS="/usr/local/lib/liblcms.a"
32
+if test -f "/usr/lib64/liblcms.so"; then
33
+	LIBLCMS="-llcms"
34
+elif test -f "/usr/lib/liblcms.so"; then
35
+	LIBLCMS="-llcms"
36
 fi,
37
-[AC_MSG_ERROR([Could not find liblcms.a])])
38
+[AC_MSG_ERROR([Could not find -llcms])])
39
 AC_SUBST(LIBLCMS)
40
 
41
 # Checks for header files.

Comments