|
@@ -1,5 +1,5 @@
|
|
|
Name: cups-pdf
|
|
|
-Version: 2.6.1
|
|
|
+Version: 3.0.1
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: Extension for creating pdf-Files with CUPS
|
|
|
Summary(ja): CUPS を用いた仮想 PDF プリンター
|
|
@@ -20,9 +20,12 @@ Patch4: cups-pdf-build.patch
|
|
|
# Report error/success in log
|
|
|
Patch5: cups-pdf-result.patch
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-#BuildRequires: cups-devel
|
|
|
-Requires: ghostscript, cups
|
|
|
+BuildRequires: cups-devel
|
|
|
+Requires: ghostscript, cups
|
|
|
Requires(post): cups
|
|
|
Requires(postun): cups
|
|
|
|
|
@@ -70,14 +73,9 @@ cp -p %{SOURCE1} INSTALL.RPM
|
|
|
|
|
|
%build
|
|
|
pushd src
|
|
|
-%{__cc} $RPM_OPT_FLAGS -o cups-pdf cups-pdf.c
|
|
|
+%{__cc} $RPM_OPT_FLAGS -lcups -o cups-pdf cups-pdf.c
|
|
|
popd
|
|
|
|
|
|
-# Avoid perl dependencies
|
|
|
-%{__chmod} -x contrib/pstitleiconv-0.2/pstitleiconv
|
|
|
-%{__chmod} -x contrib/cups-pdf-dispatch-0.1/cups-pdf-dispatch
|
|
|
-%{__chmod} -x contrib/SELinux-HOWTO/update-module
|
|
|
-
|
|
|
%install
|
|
|
%__rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
@@ -88,7 +86,7 @@ popd
|
|
|
%__mkdir_p $RPM_BUILD_ROOT%{CPBACKEND}
|
|
|
%__mkdir_p $RPM_BUILD_ROOT%{ETCCUPS}
|
|
|
%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/cups/model/
|
|
|
-%__install -m644 extra/CUPS-PDF.ppd $RPM_BUILD_ROOT%{_datadir}/cups/model/
|
|
|
+%__install -m644 extra/{CUPS-PDF_noopt,CUPS-PDF_opt}.ppd %{buildroot}%{_datadir}/cups/model/
|
|
|
%__install -m644 extra/cups-pdf.conf $RPM_BUILD_ROOT%{ETCCUPS}/
|
|
|
%__install -m755 src/cups-pdf $RPM_BUILD_ROOT%{CPBACKEND}
|
|
|
|
|
@@ -119,14 +117,19 @@ fi
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
-%doc ChangeLog COPYING README INSTALL.RPM contrib/
|
|
|
+%license COPYING
|
|
|
+%doc ChangeLog README INSTALL.RPM
|
|
|
%dir %{CPSPOOL}
|
|
|
%dir %{CPOUT}
|
|
|
%attr(700, root, root) %{CPBACKEND}/cups-pdf
|
|
|
%config(noreplace) %{ETCCUPS}/cups-pdf.conf
|
|
|
-%{_datadir}/cups/model/CUPS-PDF.ppd
|
|
|
+%{_datadir}/cups/model/CUPS-PDF*.ppd
|
|
|
|
|
|
%changelog
|
|
|
+* Tue May 28 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.1-1
|
|
|
+- new upstream release.
|
|
|
+- updated Patch2-5.
|
|
|
+
|
|
|
* Sun Mar 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.6.1-1
|
|
|
- new upstream release
|
|
|
- updated Patch0
|