Sophie

Sophie

distrib > PLD > ra > i386 > media > dist-src > by-pkgid > f68b902e8199d0473ba158bb8e13f323 > files > 6

gnokii-0.4.3-4.src.rpm

# $Revision: 1.28 $, $Date: 2002/09/19 14:37:16 $
Summary:	Linux/Unix tool suite for Nokia mobile phones
Summary(pl):	Linuksowy/Uniksowy zestaw narzêdzi dla telefonów komórkowych Nokia
Name:		gnokii
Version:	0.4.3
Release:	4
License:	GPL v2+
Group:		Applications/Communications
Source0:	ftp://ftp.gnokii.org/pub/gnokii/%{name}-%{version}.tar.gz
Source1:	%{name}.desktop
Source2:	%{name}.png
Patch0:		%{name}-pld.patch
Patch1:		%{name}-ac_gettext_fixes.patch
URL:		http://www.gnokii.org/
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	XFree86-devel
BuildRequires:	gtk+-devel
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_xprefix	/usr/X11R6
%define		_xbindir	%{_xprefix}/bin
%define		_xlibdir	%{_xprefix}/lib
%define		_xdatadir	%{_xprefix}/share

%description
Gnokii is a Linux/Unix tool suite and (eventually) modem/fax driver
for Nokia's mobile phones, released under the GPL.

%description -l pl
Gnokii jest zestawem narzêdzi dla Linuksa/Uniksa, oraz (ewentualnie)
sterownikiem modemu/faxu dla telefonów komórkowych Nokia, dostêpnym na
licencji GPL.

%package X11
Summary:	Graphical Linux/Unix tool suite for Nokia mobile phones.
Summary(pl):	Zestaw narzêdzi z graficznym interfejsem dla telefonów komórkowych Nokia.
Group:		X11/Applications
Requires:	%{name} = %{version}

%description X11
Xgnokii is graphical Linux/Unix tool suite for Nokia's mobile phones.
It allows you to edit your contacts book, send/read SMS's from/in
computer and more other features.

%description X11 -l pl
Gnokii-X11 jest zestawem narzêdzi z graficznym interfejsem u¿ytkownika
do pracy z telefonami komórkowymi Nokia. Pozwalaj± one na edytowanie
spisu telefonów, wysy³anie/czytanie wiadomo¶ci SMS i wiele innych
rzeczy.

%prep
%setup -q
%patch0 -p1
%patch1

%build
autoheader
%{__gettextize}
%{__aclocal}
%{__autoconf}
%{__automake} || :
%configure \
	--enable-security \
	--with-xgnokiidir=%{_xprefix}
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/gnokii} \
	$RPM_BUILD_ROOT{%{_xbindir},%{_xlibdir}/xgnokii} \
	$RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir},%{_applnkdir}/Utilities}

%{__make} DESTDIR=$RPM_BUILD_ROOT install

install Docs/sample/gnokiirc $RPM_BUILD_ROOT%{_sysconfdir}/gnokiirc

install common/libgnokii.so $RPM_BUILD_ROOT%{_libdir}

install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc Docs/{CREDITS,DataCalls-QuickStart,README*,Bugs,FAQ,*.txt,protocol}
%doc Docs/{sample/{gnokiirc,ppp*,ringtone,vCalendar,vCard},gnokii-{ir-howto,IrDA-Linux}}
%doc TODO ChangeLog MAINTAINERS
%attr(755,root,root) %{_bindir}/gnokii
%attr(755,root,root) %{_bindir}/todologo
%attr(755,root,root) %{_sbindir}/gnokiid
%attr(755,root,root) %{_sbindir}/mgnokiidev
%attr(755,root,root) %{_libdir}/libgnokii.so
%config(noreplace) %{_sysconfdir}/gnokiirc

%files X11
%defattr(644,root,root,755)
%attr(755,root,root) %{_xbindir}/xgnokii
%{_xlibdir}/xgnokii
%{_applnkdir}/Utilities/*
%{_pixmapsdir}/*
%dir %{_xdatadir}/xgnokii
%{_xdatadir}/xgnokii/xpm
%{_xdatadir}/xgnokii/help

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback@pld.org.pl>
All persons listed below can be reached at <cvs_login>@pld.org.pl

$Log: gnokii.spec,v $
Revision 1.28  2002/09/19 14:37:16  blues
- release 4 - more docs, more macros, license fix - STBR

Revision 1.27  2002/08/28 20:46:18  mmazur
- fuck... pkot gave me a broken patch... now I've applied the fixed one
- rel3; STBR ASAP

Revision 1.26  2002/08/28 11:35:59  mmazur
- reenabled NLS (gettext)

Revision 1.25  2002/08/06 09:40:43  qboosh
- simplified, added missing dirs to -X11

Revision 1.24  2002/08/06 08:54:46  orzech
- update to 0.4.3
- fixed pld.patch
- fixed xgnokii install
- rel 1, STBR (builds, works)

Revision 1.23  2002/08/04 18:36:17  mmazur
- updated to 0.4.2a; rel1; STBR
- one silly spec fix
- changed most of DESTDIR patch into one %configure switch :)

Revision 1.22  2002/07/18 01:52:22  kloczek
- release 2: fix in %install.

Revision 1.21  2002/07/15 09:16:02  kloczek
- use new %doc,
- added png Icon and desktop file for gnokii.

Revision 1.20  2002/07/15 06:56:31  orzech
- updated to 0.4.1 (bugfix release)
- updated doc
- STBR (0.3.3 on ftp is BUGGY and unsecure)

Revision 1.19  2002/07/11 20:39:19  orzech
- updated to 0.4.0

Revision 1.18  2002/06/23 20:52:50  kloczek
perl -pi -e "s/^gettextize --copy --force/\%%\{__gettextize\}/"

Revision 1.17  2002/05/21 23:13:14  kloczek
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
             s/^automake -a -c -f/\%\{__automake\}/; \
	     s/^autoconf/\%\{__autoconf\}/"

Revision 1.16  2002/04/25 16:25:56  arturs
fixed a small typo

Revision 1.15  2002/04/15 09:01:46  orzech
- works fine - bumped rel to 1, STBR

Revision 1.14  2002/04/13 21:09:36  orzech
- snap version

Revision 1.13  2002/02/22 23:28:58  kloczek
- removed all Group fields translations (our rpm now can handle translating
  Group field using gettext).

Revision 1.12  2002/02/03 20:47:26  ankry
- adding es/pt/pt_BR Group translations

Revision 1.11  2002/01/18 02:13:07  kloczek
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"

Revision 1.10  2001/12/15 15:08:31  kloczek
- added ac_gettext_fixes patch (which now allow enable using %%find_lang macro),
- added regenerate ac/gt files,

Revision 1.9  2001/10/01 08:00:47  qboosh
- adapterized, BuildRequires: autoconf, automake

Revision 1.8  2001/09/28 18:41:08  lukasz
- updated to 0.3.3

Revision 1.7  2001/07/01 13:37:01  blues
0.3.3pre24

Revision 1.6  2000/11/12 20:11:54  kloczek
- modyfications for using neew rpm automation.

Revision 1.5  2000/11/12 16:58:51  kloczek
- removed xpm-devel from BuildRequires.

Revision 1.4  2000/10/17 12:55:28  zagrodzki
- updated to 0.3.3_pre7

Revision 1.3  2000/10/06 18:09:29  zagrodzki
- release 2
- added README.gz

Revision 1.2  2000/07/31 17:22:47  zagrodzki
- updated to 0.3.3pre5

Revision 1.1  2000/07/30 13:39:57  zagrodzki
- initial release