cjs/cjs.spec

165 lines
5.1 KiB
RPMSpec
Raw Normal View History

Name: cjs
Version: 5.2.0
Release: 1mamba
Summary: JavaScript bindings based on gobject-introspection
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/linuxmint/cjs
Source: https://github.com/linuxmint/cjs.git/%{version}/cjs-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libX11-devel
BuildRequires: libcairo-devel
BuildRequires: libffi-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libmozjs78-devel
BuildRequires: libreadline-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libmozjs78-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
This module contains JavaScript bindings based on gobject-introspection.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/cjs
%{_bindir}/cjs-console
%dir %{_datadir}/cjs-1.0
%{_datadir}/cjs-1.0/*
%dir %{_datadir}/installed-tests/cjs/
%{_datadir}/installed-tests/cjs/*
%{_datadir}/glib-2.0/schemas/org.cinnamon.CjsTest.gschema.xml
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libcjs.so.*
%{_libdir}/cjs/girepository-1.0/CjsPrivate-1.0.typelib
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/cjs-1.0
%dir %{_includedir}/cjs-1.0/cjs
%{_includedir}/cjs-1.0/cjs/*.h
#%dir %{_includedir}/cjs-1.0/util
#%{_includedir}/cjs-1.0/util/*.h
#%{_libdir}/libcjs.la
%{_libdir}/libcjs.so
%dir %{_libexecdir}/installed-tests/cjs
%{_libexecdir}/installed-tests/cjs/*
%{_libdir}/pkgconfig/cjs-1.0.pc
%doc NEWS README
%changelog
* Sun Nov 21 2021 Automatic Build System <autodist@mambasoft.it> 5.2.0-1mamba
- automatic version update by autodist
* Sun Oct 17 2021 Automatic Build System <autodist@mambasoft.it> 5.0.1-1mamba
- automatic version update by autodist
* Fri May 28 2021 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist
* Fri Mar 19 2021 Automatic Build System <autodist@mambasoft.it> 4.8.2-1mamba
- automatic version update by autodist
* Tue Mar 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.0-2mamba
- rebuilt with libmozjs 68.4.2
* Thu Feb 13 2020 Automatic Build System <autodist@mambasoft.it> 4.4.0-1mamba
- automatic version update by autodist
* Sat Jun 15 2019 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
- automatic version update by autodist
* Wed Dec 12 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-2mamba
- rebuilt with libmozjs 52.6.0
* Thu Nov 01 2018 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
- automatic version update by autodist
* Mon Aug 13 2018 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Tue Nov 08 2016 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- automatic version update by autodist
* Wed Aug 03 2016 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Tue Apr 26 2016 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Tue Nov 24 2015 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
- automatic version update by autodist
* Sun Jun 28 2015 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
- automatic version update by autodist
* Tue Jun 02 2015 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic version update by autodist
* Mon Nov 24 2014 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Sun Nov 02 2014 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic version update by autodist
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
* Thu Jun 05 2014 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Tue Apr 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Wed Oct 09 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- package created by silvan using the webbuild interface