Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:rhabacker:branches:windows:mingw:win32
mingw32-mozilla-nspr
mingw32-mozilla-nspr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-mozilla-nspr.spec of Package mingw32-mozilla-nspr
# # spec file for package mingw32-mozilla-nspr # # Copyright (c) 2015 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/ # Name: mingw32-mozilla-nspr Version: 4.35 Release: 0 Summary: MinGW Windows port of the Netscape Portable Runtime (NSPR) License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ Group: Development/Libraries Url: http://www.mozilla.org/projects/nspr/ Source0: nspr-%{version}.tar.gz Patch0: nspr-4.35-import-lib-fix.patch Patch1: nspr-4.35-fix-pkgconfig-includedir.patch #!BuildIgnore: post-build-checks BuildRequires: autoconf BuildRequires: automake BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem >= 33 %_mingw32_package_header_debug BuildArch: noarch %description NSPR provides platform independence for non-GUI operating system facilities. These facilities include threads, thread synchronization, normal file and network I/O, interval timing and calendar time, basic memory management (malloc and free) and shared library linking (runtime libraries). %package devel Summary: MinGW Windows port of the Netscape Portable Runtime (NSPR) (development files) Group: Development/Libraries %description devel NSPR provides platform independence for non-GUI operating system facilities. These facilities include threads, thread synchronization, normal file and network I/O, interval timing and calendar time, basic memory management (malloc and free) and shared library linking (import libraries and include files). %_mingw32_debug_package %prep %autosetup -p1 -n nspr-%{version} %build pushd nspr autoreconf -fi %{_mingw32_configure} \ --includedir=%{_mingw32_includedir} \ --enable-optimize="%{_mingw32_cflags}" \ --enable-win32-target=WINNT \ --enable-shared --disable-static \ --enable-debug --disable-strip \ --enable-64bit=no # NSPR comes with its own "special" install program called nsinstall. # This must be built as a native program. make -C config CC=gcc CFLAGS="-DXP_UNIX=1" %{?_smp_mflags} # Now build the rest using the "special" nsinstall. make \ NSINSTALL=$(pwd)/config/nsinstall \ RANLIB=%{_mingw32_ranlib} \ RC=%{_mingw32_windres} \ %{?_smp_mflags} %install pushd nspr # 'make install' doesn't appear to work, so do it by hand. mkdir -p %{buildroot}%{_mingw32_bindir} mkdir -p %{buildroot}%{_mingw32_libdir}/pkgconfig mkdir -p %{buildroot}%{_mingw32_includedir}/nspr4 install dist/bin/*.dll %{buildroot}%{_mingw32_bindir} install config/nspr-config %{buildroot}%{_mingw32_bindir} install config/nspr.pc %{buildroot}/%{_mingw32_libdir}/pkgconfig install dist/lib/*.dll.a %{buildroot}%{_mingw32_libdir} cp -rL dist/include/nspr/* %{buildroot}%{_mingw32_includedir}/nspr4/ # #31667 chmod -x %{buildroot}%{_mingw32_includedir}/nspr4/prvrsion.h popd %files %defattr(-,root,root) %{_mingw32_bindir}/libnspr4.dll %{_mingw32_bindir}/libplc4.dll %{_mingw32_bindir}/libplds4.dll %files devel %defattr(-,root,root) %{_mingw32_bindir}/nspr-config %{_mingw32_libdir}/libnspr4.dll.a %{_mingw32_libdir}/libplc4.dll.a %{_mingw32_libdir}/libplds4.dll.a %{_mingw32_libdir}/pkgconfig/nspr.pc %{_mingw32_includedir}/nspr4 %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