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

RevLine 
[5311]1Summary:        Provides access to weather information from the net
2Name:           libmateweather
[9842]3Version:        1.12.1
[8359]4Release:        1%{?_dist_release}
[9797]5Source0:        http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz
[5311]6License:        GPLv2
7Group:          System Environment/Libraries
[6679]8URL:            http://mate-desktop.org/
[5311]9
10BuildRequires:  mate-common
11BuildRequires:  libxml2-devel
12BuildRequires:  gtk2-devel
13BuildRequires:  libsoup-devel
14BuildRequires:  gtk-doc
15BuildRequires:  autoconf
16BuildRequires:  automake
17
[7697]18Requires(posttrans,postun):     glib2
[5311]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
[9552]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
[5311]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
[9552]55%package        docs
[5311]56Summary:        Documentation for libmateweather
57Summary(ja):    libmateweather 用のドキュメント
58Group:          Documentation
59BuildArch:      noarch
60
[9552]61%description    docs
[5311]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
[9552]91%post -p /sbin/ldconfig
[5311]92
93%postun
94/sbin/ldconfig
[7697]95if [ $1 -eq 0 ]; then
96  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
[5311]97fi
98
[7697]99%posttrans
100glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
101
[5311]102%files -f %{name}.lang
103%defattr(-,root,root,-)
104%doc COPYING ChangeLog NEWS README
105%{_libdir}/libmateweather.so.*
[7697]106%{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml
[5311]107%{_datadir}/icons/mate/*/*/*
[9552]108%{_datadir}/libmateweather/Locations.xml
109%{_datadir}/libmateweather/Locations.ja.xml
[5311]110
[9552]111%files l10n
112%defattr(-,root,root)
113%{_datadir}/libmateweather/*
114%exclude %{_datadir}/libmateweather/Locations.xml
115%exclude %{_datadir}/libmateweather/Locations.ja.xml
116
[5311]117%files devel
118%defattr(-,root,root,-)
119%{_includedir}/libmateweather
120%{_libdir}/libmateweather.so
121%{_libdir}/pkgconfig/mateweather.pc
122
[9552]123%files docs
[5311]124%defattr(-,root,root,-)
125%{_datadir}/gtk-doc/html/libmateweather
126
127
128%changelog
[9842]129* Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
130- new upstream release
131
[9797]132* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
133- new upstream release
134
[9552]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
[8359]140* Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
141- new upstream release
142
[8068]143* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
144- rebuild with VineSeed environment
145
[7821]146* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
147- new upstream release
148
[7697]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
[6679]153* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
154- new upstream release
155
[6172]156* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
157- new upstream release
158
[5311]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.