151 lines
4.5 KiB
RPMSpec
151 lines
4.5 KiB
RPMSpec
|
|
%define gammuroot %{_builddir}/%{name}-%{version}
|
|
|
|
Name: gammu
|
|
Version: 1.04.0
|
|
Release: 1.te
|
|
Summary: Mobile phones tools for Unix (Linux) and Win32
|
|
Group: Applications/Communications
|
|
License: GPL
|
|
URL: http://www.gammu.net
|
|
Source: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{release}-%{version}-root-%(%{__id_u} -n)
|
|
Requires: bluez-libs
|
|
BuildRequires: bluez-libs-devel
|
|
|
|
%description
|
|
Gammu can do such things with cellular phones as making data calls,
|
|
updating the address book, changing calendar and ToDo entries, sending and
|
|
receiving SMS messages, loading and getting ring tones and pictures (different
|
|
types of logos), synchronizing time, enabling NetMonitor, managing WAP
|
|
settings and bookmarks and much more. Functions depend on the phone model.
|
|
|
|
%package devel
|
|
Summary: Headers and pkgconfig file for Gammu development
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
This package contains the headers and pkgconfig file that programmers
|
|
will need to develop applications which will use libGammu.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --enable-cb --enable-7110incoming \
|
|
--with-docdir=%{_docdir}/%{name}-%{version}
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT installlib
|
|
%{__mkdir} -p $RPM_BUILD_ROOT/%{_sysconfdir}
|
|
%{__sed} -e 's|^port =.*$|port = /dev/ttyS0|' \
|
|
-e 's|^connection =.*$|connection = dlr3|' \
|
|
-e 's/
|
|
$//' \
|
|
< docs/examples/config/gammurc > $RPM_BUILD_ROOT/%{_sysconfdir}/gammurc
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc changelog copying readme.txt docs/examples docs/docs other/driver other/php
|
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/gammurc
|
|
%attr(0755,root,root) %{_bindir}/gammu
|
|
%attr(0755,root,root) %{_libdir}/libGammu.so.0.0
|
|
%{_datadir}/gammu
|
|
%{_mandir}/man1/gammu.1*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc docs/develop/*
|
|
%attr(0755,root,root) %{_libdir}/libGammu.so.0
|
|
%attr(0755,root,root) %{_libdir}/libGammu.so
|
|
%attr(0755,root,root) %{_libdir}/libGammu.a
|
|
%{_includedir}/gammu
|
|
%{_libdir}/pkgconfig/gammu.pc
|
|
|
|
%clean
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
[ "%{gammuroot}" != "/" ] && rm -rf %{gammuroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%changelog
|
|
* Thu Dec 29 2005 Troy Engel <tengel@sonic.net>
|
|
- New version 1.04.0
|
|
|
|
* Thu Dec 29 2005 Troy Engel <tengel@sonic.net>
|
|
- New version 1.03.20
|
|
|
|
* Sat Oct 01 2005 Troy Engel <tengel@sonic.net>
|
|
- New version 1.0.16
|
|
- Removed configure-rpm and mysql patches, now integrated
|
|
- Fixed up the clean directive, safer and removes build tree
|
|
|
|
* Sat Sep 17 2005 Thomas Antony <thomas.antony@inode.at>
|
|
- New version 1.02.12 (test release)
|
|
- Changed the spec file that it matches (hopefully) the Fedora Extras guidelines
|
|
- removed gammu-1.0.2-backgen.patch
|
|
- added configure-rpm.patch and mysql.patch
|
|
|
|
* Thu Aug 04 2005 Troy Engel <tengel@sonic.net>
|
|
- New version 1.02.0
|
|
- add increased backup limits (N6230 v5.40+)
|
|
|
|
* Mon May 23 2005 Troy Engel <tengel@sonic.net>
|
|
- New version 1.01.11
|
|
- add 40char SMS patch (localization)
|
|
|
|
* Tue Mar 29 2005 Troy Engel <tengel@sonic.net>
|
|
- New version 1.00.23
|
|
- add other/driver and other/php subdirs
|
|
- add 6510 file and 6230 pbk patch
|
|
|
|
* Mon Jan 31 2005 Troy Engel <tengel@sonic.net>
|
|
- New version 0.99.22
|
|
- Use stock FC3 bluez-libs, remove bluez patch
|
|
|
|
* Wed Mar 22 2004 Troy Engel <tengel@sonic.net>
|
|
- new version 0.94.0
|
|
- apply serial_write patch from Michal Cihar
|
|
|
|
* Wed Feb 04 2004 Troy Engel <tengel@sonic.net>
|
|
- new version 0.92.9
|
|
- remove 0.92.0 patches
|
|
|
|
* Wed Jan 07 2004 Troy Engel <tengel@sonic.net>
|
|
- new version 0.92.0
|
|
- apply cb and n6110 patches from Michal Cihar
|
|
|
|
* Wed Dec 24 2003 Troy Engel <tengel@sonic.net>
|
|
- new version 0.91.0
|
|
- added new -devel libs
|
|
|
|
* Mon Nov 10 2003 Troy Engel <tengel@sonic.net>
|
|
- new version 0.89
|
|
|
|
* Thu Nov 06 2003 Troy Engel <tengel@sonic.net>
|
|
- new version 0.88
|
|
- remove 'use_locking = yes' from default gammurc, it causes
|
|
non-root users not to work (can't write to /var/lock/)
|
|
|
|
* Tue Oct 28 2003 Troy Engel <tengel@sonic.net>
|
|
- redo whole spec to make Redhat capable
|
|
- add bluez-libs support (bluez.sf.net)
|
|
- add Nokia SMS-Incoming and CB support
|
|
- break out devel package
|
|
- install sample gammurc with some reasonable defaults
|
|
|
|
* Thu Jan 02 2003 Michal Cihar <michal@cihar.com>
|
|
- made it install in directories that are defined in rpm
|
|
|
|
* Sun Nov 10 2002 Marcin Wiacek <marcin@mwiacek.com>
|
|
- topnet.pl email no more available
|
|
|
|
* Sun Sep 30 2002 Marcin Wiacek <marcin-wiacek@topnet.pl>
|
|
- build system is now really working OK
|
|
|
|
* Sat Sep 15 2002 R P Herrold <herrold@owlriver.com>
|
|
- initial packaging
|
|
|