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