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

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

libmateweather 1.20.0-1

RevLine 
[11643]1%define major_ver 1.20
2%define ver %{major_ver}.0
[10998]3%define rel 1
4
[5311]5Summary:        Provides access to weather information from the net
6Name:           libmateweather
[10998]7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
9Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
10Source1:        libmateweather-locations.ja.po
[10884]11License:        LGPLv2.1
[5311]12Group:          System Environment/Libraries
[6679]13URL:            http://mate-desktop.org/
[5311]14
15BuildRequires:  mate-common
16BuildRequires:  libxml2-devel
[11643]17BuildRequires:  gtk3-devel >= 3.22.0
[5311]18BuildRequires:  libsoup-devel
19BuildRequires:  gtk-doc
20BuildRequires:  autoconf
21BuildRequires:  automake
22
[7697]23Requires(posttrans,postun):     glib2
[5311]24
25BuildRoot:      %{_tmppath}/%{name}-%{version}-root
26
27Vendor:         Project Vine
28Distribution:   Vine Linux
[10884]29Packager:       Takemikaduchi, iwaim
[5311]30
31
32%description
33libmateweather is a library to access weather information from online
34services for numerous locations.
35
36
[9552]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
[5311]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
[9552]60%package        docs
[5311]61Summary:        Documentation for libmateweather
62Summary(ja):    libmateweather 用のドキュメント
63Group:          Documentation
64BuildArch:      noarch
65
[9552]66%description    docs
[5311]67This package contains documentation for libmateweather.
68
69
70%prep
71%setup -q
[10998]72%__cp %{SOURCE1} po-locations/ja.po
[5311]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
[9552]96%post -p /sbin/ldconfig
[5311]97
98%postun
99/sbin/ldconfig
[7697]100if [ $1 -eq 0 ]; then
101  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
[5311]102fi
103
[7697]104%posttrans
105glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
106
[5311]107%files -f %{name}.lang
108%defattr(-,root,root,-)
109%doc COPYING ChangeLog NEWS README
110%{_libdir}/libmateweather.so.*
[7697]111%{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml
[5311]112%{_datadir}/icons/mate/*/*/*
[9552]113%{_datadir}/libmateweather/Locations.xml
114%{_datadir}/libmateweather/Locations.ja.xml
[5311]115
[9552]116%files l10n
117%defattr(-,root,root)
118%{_datadir}/libmateweather/*
119%exclude %{_datadir}/libmateweather/Locations.xml
120%exclude %{_datadir}/libmateweather/Locations.ja.xml
121
[5311]122%files devel
123%defattr(-,root,root,-)
124%{_includedir}/libmateweather
125%{_libdir}/libmateweather.so
126%{_libdir}/pkgconfig/mateweather.pc
127
[9552]128%files docs
[5311]129%defattr(-,root,root,-)
130%{_datadir}/gtk-doc/html/libmateweather
131
132
133%changelog
[11643]134* Wed Mar 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
135- update to 1.20.0
136
[11409]137* Wed Jan 17 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
138- update to 1.18.2
139
[11400]140* Thu May 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
141- update to 1.18.1
142
[10998]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
[10884]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
[10255]153* Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
154- new upstream release
155
[9842]156* Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
157- new upstream release
158
[9797]159* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
160- new upstream release
161
[9552]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
[8359]167* Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
168- new upstream release
169
[8068]170* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
171- rebuild with VineSeed environment
172
[7821]173* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
174- new upstream release
175
[7697]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
[6679]180* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
181- new upstream release
182
[6172]183* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
184- new upstream release
185
[5311]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.