Author: glen                         Date: Wed Aug 29 21:54:02 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/synce-librtfcomp.spec
diff -u /dev/null SPECS/synce-librtfcomp.spec:1.1
--- /dev/null   Wed Aug 29 23:54:02 2007
+++ SPECS/synce-librtfcomp.spec Wed Aug 29 23:53:57 2007
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+Summary:       SynCE - Compressed RTF extensions
+Name:          synce-librtfcomp
+Version:       1.1
+Release:       0.1
+License:       MIT
+Group:         Libraries
+Source0:       http://dl.sourceforge.net/synce/librtfcomp-%{version}.tar.gz
+# Source0-md5: b7f70dc41687d920ec9f47c01f56d6ce
+URL:           http://www.synce.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: python-Pyrex
+BuildRequires: python-devel
+BuildRequires: sed >= 4.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%package devel
+Summary:       Header files for librtfcomp library
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+
+%prep
+%setup -q -n librtfcomp-%{version}
+# XXX - fix the test
+sed -i -e s/have_gccvisibility=yes/have_gccvisibility=no/ configure.in
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --disable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+mv $RPM_BUILD_ROOT%{_bindir}/test{,rtf}
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/pyrtfcomp.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/fromrtf
+%attr(755,root,root) %{_bindir}/testrtf
+%attr(755,root,root) %{_bindir}/tortf
+%attr(755,root,root) %{_libdir}/librtfcomp.so.*.*.*
+%{py_sitedir}/pyrtfcomp.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/rtfcomp
+%{_libdir}/librtfcomp.la
+
+%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  2007/08/29 21:53:57  glen
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to