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

Revision 12005, 2.4 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1Summary:        GObject library for playing system sounds
2Summary(ja):    システム音再生用 GObject ライブラリ
3Name:           gsound
4Version:        1.0.2
5Release:        2%{?_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
13BuildRequires: vala-devel
14BuildRequires: vala-tools
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20
21%description
22GSound is a small library for playing system sounds. It's designed to
23be  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
28Summary:        Development tools for %{name}
29Summary(ja):    %{name} の開発環境
30Group:          Development/Libraries
31Requires:       %{name} = %{version}-%{release}
32Requires:       pkgconfig
33
34%description    devel
35Header files and libraries for building a extension library for the %{name}.
36
37
38%package        docs
39Summary:        Documentation for %{name}
40Summary(ja):    %{name} 用のドキュメント
41Group:          Documentation
42BuildArch:      noarch
43
44%description    docs
45This 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
63find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
64find $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
Note: See TracBrowser for help on using the repository browser.