cjs/cjs.spec

148 lines
4.2 KiB
RPMSpec

Name: cjs
Version: 2.2.2
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/cairoNative.la
%{_libdir}/cjs-1.0/cairoNative.so
%{_libdir}/cjs-1.0/console.la
%{_libdir}/cjs-1.0/console.so
%{_libdir}/cjs-1.0/dbusNative.la
%{_libdir}/cjs-1.0/dbusNative.so
%{_libdir}/cjs-1.0/debugger.la
%{_libdir}/cjs-1.0/debugger.so
%{_libdir}/cjs-1.0/formatNative.la
%{_libdir}/cjs-1.0/formatNative.so
%{_libdir}/cjs-1.0/gettextNative.la
%{_libdir}/cjs-1.0/gettextNative.so
%{_libdir}/cjs-1.0/langNative.la
%{_libdir}/cjs-1.0/langNative.so
%{_libdir}/cjs-1.0/mainloop.la
%{_libdir}/cjs-1.0/mainloop.so
%{_libdir}/cjs-1.0/system.la
%{_libdir}/cjs-1.0/system.so
%{_libdir}/cjs/girepository-1.0/CjsPrivate-1.0.typelib
%dir %{_datadir}/cjs-1.0
%{_datadir}/cjs-1.0/cairo.js
%{_datadir}/cjs-1.0/dbus.js
%{_datadir}/cjs-1.0/format.js
%{_datadir}/cjs-1.0/gettext.js
%{_datadir}/cjs-1.0/jsUnit.js
%{_datadir}/cjs-1.0/lang.js
%{_datadir}/cjs-1.0/overrides/GLib.js
%{_datadir}/cjs-1.0/overrides/GObject.js
%{_datadir}/cjs-1.0/overrides/Gio.js
%{_datadir}/cjs-1.0/promise.js
%{_datadir}/cjs-1.0/signals.js
%{_datadir}/cjs-1.0/tweener/equations.js
%{_datadir}/cjs-1.0/tweener/tweenList.js
%{_datadir}/cjs-1.0/tweener/tweener.js
%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
%{_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
* 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