[10716] | 1 | Summary: Code shared between GNOME games |
---|
| 2 | Name: libgames-support |
---|
| 3 | Version: 1.0.2 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: GPLv3 |
---|
| 8 | URL: https://git.gnome.org/browse/libgames-support/ |
---|
| 9 | Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/1.0/%{name}-%{version}.tar.xz |
---|
| 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: gtk3-devel |
---|
| 14 | BuildRequires: libgee-devel |
---|
| 15 | |
---|
| 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
| 18 | Packager: Takemikaduchi |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | Useful functionality shared among GNOME games. |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Summary: Development tools for %{name} |
---|
| 26 | Summary(ja): %{name}の開発環境 |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | Requires: pkgconfig |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | Header files and libraries for building a extension library for the |
---|
| 33 | %{name}. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %package vala |
---|
| 37 | Summary: Vala bindings for %{name} |
---|
| 38 | Summary(ja): %{name} の Vala バインディング |
---|
| 39 | Group: Development/Libraries |
---|
| 40 | Requires: %{name} = %{version}-%{release} |
---|
| 41 | Requires: vala |
---|
| 42 | |
---|
| 43 | %description vala |
---|
| 44 | Vala bindings for %{name}. |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %prep |
---|
| 48 | %setup -q |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %build |
---|
| 52 | %configure --disable-static |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 58 | |
---|
| 59 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 60 | |
---|
| 61 | %find_lang %{name} |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | %post -p /sbin/ldconfig |
---|
| 67 | %postun -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | %files -f %{name}.lang |
---|
| 70 | %defattr(-,root,root,-) |
---|
| 71 | %doc COPYING COPYING.LESSER README NEWS |
---|
| 72 | %{_libdir}/%{name}.so.* |
---|
| 73 | |
---|
| 74 | %files devel |
---|
| 75 | %defattr(-,root,root,-) |
---|
| 76 | %{_includedir}/gnome-games |
---|
| 77 | %{_libdir}/%{name}.so |
---|
| 78 | %{_libdir}/pkgconfig/%{name}-1.0.pc |
---|
| 79 | |
---|
| 80 | %files vala |
---|
| 81 | %defattr(-,root,root,-) |
---|
| 82 | %{_datadir}/vala/vapi/libgames-support-1.0.vapi |
---|
| 83 | |
---|
| 84 | %changelog |
---|
| 85 | * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1 |
---|
| 86 | - initial build |
---|
| 87 | |
---|