]> git.pld-linux.org Git - packages/libmateweather.git/blame - libmateweather.spec
- up to 1.8.0
[packages/libmateweather.git] / libmateweather.spec
CommitLineData
ab9372dc
JB
1Summary: Library to allow MATE Desktop to display weather information
2Summary(pl.UTF-8): Biblioteka umożliwiająca wyświetlanie informacji pogodowych w środowisku MATE Desktop
95104df7 3Name: libmateweather
89c90155
JP
4Version: 1.8.0
5Release: 1
95104df7
ER
6License: GPL v2+
7Group: X11/Libraries
89c90155
JP
8Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
9# Source0-md5: f11f7f3c6ae72e58b54931cb09bb76a7
b71d5fa8 10URL: http://wiki.mate-desktop.org/libmateweather
89c90155
JP
11BuildRequires: autoconf >= 2.59
12BuildRequires: automake >= 1:1.9
d33f0d8b 13BuildRequires: gettext-devel
ab9372dc 14BuildRequires: glib2-devel >= 1:2.26.0
b71d5fa8 15BuildRequires: gtk+2-devel >= 2:2.11.0
ab9372dc 16BuildRequires: gtk-doc >= 1.9
b71d5fa8 17BuildRequires: intltool >= 0.40.3
89c90155
JP
18BuildRequires: libsoup-devel >= 2.34.0
19BuildRequires: libtool
ab9372dc 20BuildRequires: libxml2-devel >= 1:2.6.0
95104df7 21BuildRequires: mate-common
ab9372dc
JB
22BuildRequires: pkgconfig >= 1:0.19
23BuildRequires: python-devel >= 2
24BuildRequires: python-pygobject-devel >= 2.0
25BuildRequires: python-pygtk-devel >= 2:2.0
d33f0d8b 26BuildRequires: rpm-pythonprov
ab9372dc 27BuildRequires: rpmbuild(macros) >= 1.219
95104df7
ER
28BuildRequires: tar >= 1:1.22
29BuildRequires: xz
ab9372dc 30Requires(post,postun): /sbin/ldconfig
95104df7
ER
31Requires: glib2 >= 1:2.26.0
32Requires: gsettings-desktop-schemas
ab9372dc 33Requires: gtk+2 >= 2:2.11.0
95104df7
ER
34Requires: gtk-update-icon-cache
35Requires: hicolor-icon-theme
ab9372dc 36Requires: libxml2 >= 1:2.6.0
c7df76e7 37Conflicts: mate-applet-gweather < 1.6.1
95104df7
ER
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
ab9372dc
JB
41libmateweather is a library to allow MATE Desktop to display weather
42information. It's a fork of libgweather.
43
44%description -l pl.UTF-8
45libmateweather to biblioteka umożliwiająca wyświetlanie informacji
46pogodowych w środowisku MATE Desktop. Jest odgałęzieniem
47libgweather.
95104df7
ER
48
49%package devel
50Summary: Development files for libmateweather
ab9372dc
JB
51Summary(pl.UTF-8): Pliki programistyczne biblioteki libmateweather
52Group: X11/Development/Libraries
95104df7 53Requires: %{name} = %{version}-%{release}
ab9372dc
JB
54Requires: glib2-devel >= 1:2.26.0
55Requires: gtk+2-devel >= 2:2.11.0
56Requires: libsoup-devel >= 2.4.0
57Requires: libxml2-devel >= 1:2.6.0
95104df7
ER
58
59%description devel
ab9372dc
JB
60Development files for libmateweather.
61
62%description devel -l pl.UTF-8
63Pliki programistyczne biblioteki libmateweather.
95104df7
ER
64
65%package apidocs
66Summary: libmateweather API documentation
67Summary(pl.UTF-8): Dokumentacja API biblioteki libmateweather
68Group: Documentation
69Requires: gtk-doc-common
70
71%description apidocs
72libmateweather API documentation.
73
74%description apidocs -l pl.UTF-8
75Dokumentacja API biblioteki libmateweather.
76
ab9372dc
JB
77%package -n python-mateweather
78Summary: Python binding for libmateweather library
79Summary(pl.UTF-8): Wiązanie Pythona do biblioteki libmateweather
80Group: Libraries/Python
81Requires: %{name} = %{version}-%{release}
82Requires: python-pygobject >= 2.0
83Requires: python-pygtk-gtk >= 2:2.0
84
85%description -n python-mateweather
86Python binding for libmateweather library.
87
88%description -n python-mateweather -l pl.UTF-8
89Wiązanie Pythona do biblioteki libmateweather.
90
95104df7
ER
91%prep
92%setup -q
95104df7
ER
93
94%build
89c90155
JP
95%{__libtoolize}
96%{__aclocal} -I m4
97%{__autoconf}
98%{__autoheader}
99%{__automake}
95104df7
ER
100%configure \
101 --with-html-dir=%{_gtkdocdir} \
ab9372dc 102 --with-zoneinfo-dir=%{_datadir}/zoneinfo \
95104df7 103 --enable-python \
0475dace 104 --disable-silent-rules \
95104df7
ER
105 --disable-static
106
0475dace 107%{__make}
95104df7
ER
108
109%install
110rm -rf $RPM_BUILD_ROOT
111%{__make} install \
112 DESTDIR=$RPM_BUILD_ROOT
113
114%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmateweather.la
115%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/mateweather/*/mateweather.la
89c90155 116%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cmn
95104df7
ER
117
118%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
119%py_comp $RPM_BUILD_ROOT%{py_sitedir}
120%py_postclean
121
ab9372dc 122# outdated copy of es
95104df7 123%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/es_ES
ab9372dc 124
95104df7
ER
125%find_lang %{name}
126
127%clean
128rm -rf $RPM_BUILD_ROOT
129
130%post
131/sbin/ldconfig
132%update_icon_cache hicolor
133%glib_compile_schemas
134
135%postun
136/sbin/ldconfig
137%update_icon_cache hicolor
138%glib_compile_schemas
139
140%files -f %{name}.lang
141%defattr(644,root,root,755)
89c90155 142%doc AUTHORS ChangeLog NEWS README
ab9372dc
JB
143%attr(755,root,root) %{_libdir}/libmateweather.so.*.*.*
144%attr(755,root,root) %ghost %{_libdir}/libmateweather.so.1
95104df7 145%{_datadir}/libmateweather
95104df7 146%{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml
ab9372dc
JB
147%{_iconsdir}/mate/*x*/status/weather-*.png
148%{_iconsdir}/mate/scalable/status/weather-*.svg
95104df7
ER
149
150%files devel
151%defattr(644,root,root,755)
ab9372dc 152%attr(755,root,root) %{_libdir}/libmateweather.so
95104df7
ER
153%{_includedir}/libmateweather
154%{_pkgconfigdir}/mateweather.pc
155
156%files apidocs
157%defattr(644,root,root,755)
158%{_gtkdocdir}/libmateweather
ab9372dc
JB
159
160%files -n python-mateweather
161%defattr(644,root,root,755)
162%dir %{py_sitedir}/mateweather
163%{py_sitedir}/mateweather/*.py[co]
164%dir %{py_sitedir}/mateweather/I_KNOW_THIS_IS_UNSTABLE
165%{py_sitedir}/mateweather/I_KNOW_THIS_IS_UNSTABLE/*.py[co]
166%attr(755,root,root) %{py_sitedir}/mateweather/I_KNOW_THIS_IS_UNSTABLE/mateweather.so
This page took 0.215252 seconds and 4 git commands to generate.