gjs/gjs.spec

191 lines
5.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: gjs
Version: 1.58.4
Release: 1mamba
Summary: GNOME JavaScript bindings based on gobject-introspection
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://live.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/gjs/%{majver}/gjs-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libmount-devel
BuildRequires: libmozjs-devel
BuildRequires: libncurses-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libreadline-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libstdc++6-devel
BuildRequires: libthai-devel
BuildRequires: libuuid-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libmozjs-devel >= 60
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}
## note: you can add this requirement if .pc files are provided by this package
#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
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/gjs
%{_bindir}/gjs-console
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libgjs.so.*
%{_libdir}/gjs/girepository-1.0/GjsPrivate-1.0.typelib
%{_datadir}/gjs-1.0/lsan/lsan.supp
%{_datadir}/gjs-1.0/valgrind/gjs.supp
%{_datadir}/glib-2.0/schemas/org.gnome.GjsTest.gschema.xml
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/gjs-1.0
#%dir %{_includedir}/gjs-1.0/util
#%{_includedir}/gjs-1.0/util/error.h
%dir %{_includedir}/gjs-1.0/gjs
%{_includedir}/gjs-1.0/gjs/*.h
%{_libdir}/libgjs.la
%{_libdir}/libgjs.so
%{_libdir}/pkgconfig/gjs-1.0.pc
#%doc NEWS README
%changelog
* Wed Jan 08 2020 Automatic Build System <autodist@mambasoft.it> 1.58.4-1mamba
- automatic version update by autodist
* Tue Nov 26 2019 Automatic Build System <autodist@mambasoft.it> 1.58.3-1mamba
- automatic version update by autodist
* Sun Nov 24 2019 Automatic Build System <autodist@mambasoft.it> 1.58.2-1mamba
- automatic version update by autodist
* Mon Oct 07 2019 Automatic Build System <autodist@mambasoft.it> 1.58.1-1mamba
- automatic version update by autodist
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 1.58.0-1mamba
- automatic version update by autodist
* Wed Jul 10 2019 Automatic Build System <autodist@mambasoft.it> 1.56.2-1mamba
- automatic version update by autodist
* Sat Jul 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.54.3-1mamba
- update to 1.54.3
* Wed Dec 12 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.53.4-1mamba
- update to 1.53.4
* Mon Aug 13 2018 Automatic Build System <autodist@mambasoft.it> 1.52.3-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 1.46.0-1mamba
- automatic version update by autodist
* Wed Aug 17 2016 Automatic Build System <autodist@mambasoft.it> 1.45.4-1mamba
- automatic version update by autodist
* Sat Apr 09 2016 Automatic Build System <autodist@mambasoft.it> 1.45.3-1mamba
- automatic version update by autodist
* Wed Oct 28 2015 Automatic Build System <autodist@mambasoft.it> 1.44.0-1mamba
- automatic version update by autodist
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 1.43.3-1mamba
- automatic version update by autodist
* Fri Oct 03 2014 Automatic Build System <autodist@mambasoft.it> 1.42.0-1mamba
- automatic version update by autodist
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 1.41.3-1mamba
- automatic version update by autodist
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.40.1-1mamba
- update to 1.40.1
* Thu Oct 31 2013 Automatic Build System <autodist@mambasoft.it> 1.38.1-1mamba
- automatic version update by autodist
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 1.36.1-1mamba
- automatic version update by autodist
* Sun Mar 31 2013 Automatic Build System <autodist@mambasoft.it> 1.36.0-1mamba
- automatic version update by autodist
* Fri Sep 28 2012 Automatic Build System <autodist@mambasoft.it> 1.34.0-1mamba
- automatic version update by autodist
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.32.0-2mamba
- typelib file moved from -devel to runtime library package
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.32.0-1mamba
- package created by autospec