Author: nanardon
Date: Thu Nov 30 00:51:54 2006
New Revision: 88840

Added:
   packages/cooker/synce-vdccm/current/SOURCES/synce-vdccm-0.9.3.tar.bz2   
(contents, props changed)
   packages/cooker/synce-vdccm/current/SOURCES/vdccm-dont-chown.patch
   packages/cooker/synce-vdccm/current/SPECS/synce-vdccm.spec

Log:
- initial standalone package

Added: packages/cooker/synce-vdccm/current/SOURCES/synce-vdccm-0.9.3.tar.bz2
==============================================================================
Binary file. No diff available.

Added: packages/cooker/synce-vdccm/current/SOURCES/vdccm-dont-chown.patch
==============================================================================
--- (empty file)
+++ packages/cooker/synce-vdccm/current/SOURCES/vdccm-dont-chown.patch  Thu Nov 
30 00:51:54 2006
@@ -0,0 +1,12 @@
+Index: src/Makefile.am
+===================================================================
+--- src/Makefile.am
++++ src/Makefile.am    2006-11-30 00:22:18.293034977 +0100
+@@ -22,5 +22,5 @@
+       rapiproxyfactory.cpp rapiproxyconnection.cpp
+ 
+ install-exec-hook:
+-      chown root $(DESTDIR)$(bindir)/vdccm
+-      chmod u+s $(DESTDIR)$(bindir)/vdccm
++      chown root $(DESTDIR)$(bindir)/vdccm || :
++      chmod u+s $(DESTDIR)$(bindir)/vdccm || :

Added: packages/cooker/synce-vdccm/current/SPECS/synce-vdccm.spec
==============================================================================
--- (empty file)
+++ packages/cooker/synce-vdccm/current/SPECS/synce-vdccm.spec  Thu Nov 30 
00:51:54 2006
@@ -0,0 +1,71 @@
+%define name     synce-vdccm
+%define shortname vdccm
+%define release  %mkrel 1
+%define version  0.9.3
+
+%define major 0
+
+%define libname %mklibname %shortname %major
+
+Summary: SynCE: Communication application
+Name: %{name}
+Version: %{version}
+Release: %{release}
+License: MIT
+Group: Development/Libraries
+Source: %{name}-%{version}.tar.bz2
+Patch0: vdccm-dont-chown.patch
+URL: http://synce.sourceforge.net/
+Buildroot: %{_tmppath}/%name-root
+BuildRequires: libsynce-devel = %{version}
+
+%description
+%{shortname} is part of the SynCE project:
+
+%package -n %libname
+Group: Development/Libraries
+Summary: SynCE: Communication application
+Provides: lib%{name} = %{version}-%{release}
+Conflicts: %{_lib}synce0 <= 0.9.3
+
+%description -n %libname
+%{shortname} is part of the SynCE project
+
+%package -n %libname-devel
+Group: Development/Libraries
+Summary: SynCE: Communication application
+Provides: lib%{name} = %{version}-%{release}
+Provides: lib%{name}-devel = %{version}-%{release}
+Requires: %{libname} = %{version}-%{release}
+Conflicts: %{_lib}synce0-devel <= 0.9.3
+
+%description -n %libname-devel
+%{shortname} is part of the SynCE project
+
+%prep
+%setup -q -n %{shortname}-%{version}
+%patch0 -p0 -b .dont-chown
+
+%build
+automake
+autoconf
+%configure --with-libsynce=%{_prefix}
+%make
+
+%install
+alias chown=/bin/true
+%makeinstall
+
+%files
+%defattr(-,root,root)
+%doc README TODO
+%{_bindir}/*
+
+%files -n %{libname}
+%defattr(-,root,root)
+%_libdir/*.so.*
+
+%files -n %{libname}-devel
+%defattr(-,root,root)
+%_libdir/*.so
+%_libdir/*.la

Reply via email to