SPECS: libopensync.spec (NEW) - based on template

wrobell wrobell at pld-linux.org
Fri Dec 30 11:42:13 CET 2005


Author: wrobell                      Date: Fri Dec 30 10:42:13 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- based on template

---- Files affected:
SPECS:
   libopensync.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libopensync.spec
diff -u /dev/null SPECS/libopensync.spec:1.1
--- /dev/null	Fri Dec 30 11:42:13 2005
+++ SPECS/libopensync.spec	Fri Dec 30 11:42:07 2005
@@ -0,0 +1,114 @@
+# $Revision$, $Date$
+
+#
+# todo:
+# - python module opensync.so.0.0 is put to py_sitescriptdir instead of py_sitedir
+#
+
+Summary:	Data synchronization framework
+Name:		libopensync
+Version:	0.18
+Release:	0.1
+License:	LGPL
+Group:		Libraries
+Source0:	http://www.opensync.org/attachment/wiki/download/%{name}-%{version}.tar.gz
+# Source0-md5:	ce94a69fb7ae7533d1f8828b6402cec8
+URL:		http://www.opensync.org/
+BuildRequires:	libxml2-devel
+BuildRequires:	python-devel
+BuildRequires:	python-modules
+BuildRequires:	swig-python
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenSync is a synchronization framework that is platform and distribution
+independent.
+
+It consists of several plugins that can be used to connect to devices,
+a powerful sync-engine and the framework itself.
+
+The synchronization framework is kept very flexible and is capable of
+synchronizing any type of data, including contacts, calendar, tasks, notes
+and files. 
+
+%package devel
+Summary:	Header files for opensync library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for opensync library.
+
+%package static
+Summary:	Static opensync library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static opensync library.
+
+%package -n python-opensync
+Summary:	Python bindings for opensync library
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+%pyrequires_eq  python-libs
+
+%description -n python-opensync
+Python bindings for opensync library.
+
+%prep
+%setup -q
+
+%build
+%configure --enable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{py,la,a}
+
+%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 TODO
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%dir %{_libdir}/opensync
+%dir %{_libdir}/opensync/formats
+%attr(755,root,root) %{_libdir}/opensync/formats/*.so
+%{_libdir}/opensync/formats/*.la
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/opensync*
+%{_pkgconfigdir}/*.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%files -n python-opensync
+%defattr(644,root,root,755)
+#%attr(755,root,root) %{py_sitedir}/*.so.*
+%{py_sitescriptdir}/*.py[co]
+
+%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.1  2005/12/30 10:42:07  wrobell
+- based on template
+
================================================================


More information about the pld-cvs-commit mailing list