]> git.pld-linux.org Git - packages/gfax.git/commitdiff
- updated to 0.4.1, gfax-0_4_1-1
authorkloczek <kloczek@pld-linux.org>
Sun, 24 Sep 2000 21:42:40 +0000 (21:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added BuildRequires rules,
- rewrited %build, %install and updated %files list.

Changed files:
    gfax.spec -> 1.8

gfax.spec

index 3b9e551cc4f693fea27e7483c6459d8f4ef16041..f38eec7e0d655274c848027328b054d8d6652996 100644 (file)
--- a/gfax.spec
+++ b/gfax.spec
@@ -1,16 +1,18 @@
-Summary:       The GNOME Fax Application.
+Summary:       The GNOME Fax Application
 Name:          gfax
-Version:       0.2.1
+Version:       0.4.1
 Release:       1
 License:       GPL
 Group:         Applications/Communications
 Group(pl):     Aplikacje/Komunikacja
 Source0:       ftp://raven.cc.mala.bc.ca/pub/Linux/%{name}-%{version}.tar.gz
-Requires:      gnome-libs >= 1.0.0
-Requires:      gnome-objc >= 1.0.2
-URL:           http://www.gmsys.com/
+BuildRequires: gettext-devel
+BuildRequires: gnome-libs-devel
+BuildRequires: libglade-devel
+URL:           http://www.gmsys.com/gnome-gfax.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Obsoletes:     gnome
+
+%define                _prefix         /usr/X11R6
 
 %description
 Gfax is a popup tool for easily sending facsimilies by printing to a
@@ -23,50 +25,34 @@ name, but really GNOME is a nice GUI desktop environment.
 
 %description -l pl
 Gfax jest narzêdziem do ³atwego wysy³ania faksów poprzez drukowanie
-ich na drukarce faksowej. Gfax dzia³a z GNOME. GNOME to skrót od GNU
-Network Object Model Environment. Nazwa mo¿e siê wydawaæ nieco dziwna,
-w rzeczywistosci jednak GNOME jest estetycznym ¶rodowiskiem
-graficznym.
+ich na drukarce faksowej. Gfax dzia³a z GNOME.
 
 %prep
 %setup -q
 
 %build
+gettextize --copy --force
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}
-%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
-strip $RPM_BUILD_ROOT%{_bindir}/* || :
-
-%post
-# Set up the lpr link
-BINDIR=/usr/bin
-LPRBINDIR=/usr/bin
 
-if [ ! -x $LPRBINDIR/lpr.dist ]; then
-        mv $LPRBINDIR/lpr $LPRBINDIR/lpr.dist
-        ln -s $BINDIR/lpr.gfax $BINDIR/lpr
-        chmod +x $BINDIR/lpr
-fi
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Applicationsdir=%{_applnkdir}/Office/Misc
 
-%postun
-# Reset the lpr link
-BINDIR=/usr/bin
-LPRBINDIR=/usr/bin
+gzip -9nf AUTHORS ChangeLog NEWS README FAQ-gfax
 
-if [ -x $LPRBINDIR/lpr.dist ]; then
-        rm -rf $LPRBINDIR/lpr
-        mv $LPRBINDIR/lpr.dist $LPRBINDIR/lpr
-fi
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-
-%doc AUTHORS COPYING ChangeLog NEWS README FAQ-gfax
-%attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Applications/*
-%{_datadir}/gnome/help/gfax/*
+%doc *.gz
+%attr(755,root,root) %{_bindir}/gfax
+%{_datadir}/gfax
+%{_datadir}/pixmaps/*
+%{_applnkdir}/Office/Misc/*
This page took 0.079701 seconds and 4 git commands to generate.