1 # 2 # spec file for package SUNWgir-repository 3 # 4 # includes module(s): gir-repository 5 # 6 # Copyright 2009 Sun Microsystems, Inc. 7 # This file and all modifications and additions to the pristine 8 # package are under the same license as the package itself. 9 # 10 %define owner yippi 11 # 12 %include Solaris.inc 13 14 %define pythonver 2.6 15 %use gir = gir-repository.spec 16 17 Name: SUNWgir-repository 18 Summary: GIR Repository 19 Version: %{gir.version} 20 SUNW_BaseDir: %{_basedir} 21 SUNW_Copyright: %{name}.copyright 22 SUNW_BaseDir: %{_basedir} 23 BuildRoot: %{_tmppath}/%{name}-%{version}-build 24 25 BuildRequires: SUNWPython26-devel 26 BuildRequires: SUNWavahi-bridge-dsd-devel 27 BuildRequires: SUNWbabl-devel 28 BuildRequires: SUNWdbus-devel 29 BuildRequires: SUNWgegl-devel 30 BuildRequires: SUNWgtk2-devel 31 BuildRequires: SUNWlibatk-devel 32 BuildRequires: SUNWlibsoup-devel 33 BuildRequires: SUNWlibunique-devel 34 BuildRequires: SUNWgnome-config-devel 35 BuildRequires: SUNWgnome-file-mgr-devel 36 BuildRequires: SUNWgnome-gtksourceview-devel 37 BuildRequires: SUNWgnome-libs-devel 38 BuildRequires: SUNWgnome-media-devel 39 BuildRequires: SUNWgnome-panel-devel 40 BuildRequires: SUNWgnome-pdf-viewer-devel 41 BuildRequires: SUNWgnome-terminal-devel 42 BuildRequires: SUNWpango-devel 43 BuildRequires: SUNWgobject-introspection-devel 44 Requires: SUNWPython26 45 BuildRequires: SUNWavahi-bridge-dsd 46 Requires: SUNWbabl 47 Requires: SUNWdbus 48 Requires: SUNWgegl 49 Requires: SUNWgtk2 50 Requires: SUNWlibatk 51 Requires: SUNWlibsoup 52 Requires: SUNWlibunique 53 Requires: SUNWgnome-config 54 Requires: SUNWgnome-file-mgr 55 Requires: SUNWgnome-gtksourceview 56 Requires: SUNWgnome-libs 57 Requires: SUNWgnome-media 58 Requires: SUNWgnome-panel 59 Requires: SUNWgnome-pdf-viewer 60 Requires: SUNWgnome-terminal 61 Requires: SUNWpango 62 Requires: SUNWgobject-introspection 63 %include default-depend.inc 64 65 %prep 66 rm -rf %name-%version 67 mkdir %name-%version 68 %gir.prep -d %name-%version 69 70 %build 71 export CFLAGS="%optflags" 72 export RPM_OPT_FLAGS="$CFLAGS" 73 export LDFLAGS="%_ldflags" 74 # The VTE bindings uses libncurses. The VTE bindings do not build 75 # if it can't find libncurses. 76 export LD_LIBRARY_PATH="/usr/gnu/lib" 77 78 %gir.build -d %name-%version 79 80 %install 81 rm -rf $RPM_BUILD_ROOT 82 %gir.install -d %name-%version 83 84 %clean 85 rm -rf $RPM_BUILD_ROOT 86 87 %files 88 %defattr (-, root, bin) 89 %dir %attr (0755, root, bin) %{_libdir} 90 %{_libdir}/*.so* 91 %{_libdir}/girepository-1.0/* 92 %dir %attr (0755, root, sys) %{_datadir} 93 %{_datadir}/gir-1.0 94 %doc -d gir-repository-%{version} AUTHORS README NEWS 95 %doc(bzip2) -d gir-repository-%{version} COPYING 96 %dir %attr (0755, root, other) %{_datadir}/doc 97 98 %changelog 99 * Mon Aug 24 2009 - halton.huo@sun.com 100 - Move from SFE, spilit base part to base-specs/gir-repository 101 * Mon Aug 03 2009 - Brian Cameron <brian.cameron@sun.com> 102 - Now build with 0.6.3 tarball. 103 * Sat Apr 04 2009 - Brian.Cameron <brian.cameron@sun.com> 104 - Created. 105