]> git.pld-linux.org Git - packages/gfax.git/blob - gfax.spec
- updated URLs, cleanup
[packages/gfax.git] / gfax.spec
1 Summary:        The GNOME Fax Application
2 Summary(pl):    Aplikacja GNOME do faksów
3 Name:           gfax
4 Version:        0.6.4
5 Release:        4
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://gfax.cowlug.org/%{name}-%{version}.tar.gz
9 # Source0-md5:  9ec7185ed012607fa529b5758e02e0d2
10 Patch0:         %{name}-destdir.patch
11 Patch1:         %{name}-amd64.patch
12 Patch2:         %{name}-desktop.patch
13 URL:            http://gfax.cowlug.org/
14 BuildRequires:  dotnet-gtk-sharp-devel
15 BuildRequires:  mono-csharp
16 Requires:       dotnet-gtk-sharp >= 0.93
17 Requires:       mono >= 0.93
18 ExcludeArch:    alpha
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Gfax is a popup tool for easily sending facsimilies by printing to a
23 fax printer.
24
25 Gfax works with GNOME.
26
27 %description -l pl
28 Gfax jest narzêdziem do ³atwego wysy³ania faksów poprzez drukowanie
29 ich na drukarce faksowej. Gfax dzia³a z GNOME.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p1
35 %patch2 -p1
36
37 %build
38 %{__make} schema
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_sysconfdir}/gconf/schemas,%{_var}/spool/gfax}
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 install -m 644 data/gfax.schema $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/gfax.schemas
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 %gconf_schema_install
55 %{_datadir}/gfax/printer-setup.sh --install
56
57 %preun
58 %{_datadir}/gfax/printer-setup.sh --remove
59
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog README INSTALL NEWS TODO
63 %attr(755,root,root) %{_bindir}/gfax
64 %attr(755,root,root) %{_bindir}/gfaxlpr
65 %attr(755,root,root) %{_bindir}/mono-gfax.exe
66 %dir %{_datadir}/gfax
67 %{_datadir}/gfax/*.xml
68 %{_datadir}/gfax/fax-g3.profile
69 %attr(755,root,root) %{_datadir}/gfax/printer-setup.sh
70 %{_pixmapsdir}/*
71 %{_desktopdir}/*
72 %{_sysconfdir}/gconf/schemas/*.schemas
73 %attr(1777,root,root) %dir %{_var}/spool/gfax
This page took 0.093924 seconds and 4 git commands to generate.