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

Revision 9842, 2.5 KB checked in by Takemikaduchi, 8 years ago (diff)

MATE-1.12.1

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