Author: zbyniu                       Date: Mon Oct 30 20:20:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/carob.spec
diff -u /dev/null SPECS/carob.spec:1.1
--- /dev/null   Mon Oct 30 21:20:18 2006
+++ SPECS/carob.spec    Mon Oct 30 21:20:12 2006
@@ -0,0 +1,104 @@
+# $Revision$, $Date$
+Summary:       Carob library
+Summary(pl):   Biblioteka carob
+Name:          carob
+Version:       0.6.2
+%define        _ver    0_6_2
+Release:       0.1
+License:       Apache License v2.0
+Group:         Development/Libraries
+Source0:       
https://forge.continuent.org/frs/download.php/182/%{name}-r%{_ver}.tar.gz
+# Source0-md5: 6969f74fa9f4c19c434b68d29590eb3a
+URL:           http://carob.continuent.org/HomePage
+BuildRequires: gmp-devel
+BuildRequires: libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Bringing Sequoia technology to the C/C++ world.
+
+Carob's base is a C++ port of the JDBC driver code. It offers to
+developpers the same access as in Java. Connections, Requests,
+ResultSets and all necessary C++ classes can be used transparently and
+directly in any C++ enabled application.
+
+%package libs
+Summary:       -
+Summary(pl):   -
+Group:         Libraries
+
+%description libs
+
+%description libs -l pl
+
+%package devel
+Summary:       Header files for carob library
+Summary(pl):   Pliki nagłówkowe biblioteki carob
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+This is the package containing the header files for carob library.
+
+%description devel -l pl
+Ten pakiet zawiera pliki nagłówkowe biblioteki carob.
+
+%package static
+Summary:       Static carob library
+Summary(pl):   Statyczna biblioteka carob
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static carob library.
+
+%description static -l pl
+Statyczna biblioteka carob.
+
+%prep
+%setup -q -n %{name}-r%{_ver}
+
+%build
+%{__make} \
+       CXX="%{__cxx}" \
+       CXXFLAGS="%{rpmcflags} -fPIC" \
+       LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}/carob
+install libcarob.so* $RPM_BUILD_ROOT%{_libdir}/carob
+install libcarob.a $RPM_BUILD_ROOT%{_libdir}
+install include/*.hpp $RPM_BUILD_ROOT%{_includedir}/carob
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%dir %{_libdir}/carob
+%attr(755,root,root) %{_libdir}/carob/libcarob.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/carob
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/carob/libcarob.so
+%{_libdir}/libcarob.a
+
+%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  2006/10/30 20:20:12  zbyniu
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to