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