rpms/gnokii/devel gnokii-config.patch, NONE, 1.1 gnokii-htmlview.patch, NONE, 1.1 gnokii-pkgconfig.patch, NONE, 1.1 gnokii-smsd-README.smsd2mail, NONE, 1.1 gnokii-smsd-rename.patch, NONE, 1.1 gnokii-smsd-sql.patch, NONE, 1.1 gnokii-smsd.init, NONE, 1.1 gnokii-smsd.logrotate, NONE, 1.1 gnokii-smsd.sysconfig, NONE, 1.1 gnokii-smsd2mail.sh, NONE, 1.1 gnokii-xgnokii-pkgconfig.patch, NONE, 1.1 gnokii.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Linus Walleij (snirkel) fedora-extras-commits at redhat.com
Sat Apr 1 18:24:59 UTC 2006


Author: snirkel

Update of /cvs/extras/rpms/gnokii/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8980/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gnokii-config.patch gnokii-htmlview.patch 
	gnokii-pkgconfig.patch gnokii-smsd-README.smsd2mail 
	gnokii-smsd-rename.patch gnokii-smsd-sql.patch 
	gnokii-smsd.init gnokii-smsd.logrotate gnokii-smsd.sysconfig 
	gnokii-smsd2mail.sh gnokii-xgnokii-pkgconfig.patch gnokii.spec 
Log Message:
auto-import gnokii-0.6.12-2 on branch devel from gnokii-0.6.12-2.src.rpm

gnokii-config.patch:

--- NEW FILE gnokii-config.patch ---
--- Docs/sample/gnokiirc~	2005-07-24 22:16:22.000000000 +0300
+++ Docs/sample/gnokiirc	2005-08-06 23:33:26.000000000 +0300
@@ -59,7 +59,7 @@
 # port software (eg. minicom). If you have wrong permissions for the
 # directory, a warning will be generated. If you don't want a lockfile, set
 # it to 'no'.
-use_locking = yes
+use_locking = no
 
 # Baudrate to use on serial port connections.
 # Currently used only by models AT and BIP/CIMD. Defaults to 19200.
@@ -115,7 +115,7 @@
 # permissions 4750, owned by root, group gnokii.  Ensure you
 # are in the gnokii group and that the group exists...
 [gnokiid]
-bindir = /usr/local/sbin/
+bindir = /usr/sbin/
 
 # Any entries in the following two sections will be set as environment
 # variables when running the scripts.

gnokii-htmlview.patch:

--- NEW FILE gnokii-htmlview.patch ---
--- xgnokii/xgnokii_cfg.c~	2006-02-15 23:49:56.000000000 +0100
+++ xgnokii/xgnokii_cfg.c	2006-03-05 21:27:15.000000000 +0100
@@ -73,7 +73,7 @@
 	xgnokiiConfig.user.fax = g_strdup("");
 	xgnokiiConfig.user.email = g_strdup("");
 	xgnokiiConfig.user.address = g_strdup("");
-	xgnokiiConfig.helpviewer = g_strdup("mozilla");
+	xgnokiiConfig.helpviewer = g_strdup("htmlview");
 	if ((homedir = g_get_home_dir()) == NULL)
 		homedir = "";
 	xgnokiiConfig.mailbox = g_strdup_printf("%s/Mail/smsbox", homedir);

gnokii-pkgconfig.patch:

--- NEW FILE gnokii-pkgconfig.patch ---
--- common/gnokii.pc.in~	2006-02-15 23:49:56.000000000 +0100
+++ common/gnokii.pc.in	2006-03-05 21:40:46.000000000 +0100
@@ -6,5 +6,5 @@
 Name: gnokii
 Description: Gnokii library interface
 Version: @VERSION@
-Libs: -L${libdir} -lgnokii @LIBS@ @XPM_LIBS@ @LIBICONV@
-Cflags: -I${includedir} @CFLAGS@ @XPM_CFLAGS@
+Libs: -L${libdir} -lgnokii
+Cflags: -I${includedir}


--- NEW FILE gnokii-smsd-README.smsd2mail ---
* Make the gnokii user a member of a group that has read and write access to
  the SMS device.  For example on RHL-9 and later and ttyS0, add gnokii to the
  uucp group.  See "ls -l /dev/ttyS*".

* Copy smsd2mail.sh somewhere, eg. /usr/local/sbin, make sure it's executable
  by the gnokii user.

