cjs/cjs.spec

142 lines
4.1 KiB
RPMSpec

Name: cjs
Version: 3.0.1
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
## GITSOURCE https://github.com/linuxmint/cjs.git 2.0.0
Source: https://github.com/linuxmint/cjs.git/%{version}/cjs-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libffi-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libmozjs185-devel
BuildRequires: libnspr-devel
BuildRequires: libreadline-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
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}
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
./autogen.sh
%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}/cjs
%{_bindir}/cjs-console
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
#%{_libdir}/libcjs-dbus.so.*
%{_libdir}/libcjs.so.*
#%dir %{_libdir}/cjs-1.0
#%{_libdir}/cjs-1.0/system.so
%{_libdir}/cjs/girepository-1.0/CjsPrivate-1.0.typelib
#%dir %{_datadir}/cjs-1.0
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/cjs-1.0
#%dir %{_includedir}/cjs-1.0/cjs-dbus
#%{_includedir}/cjs-1.0/cjs-dbus/dbus-proxy.h
#%{_includedir}/cjs-1.0/cjs-dbus/dbus.h
%dir %{_includedir}/cjs-1.0/cjs
%{_includedir}/cjs-1.0/cjs/*.h
%dir %{_includedir}/cjs-1.0/gi
%{_includedir}/cjs-1.0/gi/*.h
#%{_libdir}/libcjs-dbus.la
#%{_libdir}/libcjs-dbus.so
%{_libdir}/libcjs.la
%{_libdir}/libcjs.so
%{_libdir}/pkgconfig/cjs-1.0.pc
#%{_libdir}/pkgconfig/cjs-dbus-1.0.pc
%{_libdir}/pkgconfig/cjs-internals-1.0.pc
%doc NEWS README
%changelog
* 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