source: projects/specs/trunk/lib/libm/libmateweather/libmateweather-vl.spec @ 8359

Revision 8359, 3.4 KB checked in by Takemikaduchi, 10 years ago (diff)

MATE-1.8.0

Line 
1Summary:        Provides access to weather information from the net
2Name:           libmateweather
3Version:        1.8.0
4Release:        1%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          System Environment/Libraries
8URL:            http://mate-desktop.org/
9
10BuildRequires:  mate-common
11BuildRequires:  libxml2-devel
12BuildRequires:  gtk2-devel
13BuildRequires:  libsoup-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        doc
46Summary:        Documentation for libmateweather
47Summary(ja):    libmateweather 用のドキュメント
48Group:          Documentation
49Requires:       %{name} = %{version}-%{release}
50BuildArch:      noarch
51
52%description    doc
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       
65%{__make} %{?_smp_mflags}
66
67
68%install
69%{__rm} -rf ${RPM_BUILD_ROOT}
70
71export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
72%{__make} install DESTDIR=${RPM_BUILD_ROOT}
73unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
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
85/sbin/ldconfig
86touch --no-create %{_datadir}/icons/hicolor
87/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
88
89%postun
90/sbin/ldconfig
91if [ $1 -eq 0 ]; then
92  touch --no-create %{_datadir}/icons/hicolor
93  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
94  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
95fi
96
97%posttrans
98glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
99
100%files -f %{name}.lang
101%defattr(-,root,root,-)
102%doc COPYING ChangeLog NEWS README
103%{_libdir}/libmateweather.so.*
104%{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml
105%{_datadir}/icons/mate/*/*/*
106%{_datadir}/libmateweather
107
108%files devel
109%defattr(-,root,root,-)
110%{_includedir}/libmateweather
111%{_libdir}/libmateweather.so
112%{_libdir}/pkgconfig/mateweather.pc
113
114%files doc
115%defattr(-,root,root,-)
116%{_datadir}/gtk-doc/html/libmateweather
117
118
119%changelog
120* Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
121- new upstream release
122
123* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
124- rebuild with VineSeed environment
125
126* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
127- new upstream release
128
129* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
130- new upstream release
131- remove BuildRequires: mate-conf-devel
132
133* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
134- new upstream release
135
136* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
137- new upstream release
138
139* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
140- initial build for Vine Linux
141
Note: See TracBrowser for help on using the repository browser.