Author: drzeus
Date: 2005-04-06 23:29:37 +0200 (Wed, 06 Apr 2005)
New Revision: 118
Added:
trunk/misc/
trunk/misc/multisync.spec.in
Modified:
trunk/Makefile.am
trunk/configure.in
Log:
RPM support
Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am 2005-04-06 21:02:58 UTC (rev 117)
+++ trunk/Makefile.am 2005-04-06 21:29:37 UTC (rev 118)
@@ -5,7 +5,9 @@
EXTRA_DIST = \
autogen.sh \
buildtest.sh \
- gui
+ gui \
+ misc/multisync.spec \
+ misc/multisync.spec.in
dist-hook:
find $(distdir) -name .svn -print0 | xargs -0 rm -rf
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2005-04-06 21:02:58 UTC (rev 117)
+++ trunk/configure.in 2005-04-06 21:29:37 UTC (rev 118)
@@ -25,4 +25,5 @@
AC_OUTPUT([
Makefile
tools/Makefile
+misc/multisync.spec
])
Added: trunk/misc/multisync.spec.in
===================================================================
--- trunk/misc/multisync.spec.in 2005-04-06 21:02:58 UTC (rev 117)
+++ trunk/misc/multisync.spec.in 2005-04-06 21:29:37 UTC (rev 118)
@@ -0,0 +1,63 @@
+Summary: A synchronisation program.
+Name: @PACKAGE@
+Version: @VERSION@
+Release: 1
+License: GPL
+Group: Applications/Communications
+Source: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}
+Requires: libxml2 glib2 libopensync libgnomeui
+BuildRequires: libxml2-devel glib2-devel libopensync-devel
+BuildRequires: libopensync-plugin-evolution2-devel libgnomeui-devel
+
+%description
+MultiSync is a program to synchronize calendars, addressbooks and other PIM data
+between programs on your computer and other computers, mobile devices, PDAs or
+cell phones. It relies on the OpenSync framework to do the actual
+synchronisation.
+
+%package cli
+Summary: Command line version of %{name}
+Group: Applications/Communications
+Requires: libxml2 glib2 libopensync
+
+%description cli
+Command line version of MultiSync. To allow synchronisation on machines which
+lack a X server.
+
+%prep
+%setup -q
+
+%build
+%configure
+cd gui
+%configure
+cd ..
+
+make
+cd gui
+make
+cd ..
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}%{_bindir}/convcard
+cd gui
+make install DESTDIR=%{buildroot}
+cd ..
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_bindir}/multisync0.90
+
+%files cli
+%defattr(-,root,root)
+%{_bindir}/msynctool
+
+%changelog
+* Fri Mar 18 2005 Pierre Ossman <dr...@dr...> 0.90.15-1
+- Initial package
|