diff --git a/grilo.spec b/grilo.spec index d72b671..ed12537 100644 --- a/grilo.spec +++ b/grilo.spec @@ -1,13 +1,17 @@ +# first two digits of version +%define release_version %(echo %{version} | awk -F. '{print $1"."$2}') + Name: grilo -Version: 0.1.19 -Release: 2%{?dist} +Version: 0.2.0 +Release: 1%{?dist} Summary: Content discovery framework Group: Applications/Multimedia License: LGPLv2+ -Source0: http://ftp.gnome.org/pub/GNOME/sources/grilo/0.1/grilo-%{version}.tar.xz +Source0: http://ftp.gnome.org/pub/GNOME/sources/grilo/%{release_version}/grilo-%{version}.tar.xz Url: http://live.gnome.org/Grilo +BuildRequires: chrpath BuildRequires: gnome-common BuildRequires: vala-devel >= 0.7.2 BuildRequires: vala-tools >= 0.7.2 @@ -66,10 +70,15 @@ sed -i.vala 's/libvala-0.14/libvala-0.16/g' configure* make %{?_smp_mflags} - %install make install DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{_libdir}/grilo-0.1/ $RPM_BUILD_ROOT%{_datadir}/grilo-0.1/plugins/ +mkdir -p $RPM_BUILD_ROOT%{_libdir}/grilo-%{release_version}/ +mkdir -p $RPM_BUILD_ROOT%{_datadir}/grilo-%{release_version}/plugins/ + +# Remove rpath +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grl-inspect-%{release_version} +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/grilo-test-ui-%{release_version} +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgrlnet-%{release_version}.so.* # Remove files that will not be packaged rm -f $RPM_BUILD_ROOT%{_libdir}/*.la @@ -85,17 +94,17 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/grilo-simple-playlist %doc AUTHORS COPYING NEWS README TODO %{_libdir}/*.so.* %{_libdir}/girepository-1.0/*.typelib -%{_bindir}/grl-inspect-0.1 -%{_bindir}/grilo-test-ui-0.1 -%{_libdir}/grilo-0.1/ -%{_datadir}/grilo-0.1/plugins/ +%{_bindir}/grl-inspect-%{release_version} +%{_bindir}/grilo-test-ui-%{release_version} +%{_libdir}/grilo-%{release_version}/ +%{_datadir}/grilo-%{release_version}/plugins/ %{_mandir}/man1/grl-inspect.1.gz %files devel %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README TODO %{_datadir}/gtk-doc/html/%{name} -%{_includedir}/%{name}-0.1/ +%{_includedir}/%{name}-%{release_version}/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/*.gir @@ -103,16 +112,19 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/grilo-simple-playlist %files vala %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README TODO -%{_datadir}/vala-*/vapi/* +%{_datadir}/vala/vapi/* %changelog +* Fri Aug 31 2012 Debarshi Ray 0.2.0-1 +- update to 0.2.0 + * Thu Jul 19 2012 Fedora Release Engineering - 0.1.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri May 25 2012 Bastien Nocera 0.1.19-1 - Update to 0.1.19 -* Wed Mar 7 2012 Peter Robinson - 0.1.18-3 +* Wed Mar 7 2012 Peter Robinson 0.1.18-3 - fix build with vala 0.15/0.16 * Fri Jan 13 2012 Fedora Release Engineering - 0.1.18-2 diff --git a/sources b/sources index d11d418..0c17c4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f387f1f7d20910d3cbaeb3f2819d7d6f grilo-0.1.19.tar.xz +33de8a1d96a66935edc73aa5d0bc51c6 grilo-0.2.0.tar.xz