source: projects/specs/trunk/g/gobject-introspection/gobject-introspection-vl.spec @ 1897

Revision 1897, 5.0 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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