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

Revision 11643, 4.6 KB checked in by iwaim, 5 years ago (diff)

libmateweather 1.20.0-1

Line 
1%define major_ver 1.20
2%define ver %{major_ver}.0
3%define rel 1
4
5Summary:        Provides access to weather information from the net
6Name:           libmateweather
7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
9Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
10Source1:        libmateweather-locations.ja.po
11License:        LGPLv2.1
12Group:          System Environment/Libraries
13URL:            http://mate-desktop.org/
14
15BuildRequires:  mate-common
16BuildRequires:  libxml2-devel
17BuildRequires:  gtk3-devel >= 3.22.0
18BuildRequires:  libsoup-devel
19BuildRequires:  gtk-doc
20BuildRequires:  autoconf
21BuildRequires:  automake
22
23Requires(posttrans,postun):     glib2
24
25BuildRoot:      %{_tmppath}/%{name}-%{version}-root
26
27Vendor:         Project Vine
28Distribution:   Vine Linux
29Packager:       Takemikaduchi, iwaim
30
31
32%description
33libmateweather is a library to access weather information from online
34services for numerous locations.
35
36
37%package        l10n
38Summary:        Localized xml files for libmateweather
39Summary(ja):    libmateweather の多言語データ
40Group:          System Environment/Libraries
41Requires:       %{name} = %{version}
42
43%description    l10n
44This package contains localized xml files for libmateweather.
45(except for English and Japanese)
46
47
48%package        devel
49Summary:        Development tools for libmateweather
50Summary(ja):    libmateweather の開発環境
51Group:          Development/Libraries
52Requires:       %{name} = %{version}-%{release}
53Requires:       pkgconfig
54
55%description    devel
56Header files and libraries for building a extension library for the
57libmateweather.
58
59
60%package        docs
61Summary:        Documentation for libmateweather
62Summary(ja):    libmateweather 用のドキュメント
63Group:          Documentation
64BuildArch:      noarch
65
66%description    docs
67This package contains documentation for libmateweather.
68
69
70%prep
71%setup -q
72%__cp %{SOURCE1} po-locations/ja.po
73
74%build
75(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
76%configure \
77        --disable-static
78       
79%{__make} %{?_smp_mflags}
80
81
82%install
83%{__rm} -rf ${RPM_BUILD_ROOT}
84
85%{__make} install DESTDIR=${RPM_BUILD_ROOT}
86
87find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
88find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
89
90%find_lang %{name}
91
92
93%clean
94%{__rm} -rf ${RPM_BUILD_ROOT}
95
96%post -p /sbin/ldconfig
97
98%postun
99/sbin/ldconfig
100if [ $1 -eq 0 ]; then
101  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
102fi
103
104%posttrans
105glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
106
107%files -f %{name}.lang
108%defattr(-,root,root,-)
109%doc COPYING ChangeLog NEWS README
110%{_libdir}/libmateweather.so.*
111%{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml
112%{_datadir}/icons/mate/*/*/*
113%{_datadir}/libmateweather/Locations.xml
114%{_datadir}/libmateweather/Locations.ja.xml
115
116%files l10n
117%defattr(-,root,root)
118%{_datadir}/libmateweather/*
119%exclude %{_datadir}/libmateweather/Locations.xml
120%exclude %{_datadir}/libmateweather/Locations.ja.xml
121
122%files devel
123%defattr(-,root,root,-)
124%{_includedir}/libmateweather
125%{_libdir}/libmateweather.so
126%{_libdir}/pkgconfig/mateweather.pc
127
128%files docs
129%defattr(-,root,root,-)
130%{_datadir}/gtk-doc/html/libmateweather
131
132
133%changelog
134* Wed Mar 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
135- update to 1.20.0
136
137* Wed Jan 17 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
138- update to 1.18.2
139
140* Thu May 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
141- update to 1.18.1
142
143* Sun Apr  2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
144- update to 1.18.0
145- move to GTK3+
146- add libmateweather-locations.ja.po (Source1)
147
148* Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
149- new upstream release
150- fix License
151- add Packager
152
153* Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
154- new upstream release
155
156* Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
157- new upstream release
158
159* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
160- new upstream release
161
162* Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
163- new upstream release
164- create %%{name}-l10n subpackage
165- rename document subpackage
166
167* Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
168- new upstream release
169
170* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
171- rebuild with VineSeed environment
172
173* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
174- new upstream release
175
176* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
177- new upstream release
178- remove BuildRequires: mate-conf-devel
179
180* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
181- new upstream release
182
183* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
184- new upstream release
185
186* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
187- initial build for Vine Linux
188
Note: See TracBrowser for help on using the repository browser.