]> git.pld-linux.org Git - packages/gfax.git/blobdiff - gfax.spec
- updated to 0.7.3-1, updated deskdir,desktop patches, removed obsolete amd64 patch
[packages/gfax.git] / gfax.spec
index 76b1b880af4cca9603e754e9e86679c16e277308..958775e209eddc0ef5a0fbf1d6f8dfc0c42e9651 100644 (file)
--- a/gfax.spec
+++ b/gfax.spec
@@ -1,20 +1,33 @@
 Summary:       The GNOME Fax Application
 Summary(pl):   Aplikacja GNOME do faksów
 Name:          gfax
-Version:       0.6.3
-Release:       0.1
+Version:       0.7.3
+Release:       1
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://www.cowlug.org/gfax/%{name}-%{version}.tar.gz
-# Source0-md5: 7d7b6e6fc113df03aad7f6a41f3e61c7
-Patch1:                %{name}-destdir.patch
-URL:           http://www.cowlug.org/gfax/
-BuildArch:      noarch
-Requires:       mono >= 0.93
-Requires:      gtk-sharp >= 0.93
+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
+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)
 
-
 %description
 Gfax is a popup tool for easily sending facsimilies by printing to a
 fax printer.
@@ -26,47 +39,49 @@ 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
 
 %build
-rm -f missing
-
-%{__make} schema
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/usr/share/applications,%{_sysconfdir}/gconf/schemas,%{_var}/spool/gfax}
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -m 644 data/gfax.schema $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/gfax.schemas
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install
-%{_datadir}/gfax/printer-setup.sh --install
+%gconf_schema_install gfax.schemas
 
 %preun
-%{_datadir}/gfax/printer-setup.sh --remove
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%gconf_schema_uninstall gfax.schemas
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%config %{_sysconfdir}/gconf/schemas/*.schemas
-%doc AUTHORS COPYING ChangeLog README INSTALL NEWS TODO
+%doc AUTHORS ChangeLog README INSTALL NEWS TODO
 %attr(755,root,root) %{_bindir}/gfax
 %attr(755,root,root) %{_bindir}/gfaxlpr
-%attr(755,root,root) %{_bindir}/mono-gfax.exe
-%dir %{_datadir}/gfax
-%{_datadir}/gfax/*.xml
-%{_datadir}/gfax/fax-g3.profile
-%attr(755,root,root) %{_datadir}/gfax/printer-setup.sh
-%{_pixmapsdir}/*
-%{_desktopdir}/*
+%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.065022 seconds and 4 git commands to generate.