Author: adamg Date: Mon Feb 2 17:28:35 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: libmemcached.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libmemcached.spec diff -u /dev/null SPECS/libmemcached.spec:1.1 --- /dev/null Mon Feb 2 18:28:35 2009 +++ SPECS/libmemcached.spec Mon Feb 2 18:28:29 2009 @@ -0,0 +1,107 @@ +# $Revision$, $Date$ +Summary: memcached client library +Summary(pl.UTF-8): blblioteka kliencka memcached +Name: libmemcached +Version: 0.26 +Release: 1 +License: BSD +Group: Libraries +Source0: http://download.tangent.org/%{name}-%{version}.tar.gz +# Source0-md5: a53eaa92785b7835f2a2b784e9805748 +URL: http://tangent.org/553/default.html +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libstdc++-devel +BuildRequires: libtool +BuildRequires: perl-tools-pod +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +libmemcached is a C and C++ client library to the memcached server +(http://danga.com/memcached). It has been designed to be light on +memory usage, thread safe, and provide full access to server side +methods. + +%description -l pl.UTF-8 +libmemcached to biblioteka kliencka serwera memcached +(http://danga.com/memcached) dla języków C/C++. Została zaprojektowana +z myślą o niewielkim zużyciu pamięci, bezpieczeństwe i pełnym dostępie +do metod po stronie serwera. + +%package devel +Summary: Header files for memcached library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki memcached +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for memcached library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki memcached. + +%package static +Summary: Static memcached library +Summary(pl.UTF-8): Statyczna biblioteka memcached +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static memcached library. + +%description static -l pl.UTF-8 +Statyczna biblioteka memcached. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --with-memcached=no # disable memcached detection, we're not doing tests +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README THANKS TODO +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%{_mandir}/man1/* + +%files devel +%defattr(644,root,root,755) +%{_libdir}/lib*.so +%{_libdir}/lib*.la +%{_includedir}/libmemcached +%{_pkgconfigdir}/*.pc +%{_mandir}/man3/* + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/02/02 17:28:29 adamg +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
