Author: megabajt Date: Sat Feb 26 11:57:51 2011 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/libsocialweb: libsocialweb.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libsocialweb/libsocialweb.spec diff -u /dev/null packages/libsocialweb/libsocialweb.spec:1.1 --- /dev/null Sat Feb 26 12:57:51 2011 +++ packages/libsocialweb/libsocialweb.spec Sat Feb 26 12:57:46 2011 @@ -0,0 +1,163 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without apidocs # do not build and package API docs +%bcond_without static_libs # don't build static libraries +# +Summary: A social network data aggregator +Name: libsocialweb +Version: 0.25.11 +Release: 1 +License: LGPL v2 +Group: Libraries +Source0: http://ftp.gnome.org/pub/GNOME/sources/libsocialweb/0.25/%{name}-%{version}.tar.bz2 +# Source0-md5: 88476c29640649e70b2740f9e584d85f +URL: http://www.gnome.org/ +BuildRequires: GConf2-devel +BuildRequires: autoconf >= 2.63 +BuildRequires: automake >= 1:1.11 +BuildRequires: dbus-glib-devel +BuildRequires: gettext-devel +BuildRequires: glib2-devel >= 1:2.16.0 +BuildRequires: gtk-doc >= 1.15 +BuildRequires: intltool >= 0.40.0 +BuildRequires: json-glib-devel +BuildRequires: libgnome-keyring-devel +BuildRequires: libsoup-gnome-devel >= 2.26.0 +BuildRequires: libtool >= 2:2.2.6 +BuildRequires: pkgconfig +BuildRequires: rest-devel >= 0.7.1 +Requires: rest >= 0.7.1 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +libsocialweb is a social data server which fetches data from the +"social web", such as your friend's blog posts and photos, upcoming +events, recently played tracks, and pending eBay auctions. It also +provides a service to update your status on web services which support +it, such as MySpace and Twitter. + +%package devel +Summary: Header files for socialweb library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki socialweb +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: dbus-glib-devel +Requires: glib2-devel >= 1:2.16.0 +Requires: libsoup-devel >= 2.26.0 +Requires: rest-devel >= 0.7.1 + +%description devel +Header files for socialweb library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki socialweb. + +%package static +Summary: Static socialweb library +Summary(pl.UTF-8): Statyczna biblioteka socialweb +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static socialweb library. + +%description static -l pl.UTF-8 +Statyczna biblioteka socialweb. + +%package apidocs +Summary: socialweb library API documentation +Summary(pl.UTF-8): Dokumentacja API biblioteki socialweb +Group: Documentation +Requires: gtk-doc-common + +%description apidocs +API documentation for socialweb library. + +%description apidocs -l pl.UTF-8 +Dokumentacja API biblioteki socialweb. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} -I m4 +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --disable-silent-rules \ + %{__enable_disable apidocs gtk-doc} \ + %{__enable_disable static_libs static} \ + --with-html-dir=%{_gtkdocdir} +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README TODO +%attr(755,root,root) %{_libexecdir}/libsocialweb-core +%attr(755,root,root) %{_libdir}/libsocialweb-client.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libsocialweb-client.so.2 +%attr(755,root,root) %{_libdir}/libsocialweb-keyfob.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libsocialweb-keyfob.so.0 +%attr(755,root,root) %{_libdir}/libsocialweb-keystore.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libsocialweb-keystore.so.0 +%attr(755,root,root) %{_libdir}/libsocialweb.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libsocialweb.so.0 +%{_datadir}/dbus-1/services/libsocialweb.service + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libsocialweb-client.so +%attr(755,root,root) %{_libdir}/libsocialweb-keyfob.so +%attr(755,root,root) %{_libdir}/libsocialweb-keystore.so +%attr(755,root,root) %{_libdir}/libsocialweb.so +%{_includedir}/libsocialweb +%{_pkgconfigdir}/libsocialweb-client.pc +%{_pkgconfigdir}/libsocialweb-keyfob.pc +%{_pkgconfigdir}/libsocialweb-keystore.pc +%{_pkgconfigdir}/libsocialweb-module.pc + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libsocialweb-client.a +%{_libdir}/libsocialweb-keyfob.a +%{_libdir}/libsocialweb-keystore.a +%{_libdir}/libsocialweb.a +%endif + +%if %{with apidocs} +%files apidocs +%defattr(644,root,root,755) +%{_gtkdocdir}/libsocialweb-client +%{_gtkdocdir}/libsocialweb-dbus +%{_gtkdocdir}/libsocialweb +%endif + +%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 2011/02/26 11:57:46 megabajt +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
