Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lemmy04
libgcal
libgcal.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgcal.spec of Package libgcal
# # spec file for package libgcal # # Copyright (c) 2011 SUSE LINUX Products 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: libgcal Version: 0.9.6 Release: 0 Url: http://code.google.com/p/libgcal/ Source: http://libgcal.googlecode.com/files/libgcal-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: check-devel BuildRequires: cmake BuildRequires: libcurl-devel BuildRequires: libxml2-devel BuildRequires: pkg-config Summary: A Library for Communication with Google Calendar and Contacts License: BSD-3-Clause Group: Development/Libraries/C and C++ %description Ligbcal is an ANSI C library that does allow communication with google calendar and contacts, useful if you need to support this in a C or C++ application. %package -n %{name}%{soname} Summary: A Library for Communication with Google Calendar and Contacts Group: System/Libraries %description -n %{name}%{soname} Ligbcal is an ANSI C library that does allow communication with google calendar and contacts, useful if you need to support this in a C or C++ application. %package devel Requires: %{name}%{soname} = %{version} Requires: libcurl-devel Requires: libxml2-devel Summary: A Library for Communication with Google Calendar and Contacts Group: Development/Libraries/C and C++ %description devel Ligbcal is an ANSI C library that does allow communication with google calendar and contacts, useful if you need to support this in a C or C++ application. %prep %setup -q %build mkdir build pushd build CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags}" \ cmake \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %if %{_lib} == lib64 -DLIB_SUFFIX=64 \ %endif %{_builddir}/%{name}-%{version} make %{?_smp_mflags} VERBOSE=1 popd %install pushd build %make_install popd find %{buildroot}%{_libdir} -name "*.la" -delete %post -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -n %{name}%{soname} %defattr(-,root,root) %{_libdir}/libgcal.so.%{soname}* %files devel %defattr(-,root,root) %doc Changelog.txt README %{_includedir}/libgcal %{_libdir}/LibGCal %{_libdir}/libgcal.so %{_libdir}/pkgconfig/libgcal.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