X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gfax.spec;h=f385191b2e224b4d5eb82d98a0ada0041059ba7f;hb=285d1612a1209f364468157d507142ba31fa3dff;hp=09abaf1842b064fc0ae8a17c45e95e5ba3004297;hpb=2e67c5b68752959772225a075708d8979ea8f7e5;p=packages%2Fgfax.git diff --git a/gfax.spec b/gfax.spec index 09abaf1..f385191 100644 --- a/gfax.spec +++ b/gfax.spec @@ -1,46 +1,43 @@ -# Note that this is NOT a relocatable package -%define ver 0.2.1 -%define rel 1 -%define prefix /usr - -Summary: The GNOME Fax Application. -Name: gfax -Version: %ver -Release: %rel -Copyright: GPL -Group: Applications/Communications -Source: ftp://raven.cc.mala.bc.ca/pub/Linux/gfax-%{ver}.tar.gz - -BuildRoot: /var/tmp/gfax-%{PACKAGE_VERSION}-root -Obsoletes: gnome - -URL: http://www.gmsys.com -Docdir: %{prefix}/doc - - -Requires: gnome-libs >= 1.0.0 -Requires: gnome-objc >= 1.0.2 +Summary: The GNOME Fax Application. +Name: gfax +Version: 0.2.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/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Obsoletes: gnome %description -Gfax is a popup tool for easily sending -facsimilies by printing to a fax printer. +Gfax is a popup tool for easily sending facsimilies by printing to a +fax printer. Gfax works with GNOME. -GNOME is the GNU Network Object Model Environment. That's -a fancy name, but really GNOME is a nice GUI desktop -environment. +GNOME is the GNU Network Object Model Environment. That's a fancy +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. %prep -%setup +%setup -q %build %install rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{prefix} -make prefix=$RPM_BUILD_ROOT%{prefix} install -strip $RPM_BUILD_ROOT%{prefix}/bin/* || : +install -d $RPM_BUILD_ROOT%{_prefix} +make prefix=$RPM_BUILD_ROOT%{_prefix} install +strip $RPM_BUILD_ROOT%{_bindir}/* || : %post # Set up the lpr link @@ -67,9 +64,9 @@ fi rm -rf $RPM_BUILD_ROOT %files -%defattr(-, root, root) +%defattr(644,root,root,755) %doc AUTHORS COPYING ChangeLog NEWS README FAQ-gfax -%{prefix}/bin/* -%{prefix}/share/gnome/apps/Applications/* -%{prefix}/share/gnome/help/gfax/* +%attr(755,root,root) %{_bindir}/* +%{_applnkdir}/Applications/* +%{_datadir}/gnome/help/gfax/*