Files
mars-flaim/sql/obs/sqlflaim.spec.in
jcalcote eb584b3b55 Fixed broken RPM targets.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1102 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2009-07-06 21:02:20 +00:00

62 lines
1.2 KiB
RPMSpec

Name: @PACKAGE_TARNAME@
BuildRequires: gcc-c++ libstdc++-devel flaimtk-devel
Requires: libstdc++ flaimtk
Summary: SQLFLAIM is a SQL database library.
URL: http://forge.novell.com/modules/xfmod/project/?flaim
Version: @PACKAGE_VERSION@
Release: 1
License: GPL
Vendor: Novell, Inc.
Group: Development/Libraries/C and C++
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
SQLFLAIM is a SQL database library.
Authors:
--------
dsanders@novell.com
ahodgkinson@novell.com
%package devel
Summary: SQLFLAIM static library and header file
Group: Development/Libraries/C and C++
%description devel
SQLFLAIM is a SQL database library.
%prep
%setup -q
%build
%configure
make
%check
make check
%install
make DESTDIR=%{buildroot} install
rm -rf %{buildroot}%{_datadir}/doc/%{name}/html
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc %{_datadir}/doc/%{name}/AUTHORS
%doc %{_datadir}/doc/%{name}/ChangeLog
%doc %{_datadir}/doc/%{name}/COPYING
%doc %{_datadir}/doc/%{name}/INSTALL
%doc %{_datadir}/doc/%{name}/NEWS
%doc %{_datadir}/doc/%{name}/README
%{_libdir}/libflaimsql.la
%{_libdir}/libflaimsql.so*
%files devel
%{_libdir}/pkgconfig/libflaimsql.pc
%{_libdir}/libflaimsql.a
%{_includedir}/flaimsql.h