Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Evergreen:11.4
libplist
libplist.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libplist.spec of Package libplist
# # spec file for package libplist (Version 1.3) # # Copyright (c) 2010 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/ # Name: libplist Version: 1.3 Release: 4 License: LGPL v2.1 or GPL v2 Summary: Library for handling Apple Binary and XML Property Lists Url: http://github.com/JonathanBeck/libplist Group: System/Libraries Source: %{name}-%{version}.tar.bz2 BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: libxml2-devel BuildRequires: python-devel BuildRequires: swig BuildRoot: %{_tmppath}/%{name}-%{version}-build #remove when pkgconfig is fixed to handle Requires.private correctly Patch0: libplist-1.3-pkgconfig.patch %description libplist is a library for handling Apple Binary and XML Property Lists. %package -n libplist1 License: LGPL v2.1 or GPL v2 Summary: Library for handling Apple Binary and XML Property Lists Group: System/Libraries Provides: libplist = %{version} Obsoletes: libplist < %{version} %description -n libplist1 libplist is a library for handling Apple Binary and XML Property Lists. %package -n libplist++1 License: LGPL v2.1 or GPL v2 Summary: Library for handling Apple Binary and XML Property Lists Group: System/Libraries Provides: libplist++ = %{version} Obsoletes: libplist++ < %{version} %description -n libplist++1 libplist is a library for handling Apple Binary and XML Property Lists. %package -n plutil License: LGPL v2.1 or GPL v2 Summary: Library for handling Apple Binary and XML Property Lists Group: System/Libraries Requires: libplist1 = %{version} %description -n plutil libplist is a library for handling Apple Binary and XML Property Lists. This package contains an utility to convert PList files from binary to XML and from XML to binary. %package devel License: LGPL v2.1 or GPL v2 Summary: Library for handling Apple Binary and XML Property Lists -- Development Files Group: Development/Libraries/C and C++ Requires: libplist1 = %{version} Requires: glibc-devel %description devel libplist is a library for handling Apple Binary and XML Property Lists. This package contains the development files for C. %package -n libplist++-devel License: LGPL v2.1 or GPL v2 Summary: Library for handling Apple Binary and XML Property Lists -- Development Files Group: Development/Libraries/C and C++ Requires: libplist++1 = %{version} Requires: libstdc++-devel Requires: libplist-devel %description -n libplist++-devel libplist is a library for handling Apple Binary and XML Property Lists. This package contains the development files for C++. %package -n python-plist License: LGPL v2.1 or GPL v2 Summary: Library for handling Apple Binary and XML Property Lists -- Python Bindings Group: Development/Languages/Python Requires: libplist1 = %{version} %{py_requires} %description -n python-plist libplist is a library for handling Apple Binary and XML Property Lists. This package contains the python bindings. %prep %setup -q %patch0 %build export CFLAGS="%{optflags} -fno-strict-aliasing" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DPYTHON_VERSION=%{py_ver} \ -DPYTHON_SITEDIR=%{py_sitedir} \ . make %{?jobs:-j%jobs} %install %makeinstall rm %{buildroot}%{_bindir}/plutil mv %{buildroot}%{_bindir}/plutil-%{version} %{buildroot}%{_bindir}/plutil %clean rm -rf %{buildroot} %post -n libplist1 -p /sbin/ldconfig %postun -n libplist1 -p /sbin/ldconfig %post -n libplist++1 -p /sbin/ldconfig %postun -n libplist++1 -p /sbin/ldconfig %files -n libplist1 %defattr(-,root,root) %doc AUTHORS COPYING.LESSER README %{_libdir}/libplist.so.* %files -n libplist++1 %defattr(-,root,root) %doc AUTHORS COPYING.LESSER README %{_libdir}/libplist++.so.* %files -n plutil %defattr(-,root,root) %{_bindir}/plutil %files devel %defattr(-,root,root,-) %dir %{_includedir}/plist %{_includedir}/plist/plist.h %{_libdir}/libplist.so %{_libdir}/pkgconfig/libplist.pc %files -n libplist++-devel %defattr(-,root,root,-) %dir %{_includedir}/plist %{_includedir}/plist/plist++.h %{_includedir}/plist/Array.h %{_includedir}/plist/Boolean.h %{_includedir}/plist/Data.h %{_includedir}/plist/Date.h %{_includedir}/plist/Dictionary.h %{_includedir}/plist/Integer.h %{_includedir}/plist/Node.h %{_includedir}/plist/Real.h %{_includedir}/plist/String.h %{_includedir}/plist/Structure.h %{_libdir}/libplist++.so %{_libdir}/pkgconfig/libplist++.pc %files -n python-plist %defattr(-,root,root,-) %{py_sitedir}/plist/ %dir %{_includedir}/plist %{_includedir}/plist/swig/ %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