* Configure SMSD_OPTIONS in /etc/sysconfig/gnokii-smsd like:

  SMSD_OPTS="-u /usr/local/sbin/smsd2mail.sh -m file"

gnokii-smsd-rename.patch:

--- NEW FILE gnokii-smsd-rename.patch ---
diff -ru smsd.orig/Makefile smsd/Makefile
--- smsd.orig/Makefile	2005-07-24 22:16:22.000000000 +0300
+++ smsd/Makefile	2005-08-06 23:54:55.000000000 +0300
@@ -20,7 +20,9 @@
 
 SMSD_MAN=man/smsd.8
 
-CFLAGS += -DMODULES_DIR=\"${libdir}/smsd\" $(PTHREAD_CFLAGS) \
+pkglibdir = ${libdir}/gnokii-smsd
+
+CFLAGS += -DMODULES_DIR=\"$(pkglibdir)\" $(PTHREAD_CFLAGS) \
 	  $(shell $(GLIBCFLAGS))
 
 LDLIBS += $(PTHREAD_LIBS) \
@@ -56,7 +58,7 @@
 libpq.la: pq.lo
 	$(LIBTOOL) --mode=link $(CC) -o libpq.la pq.lo \
 	$(shell $(GLIBLDLIBS)) -L$(shell pg_config --libdir) -lpq \
-	-export-dynamic -avoid-version -rpath ${libdir}/smsd
+	-export-dynamic -avoid-version -rpath $(pkglibdir)
 
 # MySQL support
 mysql.lo: smsd.h mysql.c
@@ -66,7 +68,7 @@
 libmysql.la: mysql.lo
 	$(LIBTOOL) --mode=link $(CC) -o libmysql.la mysql.lo \
 	$(shell $(GLIBLDLIBS)) $(shell mysql_config --libs) \
-	-export-dynamic -avoid-version -rpath ${libdir}/smsd
+	-export-dynamic -avoid-version -rpath $(pkglibdir)
 
 # File support
 file.lo: smsd.h file.c
@@ -76,7 +78,7 @@
 libfile.la: file.lo
 	$(LIBTOOL) --mode=link $(CC) -o libfile.la file.lo \
 	$(shell $(GLIBLDLIBS)) \
-	-export-dynamic -avoid-version -rpath ${libdir}/smsd
+	-export-dynamic -avoid-version -rpath $(pkglibdir)
 
 ### End of DB Modules
 
@@ -90,11 +92,11 @@
 install: all
 	$(INSTALL) -d $(DESTDIR)$(sbindir)
 	$(LIBTOOL) --mode=install $(INSTALL) -m 755 smsd $(DESTDIR)$(sbindir)
-	$(INSTALL) -d $(DESTDIR)${libdir}/smsd
+	$(INSTALL) -d $(DESTDIR)$(pkglibdir)
 	for f in $(DB_LIBS) ; do \
-	$(LIBTOOL) --mode=install $(INSTALL) $$f $(DESTDIR)${libdir}/smsd ; \
+	$(LIBTOOL) --mode=install $(INSTALL) $$f $(DESTDIR)$(pkglibdir) ; \
 	done
-	$(LIBTOOL) --mode=finish ${libdir}/smsd
+	$(LIBTOOL) --mode=finish $(pkglibdir)
 	$(INSTALL) -d $(DESTDIR)$(man8dir)
 	$(INSTALL_DATA) $(SMSD_MAN) $(DESTDIR)$(man8dir)
 
diff -ru smsd.orig/man/smsd.8 smsd/man/smsd.8
--- smsd.orig/man/smsd.8	2005-07-24 22:16:22.000000000 +0300
+++ smsd/man/smsd.8	2005-08-06 23:51:36.000000000 +0300
@@ -1,13 +1,13 @@
-.TH "smsd" "8" "April  26, 2005" "" "Gnokii"
+.TH "gnokii-smsd" "8" "April  26, 2005" "" "Gnokii"
 .SH "NAME"
-smsd \- daemon for handling incoming and outgoing SMSes using libgnokii
+gnokii-smsd \- daemon for handling incoming and outgoing SMSes using libgnokii
 .SH "SYNOPSIS"
-.B smsd \fI[OPTIONS]\fR
+.B gnokii-smsd \fI[OPTIONS]\fR
 
 .SH "DESCRIPTION"
 .PP 
 The
