SPECS: gammu.spec - Updated to version 1.10.0 (stable) STBR for AC...
beorn
beorn at pld-linux.org
Fri Mar 2 15:01:44 CET 2007
Author: beorn Date: Fri Mar 2 14:01:44 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Updated to version 1.10.0 (stable) STBR for AC update general
---- Files affected:
SPECS:
gammu.spec (1.44 -> 1.45)
---- Diffs:
================================================================
Index: SPECS/gammu.spec
diff -u SPECS/gammu.spec:1.44 SPECS/gammu.spec:1.45
--- SPECS/gammu.spec:1.44 Tue Feb 13 08:16:44 2007
+++ SPECS/gammu.spec Fri Mar 2 15:01:38 2007
@@ -1,22 +1,25 @@
# $Revision$, $Date$
-Summary: Linux/Unix tool suite for Nokia mobile phones
-Summary(pl.UTF-8): Linuksowy/uniksowy zestaw narzędzi dla telefonów komórkowych Nokia
+Summary: GNU tool suite for mobile phones
+Summary(pl.UTF-8): Zestaw narzędzi GNU dla telefonów komórkowych
Name: gammu
-Version: 1.07.00
+Version: 1.10.0
Release: 1
Epoch: 1
License: GPL v2
Group: Applications/Communications
-Source0: http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/%{name}-%{version}.tar.gz
-# Source0-md5: b706e35a6f003acc47f8c2bb71fa8036
+Source0: http://dl.cihar.com/gammu/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: 05b623c30cfd69ea97f0bc054b19928d
Patch0: %{name}-etc_dir.patch
Patch1: %{name}-no_nss.patch
+Patch2: %{name}-libpq_dir.patch
URL: http://www.gammu.org/
BuildRequires: autoconf
BuildRequires: bluez-libs-devel
BuildRequires: mysql-devel
+BuildRequires: postgresql-devel
Provides: mygnokii2
Obsoletes: mygnokii2
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -38,11 +41,47 @@
WAP, daty/czasu, budzika, dzwonienia itp. Może także wykonywać pełne
kopie zapasowe danych i odtwarzać je.
+%package devel
+Summary: Header files for Gammu tool suite for mobile phones
+Summary(pl.UTF-8): Pliki nagłówkowe zestawu narzędzi dla telefonów komórkowych Gammu
+Group: Development/Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files for Gammu tool suite for mobile phones.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe zestawu narzędzi dla telefonów komórkowych Gammu.
+
+%package libs
+Summary: Gammu library
+Summary(pl.UTF-8): Biblioteka Gammu
+Group: Libraries
+
+%description libs
+Gammu tool suite library.
+
+%description devel -l pl.UTF-8
+Biblioteka zestawu narzędzi dla telefonów komórkowych Gammu.
+
+%package static
+Summary: Gammu static library
+Summary(pl.UTF-8): Biblioteka statyczna Gammu
+Group: Development/Libraries
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+
+%description static
+Gammu static library.
+
+%description devel -l pl.UTF-8
+Biblioteka statyczna zestawu narzędzi dla telefonów komórkowych Gammu.
+
%prep
%setup -q
#%patch0 -p1
%patch1 -p1
-cp -f version cfg/autoconf/VERSION
+%patch2 -p1
+cp -f VERSION cfg/autoconf/VERSION
mv docs/docs/english/gammu.1 .
%build
@@ -61,7 +100,7 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}-%{version},%{_datadir}/%{name}}
-%{__make} installlocales installlibonly \
+%{__make} installlibonly \
DESTDIR=$RPM_BUILD_ROOT \
prefix=%{_prefix} \
INSTALL_LIB_DIR=%{_libdir} \
@@ -70,42 +109,61 @@
install -D gammu.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir}
+install docs/docs/locale/*.txt $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -r docs/{examples,develop} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cd $RPM_BUILD_ROOT%{_libdir}
+ln -sf libGammu.so.1.0 libGammu.so
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
-# anybody feels like developing gammu-based apps?
-rm -rf $RPM_BUILD_ROOT{%{_includedir},%{_libdir}/{*.{so,a},pkgconfig}}
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%if %{with ldconfig}
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%endif
%files
%defattr(644,root,root,755)
-%doc changelog docs/docs/english/gammu.htm other/bash readme.txt
+%doc ChangeLog docs/docs/english/gammu.htm other/bash README
%doc %lang(it) docs/docs/italian
%attr(755,root,root) %{_bindir}/%{name}
-%attr(755,root,root) %{_libdir}/*.so.*
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gammurc
%dir %{_datadir}/%{name}
-%lang(cs) %{_datadir}/gammu/gammu_cs.txt
-%lang(de) %{_datadir}/gammu/gammu_de.txt
-%lang(es) %{_datadir}/gammu/gammu_es.txt
-%lang(it) %{_datadir}/gammu/gammu_it.txt
-%lang(pl) %{_datadir}/gammu/gammu_pl.txt
-%lang(ru) %{_datadir}/gammu/gammu_ru.txt
-%{_datadir}/gammu/gammu_us.txt
+%lang(cs) %{_datadir}/%{name}/gammu_cs.txt
+%lang(de) %{_datadir}/%{name}/gammu_de.txt
+%lang(es) %{_datadir}/%{name}/gammu_es.txt
+%lang(it) %{_datadir}/%{name}/gammu_it.txt
+%lang(pl) %{_datadir}/%{name}/gammu_pl.txt
+%lang(ru) %{_datadir}/%{name}/gammu_ru.txt
+%{_datadir}/%{name}/gammu_us.txt
%{_examplesdir}/%{name}-%{version}
%{_mandir}/man1/*
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/*.so
+%{_includedir}/*
+%{_pkgconfigdir}/*
+
+%files libs
+%defattr(755,root,root,755)
+%{_libdir}/*.so.*
+
+%files static
+%defattr(755,root,root,755)
+%{_libdir}/*.a
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2007/03/02 14:01:38 beorn
+- Updated to version 1.10.0 (stable) STBR for AC update general
+
Revision 1.44 2007/02/13 07:16:44 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gammu.spec?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list