1 | Summary: GObject library for playing system sounds |
---|
2 | Summary(ja): システム音再生用 GObject ライブラリ |
---|
3 | Name: gsound |
---|
4 | Version: 1.0.2 |
---|
5 | Release: 2%{?_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 | BuildRequires: vala-devel |
---|
14 | BuildRequires: vala-tools |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | |
---|
21 | %description |
---|
22 | GSound is a small library for playing system sounds. It's designed to |
---|
23 | be used via GObject Introspection, and is a thin wrapper around the |
---|
24 | [libcanberra](http://0pointer.de/lennart/projects/libcanberra/) C library. |
---|
25 | |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Development tools for %{name} |
---|
29 | Summary(ja): %{name} の開発環境 |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | Requires: pkgconfig |
---|
33 | |
---|
34 | %description devel |
---|
35 | Header files and libraries for building a extension library for the %{name}. |
---|
36 | |
---|
37 | |
---|
38 | %package docs |
---|
39 | Summary: Documentation for %{name} |
---|
40 | Summary(ja): %{name} 用のドキュメント |
---|
41 | Group: Documentation |
---|
42 | BuildArch: noarch |
---|
43 | |
---|
44 | %description docs |
---|
45 | This package contains documentation for %{name}. |
---|
46 | |
---|
47 | |
---|
48 | %prep |
---|
49 | %setup -q |
---|
50 | |
---|
51 | |
---|
52 | %build |
---|
53 | %configure \ |
---|
54 | --disable-static |
---|
55 | |
---|
56 | %{__make} %{?_smp_mflags} |
---|
57 | |
---|
58 | |
---|
59 | %install |
---|
60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
61 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
62 | |
---|
63 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
64 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
65 | |
---|
66 | |
---|
67 | %clean |
---|
68 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
69 | |
---|
70 | %post -p /sbin/ldconfig |
---|
71 | |
---|
72 | %postun -p /sbin/ldconfig |
---|
73 | |
---|
74 | |
---|
75 | %files |
---|
76 | %defattr(-,root,root,-) |
---|
77 | %license COPYING |
---|
78 | %doc ChangeLog NEWS README README.md |
---|
79 | %{_bindir}/gsound-play |
---|
80 | %{_libdir}/libgsound.so.* |
---|
81 | %{_libdir}/girepository-1.0/GSound-1.0.typelib |
---|
82 | |
---|
83 | %files devel |
---|
84 | %defattr(-,root,root,-) |
---|
85 | %{_includedir}/gsound* |
---|
86 | %{_libdir}/libgsound.so |
---|
87 | %{_libdir}/pkgconfig/%{name}.pc |
---|
88 | %{_datadir}/gir-1.0/GSound-1.0.gir |
---|
89 | %dir %{_datadir}/vala |
---|
90 | %dir %{_datadir}/vala/vapi |
---|
91 | %{_datadir}/vala/vapi/* |
---|
92 | |
---|
93 | %files docs |
---|
94 | %defattr(-,root,root,-) |
---|
95 | %{_datadir}/gtk-doc/html/%{name} |
---|
96 | |
---|
97 | |
---|
98 | %changelog |
---|
99 | * Mon Dec 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-2 |
---|
100 | - added vala files. |
---|
101 | |
---|
102 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1 |
---|
106 | - initial build |
---|
107 | |
---|