source: projects/specs/trunk/lib/libm/libmatemixer/libmatemixer-vl.spec @ 11645

Revision 11645, 3.0 KB checked in by iwaim, 6 years ago (diff)

libmatemixer 1.20.0-1

Line 
1%define major_ver 1.20
2%define ver %{major_ver}.0
3%define rel 1
4
5Summary:        A mixer library for MATE desktop
6Name:           libmatemixer
7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
9Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
10License:        LGPLv2.1
11Group:          System Environment/Libraries
12URL:            http://mate-desktop.org/
13
14BuildRequires:  mate-common
15BuildRequires:  glib2-devel
16BuildRequires:  pulseaudio-libs-devel
17BuildRequires:  alsa-lib-devel
18BuildRequires:  gtk-doc
19BuildRequires:  autoconf
20BuildRequires:  automake
21
22Requires(posttrans,postun):     glib2
23Requires(post,postun):  gtk2
24
25BuildRoot:      %{_tmppath}/%{name}-%{version}-root
26
27Vendor:         Project Vine
28Distribution:   Vine Linux
29Packager:       Takemikaduchi, iwaim
30
31
32%description
33It provides an abstract API allowing access to mixer functionality available
34in the PulseAudio, ALSA and OSS sound systems.
35
36
37%package        devel
38Summary:        Development tools for libmatemixer
39Summary(ja):    libmatemixer の開発環境
40Group:          Development/Libraries
41Requires:       %{name} = %{version}-%{release}
42Requires:       pkgconfig
43
44%description    devel
45Header files and libraries for building a extension library for the
46libmatemixer.
47
48
49%package        docs
50Summary:        Documentation for libmatemixer
51Summary(ja):    libmatemixer 用のドキュメント
52Group:          Documentation
53Requires:       %{name} = %{version}-%{release}
54BuildArch:      noarch
55
56%description    docs
57This package contains documentation for libmatemixer.
58
59
60%prep
61%setup -q
62
63
64%build
65(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
66%configure \
67        --disable-static \
68        --enable-pulseaudio \
69        --enable-alsa \
70        --disable-oss
71       
72%{__make} %{?_smp_mflags}
73
74
75%install
76%{__rm} -rf ${RPM_BUILD_ROOT}
77%{__make} install DESTDIR=${RPM_BUILD_ROOT}
78
79find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
80find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
81
82%find_lang %{name}
83
84
85%clean
86%{__rm} -rf ${RPM_BUILD_ROOT}
87
88%post -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%files -f %{name}.lang
92%defattr(-,root,root,-)
93%doc COPYING ChangeLog NEWS README
94%{_libdir}/%{name}.so.*
95%{_libdir}/%{name}/libmatemixer-alsa.so
96%{_libdir}/%{name}/libmatemixer-null.so
97%{_libdir}/%{name}/libmatemixer-pulse.so
98
99%files devel
100%defattr(-,root,root,-)
101%{_includedir}/mate-mixer/%{name}
102%{_libdir}/%{name}.so
103%{_libdir}/pkgconfig/%{name}.pc
104
105%files docs
106%defattr(-,root,root,-)
107%{_datadir}/gtk-doc/html/%{name}
108
109
110%changelog
111* Wed Mar 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
112- update to 1.20.0
113
114* Sun Apr  2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
115- update to 1.18.0
116
117* Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
118- new upstream release
119- fix License
120- fix Summary and description
121- add Packager
122
123* Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
124- new upstream release
125
126* Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
127- new upstream release
128
129* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
130- new upstream release
131
132* Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
133- initial build
134
Note: See TracBrowser for help on using the repository browser.