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

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

MATE-1.12.1

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