-.B SMSD
+.B gnokii-smsd
 (SMS daemon) program is intended for receiving and sending SMSes.
 
 .PP

gnokii-smsd-sql.patch:

--- NEW FILE gnokii-smsd-sql.patch ---
diff -ru gnokii-0.6.8.orig/smsd/sms.tables.mysql.sql gnokii-0.6.8/smsd/sms.tables.mysql.sql
--- gnokii-0.6.8.orig/smsd/sms.tables.mysql.sql	2005-07-24 22:16:22.000000000 +0300
+++ gnokii-0.6.8/smsd/sms.tables.mysql.sql	2005-08-06 23:13:49.000000000 +0300
@@ -1,12 +1,6 @@
-# MySQL dump 8.13
-#
-# Host: localhost    Database: sms
-#--------------------------------------------------------
-# Server version	3.23.36
+-- CREATE DATABASE smsd;
 
-#
-# Table structure for table 'inbox'
-#
+-- USE smsd;
 
 CREATE TABLE inbox (
   id int(10) unsigned NOT NULL auto_increment,
@@ -17,16 +11,7 @@
   phone tinyint(4),
   processed tinyint(4) NOT NULL default '0',
   PRIMARY KEY  (id)
-) TYPE=MyISAM;
-
-#
-# Dumping data for table 'inbox'
-#
-
-
-#
-# Table structure for table 'outbox'
-#
+);
 
 CREATE TABLE outbox (
   id int(10) unsigned NOT NULL auto_increment,
@@ -41,10 +26,8 @@
   not_before time NOT NULL default '00:00:00',
   not_after time  NOT NULL default '23:59:59',
   PRIMARY KEY  (id)
-) TYPE=MyISAM;
-
-#
-# Dumping data for table 'outbox'
-#
-
+);
 
+-- CREATE INDEX outbox_processed_ix ON outbox (processed);
+ 
+-- GRANT SELECT, INSERT, UPDATE, DELETE ON smsd.* TO smsd at localhost;
diff -ru gnokii-0.6.8.orig/smsd/sms.tables.pq.sql gnokii-0.6.8/smsd/sms.tables.pq.sql
--- gnokii-0.6.8.orig/smsd/sms.tables.pq.sql	2005-07-24 22:16:22.000000000 +0300
+++ gnokii-0.6.8/smsd/sms.tables.pq.sql	2005-08-06 23:13:49.000000000 +0300
@@ -1,3 +1,14 @@
+-- \set ON_ERROR_STOP 1;
+-- CREATE USER "smsd" WITH NOCREATEDB NOCREATEUSER;
+-- CREATE DATABASE "smsd" WITH OWNER = "smsd";
+-- \connect "smsd" "smsd"
+-- COMMENT ON DATABASE "smsd" IS 'Gnokii SMSD Database';
+-- \set ON_ERROR_STOP 1;
+-- CREATE USER "smsd" WITH NOCREATEDB NOCREATEUSER;
+-- CREATE DATABASE "smsd" WITH OWNER = "smsd";
+-- \connect "smsd" "smsd"
+-- COMMENT ON DATABASE "smsd" IS 'Gnokii SMSD Database';
+
 CREATE TABLE "inbox" (
 	"id" serial,
 	"number" character varying(20) NOT NULL,
@@ -23,3 +34,5 @@
         "not_after" time without time zone DEFAULT '23:59:59' NOT NULL,
 	PRIMARY KEY ("id")
 );
+
+-- CREATE INDEX "outbox_processed_ix" ON "outbox" (processed);


--- NEW FILE gnokii-smsd.init ---
#!/bin/sh
#
# gnokii-smsd  Starts and stops the Gnokii SMS daemon
#
# chkconfig:   - 95 05
#
# processname: gnokii-smsd
# description: Gnokii SMS daemon receives and sends SMS messages.
# config:      /etc/gnokiirc
# config:      /etc/sysconfig/gnokii-smsd

exec=/usr/sbin/gnokii-smsd
prog=$(basename $exec)

# Make sure relevant files exist
[ -x $exec -a -e /etc/sysconfig/gnokii-smsd ] || exit 0

# Source SMSD configuration.
. /etc/sysconfig/gnokii-smsd

