source: projects/specs/branches/6/g/gobject-introspection/gobject-introspection-vl.spec @ 2762

Revision 2762, 5.4 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
3
4Name:           gobject-introspection
5Version:        0.10.3
6Release:        1%{?_dist_release}
7Summary:        Introspection system for GObject-based libraries
8
9Group:          Development/Libraries
10License:        GPLv2+, LGPLv2+, MIT
11URL:            http://live.gnome.org/GObjectIntrospection
12Source0:        ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.9/%{name}-%{version}.tar.bz2
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14
15Obsoletes:     gir-repository < 0.6.6
16
17BuildRequires:  glib2-devel
18BuildRequires:  python-devel >= 2.5
19BuildRequires:  gettext
20BuildRequires:  intltool
21BuildRequires:  gtk-doc
22BuildRequires:  flex
23BuildRequires:  bison
24BuildRequires:  libffi-devel
25BuildRequires:  mesa-libGL-devel
26BuildRequires:  cairo-devel >= 1.10.0
27BuildRequires:  libxml2-devel
28BuildRequires:  libXfixes-devel
29BuildRequires:  libX11-devel
30BuildRequires:  fontconfig-devel
31BuildRequires:  libXft-devel
32BuildRequires:  freetype2-devel
33BuildRequires:  gnome-common
34
35%description
36GObject Introspection can scan C header and source files in order to
37generate introspection "typelib" files.  It also provides an API to examine
38typelib files, useful for creating language bindings among other
39things.
40
41%package devel
42Summary: Libraries and headers for gobject-introspection
43Summary(ja): %{name} の開発用ファイル
44Group: Development/Libraries
45Requires: %name = %{version}-%{release}
46Requires: glib2-devel
47Requires: libffi-devel
48Requires: pkgconfig
49Obsoletes: gir-repository-devel < 0.6.6
50
51%description devel
52Libraries and headers for gobject-introspection
53
54%prep
55%setup -q
56
57%build
58(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
59 %configure $CONFIGFLAGS)
60make V=1 %{?_smp_mflags}
61
62%install
63rm -rf $RPM_BUILD_ROOT
64make install DESTDIR=$RPM_BUILD_ROOT
65
66# Die libtool, die.
67find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
68find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post -p /sbin/ldconfig
74
75%postun -p /sbin/ldconfig
76
77%files
78%defattr(-,root,root,-)
79%doc COPYING
80
81%{_libdir}/lib*.so.*
82%dir %{_libdir}/girepository-1.0
83%{_libdir}/girepository-1.0/*.typelib
84
85%files devel
86%defattr(-,root,root)
87%{_libdir}/lib*.so
88%dir %{_libdir}/gobject-introspection
89%{_libdir}/gobject-introspection/*
90%{_libdir}/pkgconfig/*
91%{_includedir}/*
92%{_bindir}/g-ir-*
93%{_datadir}/gir-1.0
94%{_datadir}/aclocal/introspection.m4
95%{_datadir}/gobject-introspection-1.0/Makefile.introspection
96%{_datadir}/gobject-introspection-1.0/tests
97%{_datadir}/gobject-introspection-1.0/gdump.c
98%{_datadir}/gtk-doc/html/gi/*
99%{_mandir}/man1/*.gz
100
101%changelog
102* Thu Feb 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.3-1
103- new upstream release
104
105* Wed Feb 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.2-1
106- new upstream release
107
108* Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1
109- new upstream release
110
111* Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.12-1
112- new upstream release
113
114* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8-1
115- new upstream release
116- add Obsoletes: gir-repository < 0.6.6
117- fix %files
118
119* Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-3
120- delete Patch0
121
122* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 0.6.14-2
123- build with rpm-4.8.1-1 for pkg-config file
124
125* Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-1
126- new upstream release
127
128* Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.10-1
129- new upstream release
130
131* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.9-1
132- new upstream release
133- add Requires: libffi-devel (devel package)
134
135* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.8-1
136- new upstream release
137
138* Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.7-1
139- new upstream release
140- add Patch0 for ppc
141
142* Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.5-2
143- rebuilt with python-2.6.4
144
145* Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.5-1
146- initial build for Vine Linux
147
148* Fri Sep 11 2009 Colin Walters <walters@verbum.org> - 0.6.5-1
149- New upstream
150- Drop libtool dep
151
152* Fri Aug 28 2009 Colin Walters <walters@verbum.org> - 0.6.4-2
153- Add dep on libtool temporarily
154
155* Mon Aug 26 2009 Colin Walters <walters@verbum.org> - 0.6.4-1
156- New upstream 0.6.4
157- Drop upstreamed build fix patch
158
159* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5
160- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
161
162* Mon Jul  6 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-4
163- Add upstream patch to fix a build crash
164
165* Thu Jul  2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-3
166- Add -ggdb temporarily so it compiles on ppc64
167
168* Thu Jul  2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-2
169- Add the new source file
170
171* Thu Jul  2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-1
172- Update to 0.6.3
173
174* Mon Jun  1 2009 Dan Williams <dcbw@redhat.com> - 0.6.2-1
175- Update to 0.6.2
176
177* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
178- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
179
180* Thu Dec 11 2008 Colin Walters <walters@verbum.org> - 0.6.1-1
181- Update to 0.6.1
182
183* Fri Oct 31 2008 Colin Walters <walters@verbum.org> - 0.6.0-1
184- Create spec goo
Note: See TracBrowser for help on using the repository browser.