Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MargueriteSu
libmdcpp
libmdcpp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmdcpp.spec of Package libmdcpp
# # spec file for package libmdcpp # # 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 soname 0 Name: libmdcpp Version: 0.2.0+git20170316.c9a290a Release: 0 License: MIT Summary: Implementation of the Markdown markup language in CPP Url: https://github.com/sadhen/libmdcpp Group: System/Libraries Source: %{name}-%{version}.tar.xz BuildRequires: libboost_regex-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Implementation of the Markdown markup language in CPP (library). %package -n libmdcpp%{soname} Summary: Implementation of the Markdown markup language in CPP Group: System/Libraries %description -n libmdcpp%{soname} Implementation of the Markdown markup language in CPP (library). %package devel Summary: Development headers for libmdcpp Group: Development/Libraries/C and C++ Requires: libmdcpp%{soname} = %{version} %description devel This package provides development headers for libmdcpp. libmdcpp is a implementation of the Markdown markup languages in CPP. %prep %setup -q %build %cmake make %{?_smp_mflags} %install %cmake_install # install pkgconfig file cat > libmdcpp.pc <<EOF prefix=%{_prefix} exec_prefix=%{_prefix} libdir=%{_libdir} includedir=%{_includedir} Name: libmdcpp Version: 0.2.0+git20170316.c9a290a Description: Implementation of the Markdown markup language in CPP Libs: -L%{_libdir} -lmdcpp Cflags: -I%{_includedir} EOF mkdir -p %{buildroot}%{_libdir}/pkgconfig install -m 0644 libmdcpp.pc %{buildroot}%{_libdir}/pkgconfig %post -n libmdcpp%{soname} -p /sbin/ldconfig %postun -n libmdcpp%{soname} -p /sbin/ldconfig %files -n libmdcpp%{soname} %defattr(-,root,root) %doc README.md %{_libdir}/libmdcpp.so.%{soname} %{_libdir}/libmdcpp.so.0.2.0 %files devel %defattr(-,root,root) %{_includedir}/libmdcpp.h %{_libdir}/libmdcpp.so %{_libdir}/pkgconfig/libmdcpp.pc %changelog
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