[ -n "$SMSD_OPTS" ] || exit 0
[ -z "$SMSD_LOG"  ] || SMSD_OPTS="$SMSD_OPTS --logfile \"$SMSD_LOG\""

# Source function library.
. /etc/rc.d/init.d/functions

lockfile=/var/lock/subsys/$prog

start() {
    # Ensure that we have a writable log file.
    if [ -n "$SMSD_LOG" ]; then
        [ -e "$SMSD_LOG" ] || > "$SMSD_LOG"
        chmod 0640 "$SMSD_LOG"
        chown gnokii:gnokii "$SMSD_LOG"
    fi
    echo -n $"Starting Gnokii SMS daemon ($prog): "
    daemon --user gnokii $exec $SMSD_OPTS \&
    retval=$?
    echo
    [ $retval -eq 0 ] && touch $lockfile
    return $retval
}

stop() {
    echo -n $"Stopping Gnokii SMS daemon ($prog): "
    killproc $prog
    retval=$?
    echo
    [ $retval -eq 0 ] && rm -f $lockfile
    return $retval
}

restart() {
    stop
    start
}

# See how we were called.
case "$1" in
  start|stop|restart)
    $1
    ;;
  reload|force-reload)
    restart
    ;;
  condrestart|try-restart)
    [ ! -f $lockfile ] || restart
    ;;
  status)
    status $prog
    ;;
  *)
    echo $"Usage: $0 {start|stop|status|restart|try-restart|reload|force-reload}"
    exit 2
esac


--- NEW FILE gnokii-smsd.logrotate ---
/var/log/gnokii-smsd {
    missingok
    notifempty
    create 0640 gnokii gnokii
}


--- NEW FILE gnokii-smsd.sysconfig ---
#                                                                    -*- sh -*-
# All options to Gnokii SMS daemon (gnokii-smsd), *except* log file.
#
# Note that due to security reasons, it is not advisable to set the
# database password here (if you can avoid doing so) because it may be
# visible in eg. ps(1) output.
#
# Example:
#  SMSD_OPTS="--user smsd --db smsd --host 127.0.0.1 --module pq"
#

SMSD_OPTS=""

#
# Log file location.  If you adjust this, see also /etc/logrotate.d/gnokii-smsd
#

SMSD_LOG="/var/log/gnokii-smsd"


--- NEW FILE gnokii-smsd2mail.sh ---
#!/bin/sh
TO=root at localhost
( echo From: $1 ; echo Date: $2 ; echo ; cat ) | mail -s "SMS from $1" $TO

gnokii-xgnokii-pkgconfig.patch:

--- NEW FILE gnokii-xgnokii-pkgconfig.patch ---
--- xgnokii/xgnokii.pc.in~	2006-02-15 23:49:56.000000000 +0100
+++ xgnokii/xgnokii.pc.in	2006-03-08 20:52:36.000000000 +0100
@@ -7,5 +7,5 @@
 Name: xgnokii
 Description: GTK2 gnokii library interface
 Version: @XVERSION@
-Libs: -L${libdir} -lgnokii @LIBS@ @XPM_LIBS@ @LIBICONV@
-Cflags: -I${includedir} @CFLAGS@ @XPM_CFLAGS@
+Libs: -L${libdir} -lgnokii
+Cflags: -I${includedir}


--- NEW FILE gnokii.spec ---
# TODO: DKU2 kernel module (usb-serial.h missing from kernel-devel)
# TODO: merge patches upstream where applicable

Name:           gnokii
Version:        0.6.12
Release:        2%{?dist}
Summary:        Linux/Unix tool suite for various mobile phones

Group:          Applications/Communications
License:        GPL
URL:            http://www.gnokii.org/
Source0:        http://www.gnokii.org/download/gnokii/%{name}-%{version}.tar.bz2
Source2:        %{name}-smsd.init
Source3:        %{name}-smsd.sysconfig
Source4:        %{name}-smsd.logrotate
Source5:        %{name}-smsd2mail.sh
Source6:        %{name}-smsd-README.smsd2mail
# Patch to make gnokii use "htmlview" instead of "mozilla" as default browser
Patch0:         %{name}-htmlview.patch
# Patch to also guide the user on how to create the smsd database without presupposing 
# it already exists plus a more apropriate index setup.
Patch1:         %{name}-smsd-sql.patch
# Patch to remove port locking and apply the system-wide /usr/sbin directory
# to the path instead of the default /usr/local
Patch2:         %{name}-config.patch
# Patch to rename smdsd to gnokii-smsd (also in doc)
Patch3:         %{name}-smsd-rename.patch
# Patch to fix the superfluous include statements
Patch4:         %{name}-pkgconfig.patch
Patch5:		%{name}-xgnokii-pkgconfig.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  flex
BuildRequires:  gettext
BuildRequires:  gtk2-devel
BuildRequires:  desktop-file-utils
BuildRequires:  ImageMagick
BuildRequires:  postgresql-devel
BuildRequires:  mysql-devel
BuildRequires:  zlib-devel
BuildRequires:  bluez-libs-devel
%{?_with_libical:BuildRequires: libical-devel >= 0.24}
%if "%fedora" >= "5"
BuildRequires:	libXt-devel
BuildRequires:	libXpm-devel 
%else
# openssl-devel: https://bugzilla.redhat.com/159569
BuildRequires:  openssl-devel
%endif
Requires(pre):  %{_sbindir}/groupadd

%description
Gnokii provides tools and a user space driver for use with mobile
phones under Linux, various unices and Win32. With gnokii you can do
such things as make data calls, update your address book, change
calendar entires, send and receive SMS messages and load ring tones
depending on the phone you have.

%package     -n xgnokii
Summary:        Graphical Linux/Unix tool suite for various mobile phones
Group:          Applications/Communications
Requires:       %{name} = %{version}-%{release}

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

%package        smsd
Summary:        Gnokii SMS daemon
Group:          System Environment/Daemons
Requires:       %{name} = %{version}-%{release}
Requires(pre):  %{_sbindir}/useradd
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig

%description    smsd
The Gnokii SMS daemon receives and sends SMS messages.

%package        smsd-pgsql
Summary:        PostgreSQL support for Gnokii SMS daemon
Group:          System Environment/Daemons
Requires:       %{name}-smsd = %{version}-%{release}
Obsoletes:      %{name}-smsd-postgresql < 0.6.4-0.lvn.2

%description    smsd-pgsql
%{summary}.

%package        smsd-mysql
Summary:        MySQL support for Gnokii SMS daemon
Group:          System Environment/Daemons
Requires:       %{name}-smsd = %{version}-%{release}

%description    smsd-mysql
%{summary}.

%package        devel
Summary:        Gnokii development files
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig

%description    devel
%{summary}.


%prep
%setup -q
%patch0 -p0
%patch1 -p1
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0
install -pm 644 %{SOURCE5} smsd2mail.sh
install -pm 644 %{SOURCE6} README.smsd2mail
# Fix up X86_64 library placement issue
%{__sed} -i -e 's|/lib /usr/lib\b|/%{_lib} %{_libdir}|' configure


%build
%configure --enable-security --disable-rpath --disable-static \
  %{?_with_libical:--with-libical=%{_prefix}}
make # -j X for X > 1 fails as of 0.5.6 - 0.6.7
make %{?_smp_mflags} -C smsd all libpq.la libmysql.la libfile.la


%install
rm -rf $RPM_BUILD_ROOT __docinst

make install install-docs DESTDIR=$RPM_BUILD_ROOT \
  xmandir=%{_mandir}/man1 docdir=/__docinst

mv $RPM_BUILD_ROOT/__docinst .
rm __docinst/{README-MacOSX,README-WIN32,packaging-howto}

make install DESTDIR=$RPM_BUILD_ROOT pkglibdir=%{_libdir}/gnokii-smsd -C smsd \
  DB_LIBS="libfile.la libpq.la libmysql.la"
mv $RPM_BUILD_ROOT%{_sbindir}/{,gnokii-}smsd
mv $RPM_BUILD_ROOT%{_mandir}/man8/{,gnokii-}smsd.8

rm $RPM_BUILD_ROOT%{_libdir}{,/gnokii-smsd}/lib*.la

install -Dpm 644 Docs/sample/gnokiirc $RPM_BUILD_ROOT%{_sysconfdir}/gnokiirc

desktop-file-install \
  --delete-original \
  --vendor fedora \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --mode 644 \
  --add-category X-Fedora \
  $RPM_BUILD_ROOT%{_datadir}/applications/xgnokii.desktop

install -dm 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
convert Docs/sample/logo/gnokii.xpm \
  $RPM_BUILD_ROOT%{_datadir}/pixmaps/xgnokii.png
