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