%global gitrev 8654371 Name: libgames-support Version: 0.1 Release: 0.2.%{?gitrev}%{?dist} Summary: Support library for GNOME games License: LGPLv3+ URL: https://git.gnome.org/browse/libgames-support/ # The source for this package was pulled from upstream's vcs. Use the # following commands to generate the tarball: # git clone git://git.gnome.org/libgames-support && cd libgames-support # git archive --format=tar --prefix libgames-support-0.1-%{gitrev}/ %{gitrev} | xz > ../libgames-support-0.1-%{giterev}.tar.xz Source0: libgames-support-0.1-%{gitrev}.tar.xz BuildRequires: pkgconfig(glib-2.0) >= 2.40 BuildRequires: pkgconfig(gio-2.0) >= 2.40 BuildRequires: pkgconfig(gtk+-3.0) >= 3.12 BuildRequires: pkgconfig(gee-0.8) # auto + vala BuildRequires: automake autoconf intltool gnome-common vala %description libgames-support is a small library intended for internal use by GNOME Games, but it may be used by others. The API will only break with the major version number. The ABI is unstable. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n libgames-support-0.1-%{gitrev} %build NOCONFIGURE=1 ./autogen.sh %configure --disable-static make %{?_smp_mflags} %install %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %find_lang %{name} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %doc README %license COPYING.LESSER %{_libdir}/*.so.* %files devel %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/*.vapi %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Tue Apr 21 2015 Yanko Kaneti - 0.1-0.2.8654371 - Latest master. Address review comments #1195614 * Mon Feb 16 2015 Yanko Kaneti - 0.1-0.1.ff5f3d4 - Packaging attempt