chmod 644 $RPM_BUILD_ROOT%{_datadir}/pixmaps/xgnokii.png

install -Dpm 755 %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/gnokii-smsd
install -Dpm 640 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/gnokii-smsd
install -Dpm 644 %{SOURCE4} \
  $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/gnokii-smsd

iconv -f iso8859-2 -t utf8 -o iconv.tmp ChangeLog
mv iconv.tmp ChangeLog
iconv -f iso8859-2 -t utf8 -o iconv.tmp Docs/CREDITS
mv iconv.tmp Docs/CREDITS
iconv -f iso8859-2 -t utf8 -o iconv.tmp Docs/README
mv iconv.tmp Docs/README
iconv -f iso8859-2 -t utf8 -o iconv.tmp COPYRIGHT
mv iconv.tmp COPYRIGHT
iconv -f iso8859-2 -t utf8 -o iconv.tmp smsd/ChangeLog
mv iconv.tmp smsd/ChangeLog
iconv -f iso8859-2 -t utf8 -o iconv.tmp xgnokii/ChangeLog
mv iconv.tmp xgnokii/ChangeLog



%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%pre
%{_sbindir}/groupadd -r gnokii >/dev/null 2>&1 || :

%pre smsd
%{_sbindir}/useradd -r -M -d / -g gnokii \
  -s /sbin/nologin -c "Gnokii system user" gnokii >/dev/null 2>&1 || :

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post smsd
/sbin/chkconfig --add gnokii-smsd

%preun smsd
if [ $1 -eq 0 ] ; then
  %{_initrddir}/gnokii-smsd stop >/dev/null 2>&1 || :
  /sbin/chkconfig --del gnokii-smsd
fi

%postun smsd
if [ $1 -ge 1 ] ; then
  %{_initrddir}/gnokii-smsd try-restart >/dev/null 2>&1 || :
