]> git.pld-linux.org Git - packages/fax4CUPS.git/commitdiff
- adaptarized for cups-backend-* packages compatibility
authorpascalek <pascalek@pld-linux.org>
Wed, 19 Mar 2003 12:28:28 +0000 (12:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fax4CUPS.spec -> 1.3

fax4CUPS.spec

index 312613343e99ae41ab77e8a7aecb9ea56e1758e0..3600bd687f5bad506d6e2dc31016ff7ee4d3fa30 100644 (file)
@@ -1,41 +1,43 @@
 Summary:       Fax4CUPS - CUPS backend for a serial fax modem
 Name:          fax4CUPS
 Version:       1.22
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://gongolo.usr.dsi.unimi.it/~vigna/%{name}/%{name}-%{version}.tar.gz
 URL:           http://gongolo.usr.dsi.unimi.it/~vigna/%{name}/
 Requires:      cups
+BuildRequires: cups-devel
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Fax4CUPS - CUPS backend for a serial fax modem
 
-%package compat
+%package -n cups-backend-fax-compat
 Summary:       Compatibility fax backend
 Group:         Applications/Communications
 Requires:      %{name} = %{version}
 
-%description compat
+%description -n cups-backend-fax-compat
 Compatibility fax backend.
 
-%package efax
+%package -n cups-backend-efax
 Summary:       efax backend
 Group:         Applications/Communications
 Requires:      %{name} = %{version}
+Requires:      efax
 
-%description efax
+%description -n cups-backend-efax
 efax backend
 
-%package hylafax
+%package -n cups-backend-hylafax
 Summary:       hylafax backend
 Group:         Applications/Communications
 Requires:      %{name} = %{version}
 Requires:      hylafax-client
 
-%description hylafax
+%description -n cups-backend-hylafax
 hylafax backend
 
 %prep
@@ -50,11 +52,11 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
-install -d $RPM_BUILD_ROOT%{_libdir}/cups/backend
-install -d $RPM_BUILD_ROOT%{_datadir}/cups/model
+install -d $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
+install -d $RPM_BUILD_ROOT%(cups-config --datadir)/model
 
-install fax efax hylafax $RPM_BUILD_ROOT%{_libdir}/cups/backend
-install *.ppd $RPM_BUILD_ROOT%{_datadir}/cups/model
+install fax efax hylafax $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
+install *.ppd $RPM_BUILD_ROOT%(cups-config --datadir)/model
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -63,17 +65,17 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_mandir}/man1/*
 
-%files compat
+%files -n cups-backend-fax-compat
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/cups/backend/fax
-%{_datadir}/cups/model/fax.ppd
+%attr(755,root,root) %(cups-config --serverbin)/backend/fax
+%(cups-config --datadir)/model/fax.ppd
 
-%files efax
+%files -n cups-backend-efax
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/cups/backend/efax
-%{_datadir}/cups/model/efax.ppd
+%attr(755,root,root) %(cups-config --serverbin)/backend/efax
+%(cups-config --datadir)/model/efax.ppd
 
-%files hylafax
+%files -n cups-backend-hylafax
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/cups/backend/hylafax
-%{_datadir}/cups/model/hylafax.ppd
+%attr(755,root,root) %(cups-config --serverbin)/backend/hylafax
+%(cups-config --datadir)/model/hylafax.ppd
This page took 0.07451 seconds and 4 git commands to generate.