Hello community, here is the log from the commit of package mozjs17 for openSUSE:Factory checked in at 2013-05-27 09:54:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mozjs17 (Old) and /work/SRC/openSUSE:Factory/.mozjs17.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mozjs17" Changes: -------- New Changes file: --- /dev/null 2013-05-23 01:40:31.032032505 +0200 +++ /work/SRC/openSUSE:Factory/.mozjs17.new/mozjs17.changes 2013-05-27 09:54:07.000000000 +0200 @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Tue May 21 12:10:23 UTC 2013 - [email protected] + +- license update: MPL-2.0 and GPL-2.0+ + Numerous GPL-2.0+ files used in aggregation (particularly ctypes/libffi) + +------------------------------------------------------------------- +Fri May 17 13:35:32 UTC 2013 - [email protected] + +- initial mozjs17 package + New: ---- baselibs.conf mozjs17.0.0.tar.gz mozjs17.changes mozjs17.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozjs17.spec ++++++ # # spec file for package mozjs17 # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # 2013 Wolfgang Rosenauer # # 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: mozjs17 Summary: JavaScript interpreter Version: 17.0 Release: 1 License: MPL-2.0 and GPL-2.0+ Group: System/Libraries Url: http://www.mozilla.org/js/ Source0: http://ftp.mozilla.org/pub/mozilla.org/js/mozjs17.0.0.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf213 BuildRequires: gcc-c++ BuildRequires: mozilla-nspr-devel BuildRequires: pkg-config BuildRequires: python BuildRequires: readline-devel BuildRequires: zip %description JavaScript is the Netscape-developed object scripting language used in millions of web pages and server applications worldwide. Netscape's JavaScript is a superset of the ECMA-262 Edition 3 (ECMAScript) standard scripting language, with only mild differences from the published standard. %package -n libmozjs-17_0 Summary: JavaScript library Group: System/Libraries %description -n libmozjs-17_0 JavaScript is the Netscape-developed object scripting language used in millions of web pages and server applications worldwide. Netscape's JavaScript is a superset of the ECMA-262 Edition 3 (ECMAScript) standard scripting language, with only mild differences from the published standard. %package devel Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries/Other Requires: libmozjs-17_0 = %{version}-%{release} Requires: pkg-config Provides: mozjs17-devel = %{version}-%{release} %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. %prep %setup -q -n mozjs17.0.0 %build # no need to add build time to binaries modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" find . -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + # cd js/src %configure --disable-static --with-system-nspr --enable-threadsafe --enable-readline %{__make} %{?_smp_mflags} %install cd js/src %{makeinstall} # Upstream does not honor --disable-static yet %{__rm} -rf %{buildroot}%{_libdir}/libmozjs-17.0.a # This is also statically linked; once that is fixed that we could # consider shipping it. rm -f %{buildroot}%{_bindir}/js17 # delete js-config since everything should use the pkg-config file rm -f %{buildroot}%{_bindir}/js17-config # headers are installed with executable permissions find %{buildroot}%{_includedir}/js-17.0/ -type f -print | xargs chmod 644 chmod 644 %{buildroot}%{_libdir}/pkgconfig/* %clean %{__rm} -rf %{buildroot} %post -n libmozjs-17_0 -p /sbin/ldconfig %postun -n libmozjs-17_0 -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc js/src/README.html #%{_bindir}/js17 %files -n libmozjs-17_0 %defattr(-,root,root,-) %{_libdir}/*.so %files devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/*.pc %{_includedir}/js-17.0 %changelog ++++++ baselibs.conf ++++++ libmozjs-17_0 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
