|
@@ -1,15 +1,17 @@
|
|
|
+%global api_ver 0.10
|
|
|
+
|
|
|
Summary: A modern programming language for GNOME
|
|
|
Summary: GNOME 用のモダンなプログラミング言語
|
|
|
|
|
|
Name: vala
|
|
|
-Version: 0.9.4
|
|
|
+Version: 0.9.5
|
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: Development/Languages
|
|
|
# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD
|
|
|
License: LGPLv2+ and BSD
|
|
|
URL: http://live.gnome.org/Vala
|
|
|
-Source0: http://download.gnome.org/sources/vala/0.7/vala-%{version}.tar.bz2
|
|
|
+Source0: http://download.gnome.org/sources/vala/0.9/vala-%{version}.tar.bz2
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
BuildRequires: gtk2-devel flex bison devhelp xulrunner-devel >= 1.9
|
|
@@ -88,7 +90,6 @@ This package contains documentation in a devhelp HTML book.
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
|
-
|
|
|
%build
|
|
|
%configure --enable-vapigen
|
|
|
# Don't use rpath!
|
|
@@ -96,16 +97,14 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
-
|
|
|
# checks currently utilize installed Vala, not the one being compiled
|
|
|
#%check
|
|
|
#make check
|
|
|
|
|
|
-
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
-rm $RPM_BUILD_ROOT%{_libdir}/libvala.la
|
|
|
+rm $RPM_BUILD_ROOT%{_libdir}/libvala-%{api_ver}.la
|
|
|
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -119,29 +118,39 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%doc AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README THANKS
|
|
|
%{_bindir}/vala
|
|
|
%{_bindir}/valac
|
|
|
-%{_datadir}/vala
|
|
|
-%{_libdir}/libvala.so.*
|
|
|
+%{_bindir}/vala-%{api_ver}
|
|
|
+%{_bindir}/valac-%{api_ver}
|
|
|
+%{_datadir}/vala-%{api_ver}
|
|
|
+%{_libdir}/libvala-%{api_ver}.so.*
|
|
|
%{_mandir}/*/valac*
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
|
-%{_includedir}/vala-1.0
|
|
|
-%{_libdir}/libvala.so
|
|
|
-%{_libdir}/pkgconfig/vala-1.0.pc
|
|
|
+%{_includedir}/vala-%{api_ver}
|
|
|
+%{_libdir}/libvala-%{api_ver}.so
|
|
|
+%{_libdir}/pkgconfig/vala-%{api_ver}.pc
|
|
|
+%{_datadir}/aclocal/vala.m4
|
|
|
|
|
|
%files tools
|
|
|
%defattr(-,root,root,-)
|
|
|
-%{_bindir}/*gen*
|
|
|
+%{_bindir}/vala-gen-introspect
|
|
|
%{_bindir}/vapicheck
|
|
|
-%{_libdir}/vala
|
|
|
+%{_bindir}/vapigen
|
|
|
+%{_bindir}/vala-gen-introspect-%{api_ver}
|
|
|
+%{_bindir}/vapicheck-%{api_ver}
|
|
|
+%{_bindir}/vapigen-%{api_ver}
|
|
|
+%{_libdir}/vala-%{api_ver}
|
|
|
%{_mandir}/*/*gen*
|
|
|
|
|
|
%files doc
|
|
|
%defattr(-,root,root,-)
|
|
|
-%{_datadir}/devhelp/books/vala
|
|
|
+%{_datadir}/devhelp/books/vala-%{api_ver}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Aug 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.5-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Fri Aug 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.4-1
|
|
|
- new upstream release
|
|
|
|