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

Revision 9559, 2.7 KB checked in by Takemikaduchi, 9 years ago (diff)

cinnamon: new upstream release or rebuild
caja: fix typo
others: remove *.la files

Line 
1Summary:     Javascript binding for Cinnamon
2Summary(ja): Cinnamon 向け JavaScript バインディング
3Name:        cjs
4Version:     2.4.2
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:  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* Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
89- new upstream release
90- add BuildRequires: gtk3-devel
91
92* Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
93- new upstream release
94- change BuildRequires: mozjs24-devel instead of js-devel
95
96* Thu Jan  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.2-2
97- moved to System Environment/Libraries Group
98- added Japanese summary
99- changed BR: automake instead of automake112
100
101* Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-1
102- new upstream release
103
104* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-2
105- rebuild with libffi-3.0.13
106
107* Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-1
108- new upstream release
109
110* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
111- initial build
112
Note: See TracBrowser for help on using the repository browser.