fi


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc ChangeLog COPY* MAINTAINERS TODO VERSION __docinst/*
%config(noreplace) %{_sysconfdir}/gnokiirc
%attr(4750,root,gnokii) %{_sbindir}/mgnokiidev
%{_bindir}/gnokii
%{_bindir}/ppm2nokia
%{_bindir}/sendsms
%{_bindir}/todologo
%{_sbindir}/gnokiid
%{_libdir}/libgnokii.so.*
%{_mandir}/man1/gnokii.1*
%{_mandir}/man1/ppm2nokia.1*
%{_mandir}/man1/sendsms.1*
%{_mandir}/man1/todologo.1*
%{_mandir}/man8/gnokiid.8*
%{_mandir}/man8/mgnokiidev.8*

%files -n xgnokii
%defattr(-,root,root,-)
%doc xgnokii/ChangeLog xgnokii/README.vcard xgnokii/VERSION
%{_bindir}/xgnokii
%{_datadir}/pixmaps/xgnokii.png
%{_datadir}/applications/*xgnokii.desktop
%{_datadir}/xgnokii/
%{_mandir}/man1/xgnokii.1*

%files smsd
%defattr(-,root,root,-)
%doc smsd/action smsd/ChangeLog smsd/README README.smsd2mail smsd2mail.sh
%attr(-,gnokii,gnokii) %config(noreplace) %{_sysconfdir}/sysconfig/gnokii-smsd
%config(noreplace) %{_sysconfdir}/logrotate.d/gnokii-smsd
%{_initrddir}/gnokii-smsd
%{_sbindir}/gnokii-smsd
%{_mandir}/man8/gnokii-smsd.8*
%dir %{_libdir}/gnokii-smsd/
%{_libdir}/gnokii-smsd/libfile.so

%files smsd-pgsql
%defattr(-,root,root,-)
%doc smsd/sms.tables.pq.sql
%{_libdir}/gnokii-smsd/libpq.so

%files smsd-mysql
%defattr(-,root,root,-)
%doc smsd/sms.tables.mysql.sql
%{_libdir}/gnokii-smsd/libmysql.so

%files devel
%defattr(-,root,root,-)
%{_includedir}/gnokii*
%{_libdir}/libgnokii.so
%{_libdir}/pkgconfig/gnokii.pc
%{_libdir}/pkgconfig/xgnokii.pc

%changelog
* Thu Mar 31 2006 Linus Walleij <triad at df.lth.se> - 0.6.12-2
- Updated after comments from Ville.

* Thu Mar 16 2006 Linus Walleij <triad at df.lth.se> - 0.6.12-1
- New upstream tarball

* Wed Mar 8 2006 Linus Walleij <triad at df.lth.se> - 0.6.11-2
- Updated after comments from Ville.

* Sun Mar 5 2006 Linus Walleij <triad at df.lth.se> - 0.6.11-1
- 0.6.11
- Modified to drop into the Fedora Extras as the nice package it now is
- Based work off Ville's good olde package

* Sun Nov 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.10-0.lvn.1
- 0.6.10.
- Clean up pkgconfig file and -devel dependencies from bits needed only
  for static libs.

* Thu Nov  3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.9-0.lvn.1
- 0.6.9, desktop entry file included upstream.
- Drop zero Epochs.

* Sat Aug  6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.8-0.lvn.1
- 0.6.8.
- Don't ship static libraries.
- Rename smsd to gnokii-smsd to avoid conflicts with smstools.
- Remove not included files instead of using %%exclude.

* Sat Jun  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.7-0.lvn.2
- BuildRequire openssl-devel to work around https://bugzilla.redhat.com/159569

* Thu Jun  2 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.7-0.lvn.1
- 0.6.7.
- Build unconditionally with bluetooth support.

* Mon May  2 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.5-0.lvn.1
- 0.6.5.

* Fri Nov  5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.4-0.lvn.2
- Rename -smsd-postgresql to -smsd-pgsql for consistency with other similar
  packages in FC/Extras.

* Fri Oct 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.4-0.lvn.1
- Update to 0.6.4, perms and pgsql patches applied upstream.
- Xgnokii help locale symlink hack no longer necessary.
- Don't remove user/group on last erase, move smsd user to -smsd subpackage.
- Add libical support (disabled), rebuild with "--with libical" to enable.

* Mon Jul  5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.3-0.lvn.1
- Update to 0.6.3.

* Sun Jun 20 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.1-0.lvn.4
- Improve Xgnokii desktop entry according to GNOME HIG.

* Sun Jun 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.1-0.lvn.3
- Remove duplicate gettext build dependency (bug 95).

* Sun Jun  6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.1-0.lvn.2
- Fix chown syntax in smsd init script.
- Summary and description improvements.
- Trim $RPM_OPT_FLAGS out from gnokii.pc.
- Make -devel require XFree86-devel.

* Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.1-0.lvn.1
- Update to 0.6.1.

* Thu Mar 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.0-0.lvn.2
- Make -devel require pkgconfig.

* Mon Feb 23 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.0-0.lvn.1
- Update to 0.6.0.

* Mon Feb  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5.10-0.lvn.1
- Update to 0.5.10.

* Tue Jan 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5.9-0.lvn.1
- Update to 0.5.9.
- Specfile cleanups, small init script enhancements.

* Sat Dec 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5.7-0.lvn.1
- Update to 0.5.7.
- Move smsd man page into -smsd subpackage.

* Sat Nov 15 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5.6-0.lvn.1
- Update to 0.5.6.
- Include sample action script for forwarding SMSD messages to mail.
- s/fedora/livna/.
- Specfile and init script cleanups.

* Sat Jul 19 2003 Warren Togami <warren at togami.com> - 0:0.5.2-0.fdr.2
- Disable smp flags to prevent build failure

* Sun Jun 15 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5.2-0.fdr.1
- Update to 0.5.2.

* Thu May 29 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5.1-0.fdr.1
- Update to 0.5.1.
- Include init script, sysconfig and logrotate config for smsd.

* Tue May 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5.0-0.fdr.1
- Update to 0.5.0.

* Sun Nov  3 2002 Ville Skyttä <ville.skytta at iki.fi> 0.4.3-1cr
- RedHat'ified PLD version.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gnokii/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Apr 2006 18:19:55 -0000	1.1
+++ .cvsignore	1 Apr 2006 18:24:59 -0000	1.2
@@ -0,0 +1 @@
+gnokii-0.6.12.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gnokii/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Apr 2006 18:19:55 -0000	1.1
+++ sources	1 Apr 2006 18:24:59 -0000	1.2
@@ -0,0 +1 @@
+846e03e7cf3581000c9d0141c2950b79  gnokii-0.6.12.tar.bz2




More information about the fedora-extras-commits mailing list