[SPEC] gammu + python-gammu
Daniel Mróz
beorn w alpha.pl
Pon, 26 Lut 2007, 17:20:20 CET
CzeĹÄ
Po wprowadzeniu zmian na podstawie Waszych uwag, zaĹÄ
czam finalne wersje SPECy
i patchy. JeĹli nie ma wiÄcej uwag, prosiĹbym o dodanie do CVS.
Pozdrawiam
Beorn
--
Daniel 'Beorn' MrĂłz <beorn w alpha.pl> Â Â http://127.0.0.1/beorn
[GIT d s:- a-@ C++++ UL++++$ P+ L++++ E--- W+ N+++ o? K- w---]
[O- M- V! Â PS+ PE++ Y+ PGP++ t- 5 Â X R !tv b+ DI D++ G++ e h*]
[ Â Â Â Â Â Â Â Â Â Â Â Â Â r++ Â y+ Â Â Â Â Â Â Â Â Â Â Â Â Â ]
-------------- następna część ---------
ZaĹÄ
cznik, ktĂłry nie byĹ tekstem zostaĹ usuniÄty...
Name: gammu.spec.patch
Type: text/x-diff
Size: 4984 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20070226/9dc5c659/attachment-0003.bin
-------------- następna część ---------
# $Revision:$, $Date:$
Summary: Python bingings for Gammu library
Summary(pl.UTF-8): WiÄ
zania jÄzyka Python dla biblioteki Gammu
Name: python-gammu
Version: 0.19
Release: 1
License: GPL
Group: Development/Languages/Python
Source0: http://dl.cihar.com/python-gammu/latest/%{name}-%{version}.tar.bz2
# Source0-md5: ad967c35b6398545d4358d3f9915ef50
URL: http://icepick.info/
BuildRequires: python-devel
BuildRequires: rpm-pythonprov
BuildRequires: gammu-devel >= 1:1.10.0-0.1
BuildRequires: pkgconfig >= 0.21-2
%pyrequires_eq python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: gammu-libs >= 1:1.10.0-0.1
%description
Python bingings for Gammu library.
%description -l pl.UTF-8
WiÄ
zania jÄzyka Python dla biblioteki Gammu.
%prep
%setup -q
%build
find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
#find $RPM_BUILD_ROOT%{py_sitedir} -type f -name "*.py" | xargs rm
cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README NEWS AUTHORS
%attr(755,root,root) %{py_sitedir}/gammu.so
%{_examplesdir}/%{name}-%{version}/
%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:$
-------------- następna część ---------
ZaĹÄ
cznik, ktĂłry nie byĹ tekstem zostaĹ usuniÄty...
Name: gammu-libpq_dir.patch
Type: text/x-diff
Size: 392 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20070226/9dc5c659/attachment-0004.bin
-------------- następna część ---------
ZaĹÄ
cznik, ktĂłry nie byĹ tekstem zostaĹ usuniÄty...
Name: gammu-no_nss.patch
Type: text/x-diff
Size: 515 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-devel-pl/attachments/20070226/9dc5c659/attachment-0005.bin
Więcej informacji o liście dyskusyjnej pld-devel-pl