gnokii
Łukasz Michalski
l.michalski w ant.gliwice.pl
Pią, 19 Sie 2005, 15:07:46 CEST
On Friday 19 August 2005 12:05, Lukasz Glebicki wrote:
> On Friday 19 of August 2005 10:55, Łukasz Michalski wrote:
> > [root w zulu SPECS]# ./builder gnokii.spec
> > # $Revision: 1.87 $, $Date: 2005/05/18 05:26:27 $
> > warning: No cvs access defined for SOURCES
> > --10:50:27--
>
> Nie rób tego z roota, bo każdy błędny skrypt może CI rozwalić system.
> Ja używam ./builder -bb gnokii.spec i źródła się ściągają.
>
> pozdrawiam
Racja.
Poprawiłem tego speca. W załączeniu cały spec, diff do oryginału oraz patch do
SOURCES.
Changelog:
- fixed smsd and smsd libs permissions
- fixed smsd Makefile to install psql and msql modules in $libdir/smsd/
pozdrawiam,
Łukasz
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: gnokii.spec.diff
Type: text/x-diff
Size: 1170 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20050819/bdca8511/gnokii.spec.bin
-------------- następna część ---------
# $Revision: 1.87 $, $Date: 2005/05/18 05:26:27 $
Summary: Linux/Unix tool suite for mobile phones
Summary(pl): Linuksowy/uniksowy zestaw narzędzi dla telefonów komórkowych
Name: gnokii
Version: 0.6.7
Release: 0.2
Epoch: 1
License: GPL v2+
Group: Applications/Communications
#Source0: http://savannah.nongnu.org/download/gnokii/%{name}-%{version}.tar.bz2
Source0: ftp://ftp.gnokii.org/pub/gnokii/%{name}-%{version}.tar.bz2
# Source0-md5: c80d68549c86f287f24c2bee0e929ded
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-pld.patch
Patch1: %{name}-smsdlibs.patch
URL: http://www.gnokii.org/
BuildRequires: XFree86-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bluez-libs-devel >= 2.8-2
BuildRequires: flex
BuildRequires: gettext-devel
BuildRequires: gtk+-devel >= 1.2
BuildRequires: libtool
BuildRequires: mysql-devel
BuildRequires: postgresql-devel
Requires: libgnokii = %{epoch}:%{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Gnokii is a Linux/Unix tool suite and (eventually) modem/fax driver
for mobile phones.
%description -l pl
Gnokii jest zestawem narzędzi dla Linuksa/Uniksa, oraz sterownikiem
modemu/faksu dla telefonów komórkowych.
%package X11
Summary: Graphical Linux/Unix tool suite for mobile phones
Summary(pl): Zestaw narzędzi z graficznym interfejsem dla telefonów komórkowych
Group: X11/Applications
Requires: %{name} = %{epoch}:%{version}-%{release}
%description X11
Xgnokii is graphical Linux/Unix tool suite for 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
Xgnokii jest zestawem narzędzi z graficznym interfejsem użytkownika do
pracy z telefonami komórkowymi. Pozwalają one na modyfikowanie spisu
telefonów, wysyłanie/czytanie wiadomości SMS i wiele innych rzeczy.
%package -n libgnokii
Summary: A gnokii shared library
Summary(pl): Biblioteka współdzielona gnokii
Group: Libraries
Conflicts: gnokii < 1:0.5.10-0.2
%description -n libgnokii
A gnokii shared library.
%description -n libgnokii -l pl
Biblioteka współdzielona gnokii.
%package -n libgnokii-devel
Summary: libgnokii heades files
Summary(pl): Pliki nagłówkowe biblioteki libgnokii
Group: Development/Libraries
Requires: libgnokii = %{epoch}:%{version}-%{release}
Requires: XFree86-devel
Requires: bluez-libs-devel >= 2.8-2
Obsoletes: gnokii-devel
%description -n libgnokii-devel
libgnokii header files.
%description -n libgnokii-devel -l pl
Pliki nagłówkowe biblioteki libgnokii.
%package -n libgnokii-static
Summary: Static libgnoki library
Summary(pl): Statyczna biblioteka libgnokii
Group: Development/Libraries
Requires: libgnokii-devel = %{epoch}:%{version}-%{release}
Obsoletes: gnokii-devel
%description -n libgnokii-static
Static version of libgnokii library.
%description -n libgnokii-static -l pl
Statyczna wersja biblioteki libgnokii.
%package -n gnokii-smsd
Summary: Daemon for handling incoming and outgoing SMSes using libgnokii
Summary(pl): Serwer do zarządzania przychodzacymi i wychodzacymi sms'ami przy urzyciu gnokii
Group: Daemons
Requires: gnokii = %{epoch}:%{version}-%{release}
Requires: mysql-devel
Requires: postgresql-devel
Obsoletes: smstools
%description -n gnokii-smsd
The SMSD (SMS daemon) program is intended for receiving and sending
SMSes
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
rm -rf autom4te.cache
%{__gettextize}
%{__libtoolize}
%{__autoheader}
%{__aclocal} -I m4
%{__autoconf}
%configure \
--enable-security \
--with-xgnokiidir=%{_prefix}
%{__make}
cd smsd
%{__make}
%{__make} libpq.la
%{__make} libmysql.la
%{__make} libfile.la
cd ..
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/{x,}gnokii} \
$RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir},%{_desktopdir}}
%{__make} install install-docs \
DESTDIR=$RPM_BUILD_ROOT
cd smsd
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
cd ..
install Docs/sample/gnokiirc $RPM_BUILD_ROOT%{_sysconfdir}/gnokiirc
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
# do not complain about unpackaged files (we package them with %%doc anyway)
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
# move xgnokii manpage into proper place
mv -f $RPM_BUILD_ROOT{%{_prefix}/man,%{_mandir}}/man1/xgnokii.1x
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libgnokii -p /sbin/ldconfig
%postun -n libgnokii -p /sbin/ldconfig
%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) %{_bindir}/sendsms
%attr(755,root,root) %{_bindir}/ppm2nokia
%attr(755,root,root) %{_sbindir}/gnokiid
%attr(755,root,root) %{_sbindir}/mgnokiidev
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gnokiirc
%{_mandir}/man1/[!x]*
%{_mandir}/man8/gnokiid.*
%{_mandir}/man8/mgnokiidev.*
%files X11
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/xgnokii
%dir %{_datadir}/xgnokii
%{_libdir}/xgnokii
%{_datadir}/xgnokii/xpm
%{_datadir}/xgnokii/help
%{_desktopdir}/gnokii.desktop
%{_pixmapsdir}/*
%{_mandir}/man1/xgnokii.1x*
%files -n libgnokii
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libgnokii.so.*.*
%files -n libgnokii-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libgnokii.so
%{_libdir}/libgnokii.la
%{_includedir}/*.h
%{_includedir}/%{name}
%{_pkgconfigdir}/*.pc
%files -n libgnokii-static
%defattr(644,root,root,755)
%{_libdir}/libgnokii.a
%files -n gnokii-smsd
%defattr(644,root,root,755)
%doc smsd/ChangeLog smsd/README smsd/README.MySQL smsd/README.Tru64 smsd/action smsd/*.sql
%attr(755,root,root) %{_sbindir}/smsd
%attr(755,root,root) %{_libdir}/smsd/*.so
%attr(755,root,root) %{_libdir}/smsd/*.la
%{_libdir}/smsd/*.a
%{_mandir}/man8/smsd.*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: gnokii.spec,v $
Revision 1.87 2005/05/18 05:26:27 tiwek
- up to 0.6.7
- release 0.1, not tested
Revision 1.86 2005/05/12 17:01:48 adamg
- release 2 for Th
Revision 1.85 2005/05/12 16:55:18 adamg
- updated to 0.6.6
- gcc4 patch not needed anymore
Revision 1.84 2005/05/01 20:58:09 adamg
- updated to 0.6.5
- updated gcc4.patch
- dropped savesms-date.patch (applied upstream)
Revision 1.83 2005/04/28 16:40:26 witekfl
- added gcc4.patch
Revision 1.82 2005/04/24 08:38:01 sardzent
- added BuildRequires
Revision 1.81 2005/04/24 06:39:15 tiwek
- added smsd subpackage
- release 1.1 for tests
Revision 1.80 2005/03/23 17:18:07 glen
- dropped SourceX-size
Revision 1.79 2004/10/27 22:33:08 qboosh
- pl fix, cosmetics
Revision 1.78 2004/10/17 22:09:29 adamg
- looks good; release 1
Revision 1.77 2004/10/17 22:00:53 adamg
- updated to 0.6.4
Revision 1.76 2004/09/30 19:12:43 adamg
- added savesms-date.patch (adds option to set message delivery datetime
in --savesms)
Revision 1.75 2004/09/29 17:27:43 adamg
- install and package man pages too
- release 3
Revision 1.74 2004/09/21 01:04:52 ankry
- rel. 2
Revision 1.73 2004/07/23 19:39:30 qboosh
- libgnokii-devel R: XFRee86-devel (-lXpm), bluez-libs-devel
Revision 1.72 2004/07/23 14:20:06 pluto
- updated to 0.6.3.
- fixed build with posix threads (including acx_pthread from m4 subdir).
Revision 1.71 2004/04/14 07:17:06 krzak
- up to 0.6.1
Revision 1.70 2004/03/15 09:57:59 ankry
- cosmetics
Revision 1.69 2004/02/23 21:31:13 orzech
- up to 0.6.0
- adapterized
Revision 1.68 2004/02/12 11:47:46 qboosh
- libtool patch has been applied
Revision 1.67 2004/02/12 11:43:21 qboosh
- pl for -static, moved ldconfig to proper package
Revision 1.66 2004/02/12 11:39:04 wiget
- renamed gnokii-devel to libgnokii-devel
- added libgnokii.la to libgnokii-devel
- added libgnokii-static
- release 0.4
Revision 1.65 2004/02/11 16:54:30 wiget
- fixed typo in Conflicts
- release 0.3
Revision 1.64 2004/02/06 23:17:43 adgor
- Grr... previous typo
Revision 1.63 2004/02/06 23:15:44 adgor
- Fixed %%build (by qboosh)
Revision 1.61 2004/02/06 22:25:14 adgor
- Separated libgnokii
- Switched to vfolders
- Release 0.2
Revision 1.60 2004/02/02 11:44:28 orzech
- up to 0.5.10
- rel 0.1, needs ac fixes
Revision 1.59 2004/01/26 08:59:39 orzech
- fixed descriptions (from pkot)
Revision 1.58 2004/01/25 21:29:39 orzech
- started update to 0.5.9, NFY
Revision 1.57 2003/12/16 10:15:47 orzech
- up to 0.5.7
Revision 1.56 2003/11/30 19:26:58 adamg
- updated to 0.5.6
Revision 1.55 2003/11/13 17:57:56 qboosh
- changed Source0 URL - ftp.gnokii.org is updated with delay after savannah
Revision 1.54 2003/10/28 07:45:40 tiwek
- Release UP and STBR :)
Revision 1.53 2003/10/27 23:36:59 qboosh
- replated pic patch by libtool patch with full libtool support
(now it should build both on alpha and sparc)
Revision 1.52 2003/10/27 11:36:05 qboosh
- added pic patch (should fix build on alpha)
- verify flags for gnokiirc
Revision 1.51 2003/10/08 20:31:20 orzech
- up to 0.5.5
Revision 1.50 2003/09/22 22:17:50 krzak
- Makevars.patch - fix gettext warning about Makevars and MSGID_BUGS_ADDRESS
Revision 1.49 2003/09/22 22:10:24 krzak
- fixed md5
Revision 1.48 2003/09/22 22:04:45 krzak
- up to 0.5.4
Revision 1.47 2003/09/22 22:02:20 adamg
- updated to 0.5.3
Revision 1.46 2003/06/23 10:42:17 jareq
- fixed epoch:version issue
Revision 1.45 2003/06/13 12:03:07 orzech
- up to 0.5.2
Revision 1.44 2003/05/30 08:04:40 orzech
- up to 0.5.1, rel. 1 - works fine
Revision 1.43 2003/05/26 16:25:02 malekith
- massive attack: adding Source-md5
Revision 1.42 2003/05/25 05:48:04 misi3k
- massive attack s/pld.org.pl/pld-linux.org/
Revision 1.41 2003/05/12 14:01:55 orzech
- updated to 0.5.0
Revision 1.40 2003/04/12 13:23:57 wiget
- updated to 0.5.0rc3
- fix versioning (add _pre to Release and set Epoch to 1)
Revision 1.39 2003/03/11 20:36:37 qboosh
- fixed devel package
Revision 1.38 2003/03/10 23:09:00 misi3k
- updated to 0.5rc1
- added subpackage devel
- rel 1
Revision 1.37 2003/02/26 09:39:59 t0tal
- added correct release, before i not change this
Revision 1.36 2003/02/25 21:29:49 t0tal
- added again bluez-libs-devel to build requires
Revision 1.35 2003/02/25 21:20:12 t0tal
added flex to build requires
Revision 1.34 2003/02/25 16:11:42 wiget
- updated to pre9
- enabled BlueTooth support
- kill xprefix
- added sendsms and ppm2nokia scripts to %%files
Revision 1.33 2003/02/25 11:30:05 qboosh
- it doesn't use automake, so don't try to run it
Revision 1.32 2003/02/11 09:46:58 orzech
- started upadte to 0.5.0pre6
Revision 1.32 2003/02/11 09:46:29 tomek
- started update to 0.5.0pre6, NFY
Revision 1.31 2002/12/02 11:06:18 ankry
- massive cleaning
Revision 1.30 2002/10/09 13:14:25 kloczek
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
Revision 1.29 2002/10/09 10:19:48 qboosh
- BR: gettext-devel
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
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: gnokii-smsdlibs.patch
Type: text/x-diff
Size: 893 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20050819/bdca8511/gnokii-smsdlibs.bin
Więcej informacji o liście dyskusyjnej pld-devel-pl