]> git.pld-linux.org Git - packages/libgweather.git/blame - libgweather.spec
- updated to 2.24.3
[packages/libgweather.git] / libgweather.spec
CommitLineData
244020ad
JB
1Summary: Library to access weather information from online services for numerous locations
2Summary(pl.UTF-8): Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
c9828fba 3Name: libgweather
796029de 4Version: 2.24.3
c533bca7 5Release: 1
c9828fba
PZ
6License: GPL v2+
7Group: X11/Libraries
ddb8530d 8Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.24/%{name}-%{version}.tar.bz2
796029de 9# Source0-md5: ab29ea93a87339bb1571434fe2086789
c9828fba 10URL: http://www.gnome.org/
ddb8530d 11BuildRequires: GConf2-devel >= 2.24.0
1b4360b9
MB
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake >= 1:1.9
14BuildRequires: gettext-devel
c9828fba 15BuildRequires: gnome-common >= 2.20.0
ddb8530d
MB
16BuildRequires: gtk+2-devel >= 2:2.14.0
17BuildRequires: intltool >= 0.40.0
18BuildRequires: libsoup-devel >= 2.4.0
c9828fba 19BuildRequires: libtool
ddb8530d 20BuildRequires: libxml2-devel >= 1:2.6.30
1b4360b9 21BuildRequires: pkgconfig >= 1:0.19
1b4360b9 22Requires(post,preun): GConf2
c9828fba
PZ
23# sr@Latn vs. sr@latin
24Conflicts: glibc-misc < 6:2.7
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28libgweather is a library to access weather information from online
29services for numerous locations.
30
244020ad
JB
31%description -l pl.UTF-8
32libgweather to biblioteka pozwalająca na dostęp do informacji
33pogodowych z serwisów internetowych dla różnych miejsc.
34
c9828fba
PZ
35%package devel
36Summary: Header files for libgweather
244020ad 37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgweather
c9828fba
PZ
38Group: X11/Development/Libraries
39Requires: %{name} = %{version}-%{release}
ddb8530d
MB
40Requires: GConf2-devel >= 2.24.0
41Requires: gtk+2-devel >= 2:2.14.0
42Requires: libsoup-devel >= 2.4.0
43Requires: libxml2-devel >= 1:2.6.30
7da92f12 44Obsoletes: gnome-applets-devel <= 2.21.4
c9828fba
PZ
45
46%description devel
47Header files for libgweather.
48
244020ad
JB
49%description devel -l pl.UTF-8
50Pliki nagłówkowe biblioteki libgweather.
51
c9828fba
PZ
52%package static
53Summary: Static libgweather library
244020ad 54Summary(pl.UTF-8): Statyczna biblioteka libgweather
1b4360b9 55Group: X11/Development/Libraries
c9828fba
PZ
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59Static libgweather library.
60
244020ad
JB
61%description static -l pl.UTF-8
62Statyczna biblioteka libgweather.
63
c9828fba
PZ
64%prep
65%setup -q
66
67%build
68%{__intltoolize}
69%{__libtoolize}
70%{__aclocal}
71%{__autoconf}
1b4360b9 72%{__autoheader}
c9828fba 73%{__automake}
2715db3e
SS
74%configure \
75 --with-zoneinfo-dir=%{_datadir}/zoneinfo
9fae6b8b
SS
76%{__make} -j1 -C data
77%{__make}
c9828fba
PZ
78
79%install
80rm -rf $RPM_BUILD_ROOT
81
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT
84
bea62c18 85rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
1b4360b9 86
c9828fba
PZ
87%find_lang libgweather
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post
93/sbin/ldconfig
94%gconf_schema_install gweather.schemas
95
96%preun
97%gconf_schema_uninstall gweather.schemas
98
99%postun -p /sbin/ldconfig
100
101%files -f libgweather.lang
102%defattr(644,root,root,755)
103%doc ChangeLog README
c9828fba 104%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
d8031f1a 105%attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
1b4360b9 106%{_sysconfdir}/gconf/schemas/gweather.schemas
c9828fba
PZ
107%{_datadir}/libgweather
108
109%files devel
110%defattr(644,root,root,755)
111%attr(755,root,root) %{_libdir}/libgweather.so
112%{_libdir}/libgweather.la
113%{_includedir}/libgweather
114%{_pkgconfigdir}/gweather.pc
115
116%files static
117%defattr(644,root,root,755)
118%{_libdir}/libgweather.a
This page took 0.046846 seconds and 4 git commands to generate.