Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mkubecek:private
fibpp
fibpp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fibpp.spec of Package fibpp
# # spec file for package fibpp # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define major 0 %define minor 9 %define plevel 12 %define sname fibpp %define lname libfibpp%{major}_%{minor}_%{plevel} Name: fibpp Version: %{major}.%{minor}.%{plevel} Release: 0 Summary: C++ client interface for Firebird License: BSD-3-Clause Group: Productivity/Databases/Clients URL: http://git.mk-sys.cz/fibpp.git Source: %{sname}-%{version}.tar.bz2 Patch1: create-and-install-fibpp.pc-for-pkg-config.patch BuildRequires: gcc-c++ BuildRequires: pkgconfig %if 0%{?suse_version} < 1140 BuildRequires: libfbclient2-devel %else BuildRequires: pkgconfig(fbclient) %endif %if 0%{?suse_version} < 1130 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif %description A C++ library providing more comfortable access to Firebird Client API. # ---------------------------------------------------------------------------- %package -n %{lname} Summary: Simple C++ wrapper for Firebird API License: BSD-3-Clause Group: Productivity/Databases/Clients Provides: libfibpp = %{version} Provides: fibpp = %{version} Obsoletes: fibpp < 0.9.12 %description -n %{lname} A C++ library providing more comfortable access to Firebird Client API. %prep %setup -q -n %{sname}-%{version} %patch1 -p1 %build %configure make %{?_smp_mflags} %install make install-files DESTDIR=%{buildroot} %files -n %{lname} %defattr(-,root,root) %{_libdir}/*.so.* %post -n %{lname} /sbin/ldconfig %postun -n %{lname} /sbin/ldconfig # ---------------------------------------------------------------------------- %package devel Summary: Development libraries and headers for fibpp Group: Development/Libraries/C and C++ Requires: libfibpp = %{version} %description devel Development libraries and headers for fibpp library. %files devel %defattr (-,root,root) %{_includedir}/%{sname} %{_libdir}/*.a %{_libdir}/*.so %{_libdir}/pkgconfig/%{sname}.pc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor