- new
authorzbyniu <zbyniu@pld-linux.org>
Mon, 30 Oct 2006 20:20:12 +0000 (20:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    carob.spec -> 1.1

carob.spec [new file with mode: 0644]

diff --git a/carob.spec b/carob.spec
new file mode 100644 (file)
index 0000000..b789887
--- /dev/null
@@ -0,0 +1,93 @@
+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
This page took 0.170899 seconds and 4 git commands to generate.