source: projects/specs/trunk/c/cjs/cjs-vl.spec @ 9223

Revision 9223, 2.5 KB checked in by Takemikaduchi, 9 years ago (diff)

Cinnamon 2.4.5

Line 
1Summary:     Javascript binding for Cinnamon
2Summary(ja): Cinnamon 向け JavaScript バインディング
3Name:        cjs
4Version:     2.4.1
5Release:     1%{?_dist_release}
6Source0:     %{name}-%{version}.tar.gz
7
8License:     MPL1.1/LGPLv2+/GPLv2+
9Group:       System Environment/Libraries
10URL:         http://live.gnome.org/GnomeShell
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  pkgconfig >= 0.14.0
14BuildRequires:  glib2-devel
15BuildRequires:  dbus-glib-devel
16BuildRequires:  gobject-introspection-devel >= 1.29.16
17BuildRequires:  cairo-devel
18BuildRequires:  mozjs24-devel
19BuildRequires:  yelp-tools
20BuildRequires:  desktop-file-utils
21BuildRequires:  autoconf >= 2.69
22BuildRequires:  automake
23BuildRequires:  gnome-common
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi
28
29
30%description
31This module contains JavaScript bindings based on gobject-introspection.
32
33
34%package        devel
35Summary:        Development files of the %{name} library.
36Summary(ja):    %{name} ライブラリの開発用ファイル
37Group:          Development/Libraries
38Requires:       %{name} = %{version}-%{release}
39Requires:       pkgconfig
40
41%description    devel
42Development files of the %{name} library.
43
44
45%prep
46%setup -q
47
48%build
49rm -f configure
50(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
51 %configure --disable-static)
52%{__make} V=1 %{?_smp_mflags}
53
54
55%install
56%{__rm} -rf ${RPM_BUILD_ROOT}
57%{__make} install DESTDIR=${RPM_BUILD_ROOT}
58
59find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
60
61
62%clean
63%{__rm} -rf ${RPM_BUILD_ROOT}
64
65
66%post -p /sbin/ldconfig
67
68%postun -p /sbin/ldconfig
69
70%files
71%defattr(-,root,root)
72%doc COPYING ChangeLog NEWS README
73%{_bindir}/cjs*
74%{_libdir}/libcjs.so.*
75%{_libdir}/%{name}
76%{_libdir}/%{name}/girepository-1.0/CjsPrivate-1.0.typelib
77
78%files devel
79%defattr(-,root,root,-)
80%{_includedir}/%{name}-1.0
81%{_libdir}/libcjs.so
82%{_libdir}/pkgconfig/cjs-1.0.pc
83%{_libdir}/pkgconfig/cjs-internals-1.0.pc
84
85
86%changelog
87* Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
88- new upstream release
89- change BuildRequires: mozjs24-devel instead of js-devel
90
91* Thu Jan  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.2-2
92- moved to System Environment/Libraries Group
93- added Japanese summary
94- changed BR: automake instead of automake112
95
96* Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-1
97- new upstream release
98
99* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-2
100- rebuild with libffi-3.0.13
101
102* Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-1
103- new upstream release
104
105* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
106- initial build
107
Note: See TracBrowser for help on using the repository browser.