]> git.pld-linux.org Git - packages/gfax.git/blobdiff - gfax.spec
This commit was manufactured by cvs2git to create branch 'AC-branch'.
[packages/gfax.git] / gfax.spec
index eefed6c09fe41eb3222b2f5fb52e098c02b38c45..b40d77fc94f8fe06a28d1f106f75e1f27eab22c4 100644 (file)
--- a/gfax.spec
+++ b/gfax.spec
@@ -1,20 +1,34 @@
 Summary:       The GNOME Fax Application
+Summary(pl):   Aplikacja GNOME do faksów
 Name:          gfax
-Version:       0.4.1
-Release:       2
+Version:       0.7.3
+Release:       3
 License:       GPL
 Group:         Applications/Communications
-Group(de):     Applikationen/Kommunikation
-Group(pl):     Aplikacje/Komunikacja
-Source0:       ftp://raven.cc.mala.bc.ca/pub/Linux/%{name}-%{version}.tar.gz
-BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel
-BuildRequires: libglade-devel
-URL:           http://www.gmsys.com/gnome-gfax.html
+Source0:       http://gfax.cowlug.org/%{name}-%{version}-1.tar.gz
+# Source0-md5: 59e1430ae0936508ef3814185890213c
+Patch0:                %{name}-destdir.patch
+Patch1:                %{name}-desktop.patch
+Patch2:                %{name}-paths.patch
+Patch3:                %{name}-dotnet.patch
+URL:           http://gfax.cowlug.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: dotnet-dbus-sharp-devel
+# wants {gtk,gnome,gconf,glade}-sharp
+BuildRequires: dotnet-gtk-sharp-gnome-devel >= 0.93
+BuildRequires: intltool >= 0.25
+# for directory name detection
+BuildRequires: libgnomeprint-devel
+BuildRequires: libtool
+BuildRequires: mono-csharp >= 0.93
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.198
+%requires_eq   libgnomeprint
+Requires:      dotnet-gtk-sharp-gnome >= 0.93
+Requires:      mono >= 0.93
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-
 %description
 Gfax is a popup tool for easily sending facsimilies by printing to a
 fax printer.
@@ -26,10 +40,18 @@ Gfax jest narz
 ich na drukarce faksowej. Gfax dzia³a z GNOME.
 
 %prep
-%setup -q
+%setup -q -n %{name}
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-gettextize --copy --force
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -37,20 +59,31 @@ gettextize --copy --force
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       Applicationsdir=%{_applnkdir}/Office/Misc
-
-gzip -9nf AUTHORS ChangeLog NEWS README FAQ-gfax
+       DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name} --with-gnome
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post
+%gconf_schema_install gfax.schemas
+
+%preun
+%gconf_schema_uninstall gfax.schemas
+
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog README INSTALL NEWS TODO
 %attr(755,root,root) %{_bindir}/gfax
-%{_datadir}/gfax
-%{_datadir}/pixmaps/*
-%{_applnkdir}/Office/Misc/*
+%attr(755,root,root) %{_bindir}/gfaxlpr
+%dir %{_libdir}/gfax
+%attr(755,root,root) %{_libdir}/gfax/gfax.exe
+%{_datadir}/libgnomeprint/*/models/GNOME-GFAX-PS.xml
+%{_datadir}/libgnomeprint/*/printers/GFAX.xml
+%{_pixmapsdir}/*.png
+%{_desktopdir}/gfax.desktop
+%{_sysconfdir}/gconf/schemas/*.schemas
+%attr(1777,root,root) %dir %{_var}/spool/gfax
+%attr(1777,root,root) %dir %{_var}/spool/gfax/doneq
+%attr(1777,root,root) %dir %{_var}/spool/gfax/recq
This page took 0.045847 seconds and 4 git commands to generate.