source: projects/specs/trunk/g/gsound/gsound-vl.spec @ 9475

Revision 9475, 2.1 KB checked in by Takemikaduchi, 9 years ago (diff)

GNOME-3.16.0

Line 
1Summary:        GObject library for playing system sounds
2Summary(ja):    システム音再生用 GObject ライブラリ
3Name:           gsound
4Version:        1.0.1
5Release:        1%{?_dist_release}
6Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}.tar.xz
7License:        LGPLv2.1
8Group:          System Environment/Libraries
9URL:            https://wiki.gnome.org/Projects/GSound
10
11BuildRequires: glib2-devel
12BuildRequires: libcanberra-gtk3-devel
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18Packager:       Takemikaduchi
19
20%description
21GSound is a small library for playing system sounds. It's designed to
22be  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
27Summary:        Development tools for %{name}
28Summary(ja):    %{name} の開発環境
29Group:          Development/Libraries
30Requires:       %{name} = %{version}-%{release}
31Requires:       pkgconfig
32
33%description    devel
34Header files and libraries for building a extension library for the %{name}.
35
36
37%package        docs
38Summary:        Documentation for %{name}
39Summary(ja):    %{name} 用のドキュメント
40Group:          Documentation
41BuildArch:      noarch
42
43%description    docs
44This 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
62find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
63find $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
Note: See TracBrowser for help on using the repository browser.