1 | Summary: GObject library for playing system sounds |
---|
2 | Summary(ja): システム音再生用 GObject ライブラリ |
---|
3 | Name: gsound |
---|
4 | Version: 1.0.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}.tar.xz |
---|
7 | License: LGPLv2.1 |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: https://wiki.gnome.org/Projects/GSound |
---|
10 | |
---|
11 | BuildRequires: glib2-devel |
---|
12 | BuildRequires: libcanberra-gtk3-devel |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | Packager: Takemikaduchi |
---|
19 | |
---|
20 | %description |
---|
21 | GSound is a small library for playing system sounds. It's designed to |
---|
22 | be used via GObject Introspection, and is a thin wrapper around the |
---|
23 | [libcanberra](http://0pointer.de/lennart/projects/libcanberra/) C library. |
---|
24 | |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Development tools for %{name} |
---|
28 | Summary(ja): %{name} の開発環境 |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires: pkgconfig |
---|
32 | |
---|
33 | %description devel |
---|
34 | Header files and libraries for building a extension library for the %{name}. |
---|
35 | |
---|
36 | |
---|
37 | %package docs |
---|
38 | Summary: Documentation for %{name} |
---|
39 | Summary(ja): %{name} 用のドキュメント |
---|
40 | Group: Documentation |
---|
41 | BuildArch: noarch |
---|
42 | |
---|
43 | %description docs |
---|
44 | This package contains documentation for %{name}. |
---|
45 | |
---|
46 | |
---|
47 | %prep |
---|
48 | %setup -q |
---|
49 | |
---|
50 | |
---|
51 | %build |
---|
52 | %configure \ |
---|
53 | --disable-static |
---|
54 | |
---|
55 | %{__make} %{?_smp_mflags} |
---|
56 | |
---|
57 | |
---|
58 | %install |
---|
59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
61 | |
---|
62 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
64 | |
---|
65 | |
---|
66 | %clean |
---|
67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
68 | |
---|
69 | %post -p /sbin/ldconfig |
---|
70 | |
---|
71 | %postun -p /sbin/ldconfig |
---|
72 | |
---|
73 | |
---|
74 | %files |
---|
75 | %defattr(-,root,root,-) |
---|
76 | %doc COPYING ChangeLog NEWS README README.md |
---|
77 | %{_libdir}/libgsound.so.* |
---|
78 | %{_libdir}/girepository-1.0/GSound-1.0.typelib |
---|
79 | |
---|
80 | %files devel |
---|
81 | %defattr(-,root,root,-) |
---|
82 | %{_includedir}/gsound* |
---|
83 | %{_libdir}/libgsound.so |
---|
84 | %{_libdir}/pkgconfig/%{name}.pc |
---|
85 | %{_datadir}/gir-1.0/GSound-1.0.gir |
---|
86 | |
---|
87 | %files docs |
---|
88 | %defattr(-,root,root,-) |
---|
89 | %{_datadir}/gtk-doc/html/%{name} |
---|
90 | |
---|
91 | |
---|
92 | %changelog |
---|
93 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1 |
---|
94 | - initial build |
---|
95 | |
---|