]> git.pld-linux.org Git - packages/fax4CUPS.git/blame - fax4CUPS.spec
- adaptarized for cups-backend-* packages compatibility
[packages/fax4CUPS.git] / fax4CUPS.spec
CommitLineData
cb67568d 1Summary: Fax4CUPS - CUPS backend for a serial fax modem
2Name: fax4CUPS
3Version: 1.22
3e2de871 4Release: 2
cb67568d 5License: GPL
6Group: Applications/Communications
7Source0: http://gongolo.usr.dsi.unimi.it/~vigna/%{name}/%{name}-%{version}.tar.gz
8URL: http://gongolo.usr.dsi.unimi.it/~vigna/%{name}/
9Requires: cups
3e2de871 10BuildRequires: cups-devel
cb67568d 11BuildArch: noarch
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Fax4CUPS - CUPS backend for a serial fax modem
16
3e2de871 17%package -n cups-backend-fax-compat
cb67568d 18Summary: Compatibility fax backend
19Group: Applications/Communications
b7ee090c 20Requires: %{name} = %{version}
cb67568d 21
3e2de871 22%description -n cups-backend-fax-compat
cb67568d 23Compatibility fax backend.
24
3e2de871 25%package -n cups-backend-efax
cb67568d 26Summary: efax backend
27Group: Applications/Communications
b7ee090c 28Requires: %{name} = %{version}
3e2de871 29Requires: efax
cb67568d 30
3e2de871 31%description -n cups-backend-efax
cb67568d 32efax backend
33
3e2de871 34%package -n cups-backend-hylafax
cb67568d 35Summary: hylafax backend
36Group: Applications/Communications
b7ee090c 37Requires: %{name} = %{version}
38Requires: hylafax-client
cb67568d 39
3e2de871 40%description -n cups-backend-hylafax
cb67568d 41hylafax backend
42
43%prep
44%setup -q
45
46%build
47exit 0
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52install -d $RPM_BUILD_ROOT%{_mandir}/man1
53install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
54
3e2de871 55install -d $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
56install -d $RPM_BUILD_ROOT%(cups-config --datadir)/model
cb67568d 57
3e2de871 58install fax efax hylafax $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
59install *.ppd $RPM_BUILD_ROOT%(cups-config --datadir)/model
cb67568d 60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%{_mandir}/man1/*
67
3e2de871 68%files -n cups-backend-fax-compat
cb67568d 69%defattr(644,root,root,755)
3e2de871 70%attr(755,root,root) %(cups-config --serverbin)/backend/fax
71%(cups-config --datadir)/model/fax.ppd
cb67568d 72
3e2de871 73%files -n cups-backend-efax
cb67568d 74%defattr(644,root,root,755)
3e2de871 75%attr(755,root,root) %(cups-config --serverbin)/backend/efax
76%(cups-config --datadir)/model/efax.ppd
cb67568d 77
3e2de871 78%files -n cups-backend-hylafax
cb67568d 79%defattr(644,root,root,755)
3e2de871 80%attr(755,root,root) %(cups-config --serverbin)/backend/hylafax
81%(cups-config --datadir)/model/hylafax.ppd
This page took 0.116511 seconds and 4 git commands to generate.