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

Revision 10460, 2.9 KB checked in by Takemikaduchi, 8 years ago (diff)

firefox: new upstrream release
others: rebuild with gcc-5.4.0

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