]> git.pld-linux.org Git - packages/gfax.git/commitdiff
- updated to 0.7.3-1, updated deskdir,desktop patches, removed obsolete amd64 patch auto/ac/gfax-0_7_3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 3 May 2005 00:44:54 +0000 (00:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added paths patch (lib64 fix, mono/mint selection)
- revised deps
- builds on alpha

Changed files:
    gfax.spec -> 1.42

gfax.spec

index 38ccdcb30c0929a4c1daa873d2786e800bbbf6c0..958775e209eddc0ef5a0fbf1d6f8dfc0c42e9651 100644 (file)
--- a/gfax.spec
+++ b/gfax.spec
@@ -1,21 +1,31 @@
 Summary:       The GNOME Fax Application
 Summary(pl):   Aplikacja GNOME do faksów
 Name:          gfax
-Version:       0.6.4
-Release:       4
+Version:       0.7.3
+Release:       1
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://gfax.cowlug.org/%{name}-%{version}.tar.gz
-# Source0-md5: 9ec7185ed012607fa529b5758e02e0d2
+Source0:       http://gfax.cowlug.org/%{name}-%{version}-1.tar.gz
+# Source0-md5: 59e1430ae0936508ef3814185890213c
 Patch0:                %{name}-destdir.patch
-Patch1:                %{name}-amd64.patch
-Patch2:                %{name}-desktop.patch
+Patch1:                %{name}-desktop.patch
+Patch2:                %{name}-paths.patch
 URL:           http://gfax.cowlug.org/
-BuildRequires: dotnet-gtk-sharp-devel
-BuildRequires: mono-csharp
-Requires:      dotnet-gtk-sharp >= 0.93
+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
-ExcludeArch:   alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,45 +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
-%{__make} schema
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_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
+%gconf_schema_uninstall gfax.schemas
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %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.090686 seconds and 4 git commands to generate.