Move the place of paps.convs to %{_datadir}/cups/mime. (#1042984)

This commit is contained in:
Akira TAGOH 2013-12-16 18:13:48 +09:00
parent 957fbf60ec
commit c0e8fa691f

View File

@ -1,6 +1,6 @@
Name: paps
Version: 0.6.8
Release: 26%{?dist}
Release: 27%{?dist}
License: LGPLv2+
URL: http://paps.sourceforge.net/
@ -37,6 +37,7 @@ Patch58: paps-correct-fsf-address.patch
Summary: Plain Text to PostScript converter
Group: Applications/Publishing
Requires: %{name}-libs = %{version}-%{release}
Requires: cups-filesystem
%description
paps is a PostScript converter from plain text file using Pango.
@ -95,7 +96,7 @@ install -d $RPM_BUILD_ROOT%{_cups_serverbin}/filter # Not libdir
ln -s %{_bindir}/paps $RPM_BUILD_ROOT%{_cups_serverbin}/filter/texttopaps
install -d $RPM_BUILD_ROOT%{_sysconfdir}/cups
install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cups
install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/cups/mime/
%post libs -p /sbin/ldconfig
@ -106,8 +107,7 @@ install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cups
%{_bindir}/paps
%{_mandir}/man1/paps.1*
%{_cups_serverbin}/filter/texttopaps
%dir %attr (0755, root, lp) %{_sysconfdir}/cups
%{_sysconfdir}/cups/paps.convs
%{_datadir}/cups/mime/paps.convs
%files libs
%doc COPYING.LIB
@ -119,6 +119,9 @@ install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cups
%{_libdir}/libpaps.so
%changelog
* Mon Dec 16 2013 Akira TAGOH <tagoh@redhat.com> - 0.6.8-27
- Move the place of paps.convs to %%{_datadir}/cups/mime. (#1042984)
* Wed Jul 31 2013 Akira TAGOH <tagoh@redhat.com> - 0.6.8-26
- Fix the width calculation with CPI enabled. (#990228)