]> git.pld-linux.org Git - packages/libgweather.git/blame - libgweather.spec
- revised deps
[packages/libgweather.git] / libgweather.spec
CommitLineData
c9828fba
PZ
1Summary: libgweather is a library to access weather information from online services for numerous locations
2Name: libgweather
3Version: 2.21.2
4Release: 1
5License: GPL v2+
6Group: X11/Libraries
7Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.21/%{name}-%{version}.tar.bz2
8# Source0-md5: 715394c673895b52d1f807f874b66770
9URL: http://www.gnome.org/
1b4360b9
MB
10BuildRequires: GConf2-devel >= 2.21.90
11BuildRequires: autoconf >= 2.59
12BuildRequires: automake >= 1:1.9
13BuildRequires: gettext-devel
c9828fba 14BuildRequires: gnome-common >= 2.20.0
1b4360b9
MB
15BuildRequires: gnome-vfs2-devel >= 2.20.0
16BuildRequires: gtk+2-devel >= 2:2.12.5
17BuildRequires: intltool >= 0.37.0
c9828fba 18BuildRequires: libtool
1b4360b9
MB
19BuildRequires: pkgconfig >= 1:0.19
20BuildRequires: sed >= 4.0
21Requires(post,preun): GConf2
c9828fba
PZ
22# sr@Latn vs. sr@latin
23Conflicts: glibc-misc < 6:2.7
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27libgweather is a library to access weather information from online
28services for numerous locations.
29
30%package devel
31Summary: Header files for libgweather
32Group: X11/Development/Libraries
33Requires: %{name} = %{version}-%{release}
1b4360b9
MB
34Requires: gnome-vfs2-devel >= 2.20.0
35Requires: gtk+2-devel >= 2:2.12.5
7da92f12 36Obsoletes: gnome-applets-devel <= 2.21.4
c9828fba
PZ
37
38%description devel
39Header files for libgweather.
40
41%package static
42Summary: Static libgweather library
1b4360b9 43Group: X11/Development/Libraries
c9828fba
PZ
44Requires: %{name}-devel = %{version}-%{release}
45
46%description static
47Static libgweather library.
48
49%prep
50%setup -q
51
1b4360b9
MB
52sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
53mv po/sr@{Latn,latin}.po
54
c9828fba
PZ
55%build
56%{__intltoolize}
57%{__libtoolize}
58%{__aclocal}
59%{__autoconf}
1b4360b9 60%{__autoheader}
c9828fba
PZ
61%{__automake}
62%configure
63%{__make}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70
bea62c18 71rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
1b4360b9 72
c9828fba
PZ
73%find_lang libgweather
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%post
79/sbin/ldconfig
80%gconf_schema_install gweather.schemas
81
82%preun
83%gconf_schema_uninstall gweather.schemas
84
85%postun -p /sbin/ldconfig
86
87%files -f libgweather.lang
88%defattr(644,root,root,755)
89%doc ChangeLog README
c9828fba 90%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
1b4360b9
MB
91%attr(755,root,root) %ghost %{_libdir}/libgweather.so.0
92%{_sysconfdir}/gconf/schemas/gweather.schemas
c9828fba
PZ
93%{_datadir}/libgweather
94
95%files devel
96%defattr(644,root,root,755)
97%attr(755,root,root) %{_libdir}/libgweather.so
98%{_libdir}/libgweather.la
99%{_includedir}/libgweather
100%{_pkgconfigdir}/gweather.pc
101
102%files static
103%defattr(644,root,root,755)
104%{_libdir}/libgweather.a
This page took 0.106296 seconds and 4 git commands to generate.