| 1 | Summary: Javascript binding for Cinnamon |
|---|
| 2 | Name: cjs |
|---|
| 3 | Version: 2.2.0 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | Source0: %{name}-%{version}.tar.gz |
|---|
| 6 | |
|---|
| 7 | License: MPL1.1/LGPLv2+/GPLv2+ |
|---|
| 8 | Group: User Interface/Desktops |
|---|
| 9 | URL: http://live.gnome.org/GnomeShell |
|---|
| 10 | |
|---|
| 11 | BuildRequires: pkgconfig |
|---|
| 12 | BuildRequires: glib2-devel |
|---|
| 13 | BuildRequires: dbus-glib-devel |
|---|
| 14 | BuildRequires: gobject-introspection-devel >= 1.29.16 |
|---|
| 15 | BuildRequires: cairo-devel |
|---|
| 16 | BuildRequires: js-devel |
|---|
| 17 | BuildRequires: yelp-tools |
|---|
| 18 | BuildRequires: desktop-file-utils |
|---|
| 19 | BuildRequires: autoconf >= 2.69 |
|---|
| 20 | BuildRequires: automake112 |
|---|
| 21 | BuildRequires: gnome-common |
|---|
| 22 | |
|---|
| 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 24 | |
|---|
| 25 | Vendor: Project Vine |
|---|
| 26 | Distribution: Vine Linux |
|---|
| 27 | Packager: Takemikaduchi |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | %description |
|---|
| 31 | This module contains JavaScript bindings based on gobject-introspection. |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | %package devel |
|---|
| 35 | Summary: Development files of the %{name} library. |
|---|
| 36 | Group: Development/Libraries |
|---|
| 37 | Requires: %{name} = %{version}-%{release} |
|---|
| 38 | Requires: pkgconfig |
|---|
| 39 | |
|---|
| 40 | %description devel |
|---|
| 41 | Development files of the %{name} library. |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | %prep |
|---|
| 45 | %setup -q |
|---|
| 46 | |
|---|
| 47 | %build |
|---|
| 48 | rm -f configure |
|---|
| 49 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi; |
|---|
| 50 | %configure --disable-static) |
|---|
| 51 | %{__make} V=1 %{?_smp_mflags} |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | %install |
|---|
| 55 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 56 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 57 | |
|---|
| 58 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | %clean |
|---|
| 62 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | %post -p /sbin/ldconfig |
|---|
| 66 | |
|---|
| 67 | %postun -p /sbin/ldconfig |
|---|
| 68 | |
|---|
| 69 | %files |
|---|
| 70 | %defattr(-,root,root) |
|---|
| 71 | %doc COPYING ChangeLog NEWS README |
|---|
| 72 | %{_bindir}/cjs* |
|---|
| 73 | %{_libdir}/libcjs-dbus.so.* |
|---|
| 74 | %{_libdir}/libcjs.so.* |
|---|
| 75 | %{_libdir}/%{name}-1.0 |
|---|
| 76 | %{_libdir}/%{name}/girepository-1.0/CjsPrivate-1.0.typelib |
|---|
| 77 | %{_datadir}/%{name}-1.0 |
|---|
| 78 | |
|---|
| 79 | %files devel |
|---|
| 80 | %defattr(-,root,root,-) |
|---|
| 81 | %{_includedir}/%{name}-1.0 |
|---|
| 82 | %{_libdir}/libcjs-dbus.so |
|---|
| 83 | %{_libdir}/libcjs.so |
|---|
| 84 | %{_libdir}/pkgconfig/cjs-1.0.pc |
|---|
| 85 | %{_libdir}/pkgconfig/cjs-dbus-1.0.pc |
|---|
| 86 | %{_libdir}/pkgconfig/cjs-internals-1.0.pc |
|---|
| 87 | |
|---|
| 88 | |
|---|
| 89 | %changelog |
|---|
| 90 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1 |
|---|
| 91 | - initial build |
|---|
| 92 | |
|---|