Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
librapi2
librapi2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File librapi2.spec of Package librapi2
# # spec file for package librapi2 # # 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/ # # norootforbuild %define major 2 %define shortname rapi2 Name: librapi2 Version: 0.15.2 Release: 1 License: MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ pyrex >= 0.9.6 BuildRequires: libsynce-devel python-devel >= 2.3 Source: %{name}-%{version}.tar.gz Url: http://www.synce.org Summary: RAPI library for the SynCE project Group: System/Libraries Provides: librapi = %{version}-%{release} Obsoletes: librapi < %{version}-%{release} Suggests: python-%{shortname} Suggests: %{shortname}-tools %description Librapi2 is part of the SynCE project. The RAPI library is an open source implementation that works like RAPI.DLL, available on Microsoft operating systems. The library makes it possible to make remote calls to a computer running device. %package devel Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} Requires: libsynce-devel %description devel This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %package -n python-%{shortname} Summary: Python RAPI bindings Group: Development/Libraries/Python %py_requires %description -n python-%{shortname} This packages contains the RAPI bindings for python. It is necessary for the use of the SynCE framework. %package -n %{shortname}-tools Summary: RAPI tools to interact with Windows Mobile devices Group: Hardware/Mobile %description -n %{shortname}-tools This packages contains various simple commandline tools to interact with Windows Mobile devices using the SynCE framework. %prep %setup -n %{name}-%{version} -q %build export CFLAGS="$CFLAGS -Wl,--add-needed" export CXXFLAGS="$CXXFLAGS -Wl,--add-needed" %configure --disable-rpath --disable-static --disable-hal-support --enable-udev-support %{__make} %{?_smp_mflags} %install %makeinstall DESTDIR=$RPM_BUILD_ROOT # %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} %{__rm} -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} %clean %{__rm} -rf "$RPM_BUILD_ROOT" %post -n %{name} -p /sbin/ldconfig %postun -n %{name} -p /sbin/ldconfig %files -n %{name} %defattr(-,root,root) %doc BUGS ChangeLog LICENSE README README.design README.contributing TODO %{_libdir}/librapi.so.2 %{_libdir}/librapi.so.2.0.0 %files -n %{shortname}-tools %defattr(-,root,root) %{_mandir}/man1/* %{_bindir}/pcp %{_bindir}/synce-install-cab %{_bindir}/pmkdir %{_bindir}/pstatus %{_bindir}/prmdir %{_bindir}/synce-registry %{_bindir}/pkillall %{_bindir}/pmv %{_bindir}/prm %{_bindir}/prun %{_bindir}/psettime %{_bindir}/rapiconfig %{_bindir}/synce-list-programs %{_bindir}/pshortcut %{_bindir}/pls %{_bindir}/synce-remove-program %{_bindir}/synce-database %files devel %defattr(-,root,root) %{_mandir}/man3/rapi_connection_from_name.3.gz %{_includedir}/rapi.h %{_includedir}/irapistream.h %{_includedir}/rapi2.h %{_includedir}/rapitypes.h %{_includedir}/rapitypes2.h %{_libdir}/pkgconfig/librapi2.pc %{_libdir}/librapi.so %{_libdir}/librapi.la %files -n python-%{shortname} %defattr(-,root,root) %{py_sitedir}/pyrapi2.so # %{py_sitedir}/pyrapi2.la %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