Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ruphy_2:personal-fedora
libechonest
libechonest.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libechonest.spec of Package libechonest
# (c) Dominik Schmidt # spec file for package libechonest (Version 0.2) %define soname 1_1 Name: libechonest BuildRequires: cmake gcc-c++ libqt4-devel %if %{defined suse_version} BuildRequires: libqjson-devel %endif %if %{defined fedora} BuildRequires: qjson-devel %endif License: LGPL Version: 1.1.8 Release: 0 Source0: libechonest-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: https://projects.kde.org/libechonest # main package Summary: Qt library for communicating with The Echo Nest Group: System/Libraries %description It currently supports almost all of the features of the Echo Nest API, including all the API functions. # bin package %package -n libechonest Group: System/Libraries Summary: Qt library for communicating with The Echo Nest %description -n libechonest It currently supports almost all of the features of the Echo Nest API, including all the API functions. # devel package %package -n libechonest-devel Group: Development/Libraries/C and C++ Summary: Qt library for communicating with The Echo Nest Requires: libechonest = %{version} %description -n libechonest-devel It currently supports almost all of the features of the Echo Nest API, including all the API functions. %prep %setup -q -n libechonest-%{version} %build export CXXFLAGS="%{optflags}" export CFLAGS="%{optflags}" EXTRA_FLAGS="" if [ %_lib = lib64 ]; then EXTRA_FLAGS="$EXTRA_FLAGS -DLIB_SUFFIX=64" fi cmake . -DCMAKE_CXXFLAGS="%{optflags}" -DCMAKE_CFLAGS="%{optflags}" -DCMAKE_INSTALL_PREFIX=/usr $EXTRA_FLAGS make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf %{buildroot} %post -n libechonest%{soname} -p /sbin/ldconfig %postun -n libechonest%{soname} -p /sbin/ldconfig %files -n libechonest%{soname} %defattr(-,root,root,-) %{_libdir}/libechonest*.so.* %files -n libechonest-devel %defattr(-,root,root,-) %{_libdir}/libechonest.so %{_includedir}/echonest/ %{_libdir}/pkgconfig/libechonest.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