source: projects/specs/trunk/g/gjs/gjs-vl.spec @ 871

Revision 871, 2.3 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file for gnome-2.30

Line 
1%define pkg_version 0.6
2%define pkg_release 1%{?_dist_release}
3
4Summary:     Javascript binding for GNOME
5Name:        gjs
6Version:     %{pkg_version}
7Release:     %{pkg_release}
8Source0:     %{name}-%{version}.tar.bz2
9License:     MPL1.1/LGPLv2+/GPLv2+
10Group:       User Interface/Desktops
11URL:         http://live.gnome.org/GnomeShell
12
13Requires(post,postun): scrollkeeper >= 0.1.4
14Requires(post,pre,preun): GConf2 >= 2.14
15BuildRequires: pkgconfig
16BuildRequires: gtk2-devel
17BuildRequires: clutter-devel
18BuildRequires: mutter-devel
19BuildRequires: gnome-desktop-devel
20BuildRequires: gnome-menus-devel
21BuildRequires: libSM-devel
22BuildRequires: libffi-devel
23BuildRequires: GConf2-devel
24BuildRequires: startup-notification-devel
25BuildRequires: gnome-doc-utils
26BuildRequires: desktop-file-utils
27BuildRequires: xulrunner-devel
28
29BuildRoot: %{_tmppath}/%{name}-%{version}-root
30
31Vendor: Project Vine
32Distribution: Vine Linux
33Packager: Takemikaduchi
34
35
36%description
37GNOME Shell is the defining technology of the GNOME 3 desktop user experience. It provides core interface functions like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a delightful and easy to use experience.
38
39
40%package devel
41Summary:     Development files of the gjs library.
42Group:       Development/Libraries
43
44Requires: %{name} = %{version}-%{release}
45Requires: pkgconfig
46Requires: gtk-doc
47
48%description devel
49Development files of the gjs library.
50
51
52%prep
53%setup -q
54
55
56%build
57%configure --disable-static
58%{__make} %{?_smp_mflags}
59
60
61%install
62%{__rm} -rf ${RPM_BUILD_ROOT}
63%{__make} install DESTDIR=${RPM_BUILD_ROOT}
64
65%{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/*.la
66
67
68%clean
69%{__rm} -rf ${RPM_BUILD_ROOT}
70
71
72%post -p /sbin/ldconfig
73
74%postun -p /sbin/ldconfig
75
76%files
77%defattr(-,root,root)
78%doc COPYING ChangeLog NEWS README
79%{_bindir}/gjs*
80%{_libdir}/lib*.so.*
81%{_libdir}/gjs-1.0/*
82%{_datadir}/gjs-1.0/*
83
84%files devel
85%defattr(-,root,root,-)
86%{_includedir}/gjs-1.0
87%{_libdir}/lib*.so
88%{_libdir}/pkgconfig/*.pc
89%{_datadir}/doc/*
90
91
92%changelog
93* Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
94- new upstream release
95- fix typo
96
97* Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1
98- initial build for Vine Linux
99
Note: See TracBrowser for help on using the repository browser.