]> git.pld-linux.org Git - packages/libgweather.git/blame - libgweather.spec
- add epoch to glib2 dep
[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/
10BuildRequires: GConf2-devel >= 2.8.0
11BuildRequires: autoconf >= 2.53
12BuildRequires: automake >= 1:1.8
bea62c18 13BuildRequires: glib2-devel >= 1:2.13.0
c9828fba
PZ
14BuildRequires: gnome-common >= 2.20.0
15BuildRequires: gnome-vfs2-devel >= 2.15.4
16BuildRequires: gtk+2-devel >= 2:2.12.0
17BuildRequires: intltool >= 0.36.1
18BuildRequires: libtool
19BuildRequires: pkgconfig
20# sr@Latn vs. sr@latin
21Conflicts: glibc-misc < 6:2.7
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25libgweather is a library to access weather information from online
26services for numerous locations.
27
28%package devel
29Summary: Header files for libgweather
30Group: X11/Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Requires: gtk+2-devel >= 2:2.12.0
33
34%description devel
35Header files for libgweather.
36
37%package static
38Summary: Static libgweather library
39Group: Development/Libraries
40Requires: %{name}-devel = %{version}-%{release}
41
42%description static
43Static libgweather library.
44
45%prep
46%setup -q
47
48%build
49%{__intltoolize}
50%{__libtoolize}
51%{__aclocal}
52%{__autoconf}
53%{__automake}
54%configure
55%{__make}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT
62
63[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
64 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
bea62c18 65rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
c9828fba
PZ
66%find_lang libgweather
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%post
72/sbin/ldconfig
73%gconf_schema_install gweather.schemas
74
75%preun
76%gconf_schema_uninstall gweather.schemas
77
78%postun -p /sbin/ldconfig
79
80%files -f libgweather.lang
81%defattr(644,root,root,755)
82%doc ChangeLog README
83%{_sysconfdir}/gconf/schemas/gweather.schemas
84%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
85%{_datadir}/libgweather
86
87%files devel
88%defattr(644,root,root,755)
89%attr(755,root,root) %{_libdir}/libgweather.so
90%{_libdir}/libgweather.la
91%{_includedir}/libgweather
92%{_pkgconfigdir}/gweather.pc
93
94%files static
95%defattr(644,root,root,755)
96%{_libdir}/libgweather.a
This page took 0.107628 seconds and 4 git commands to generate.