]> git.pld-linux.org Git - packages/libgweather.git/blame - libgweather.spec
- move devel to libgweather
[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
7da92f12 33Obsoletes: gnome-applets-devel <= 2.21.4
c9828fba
PZ
34
35%description devel
36Header files for libgweather.
37
38%package static
39Summary: Static libgweather library
40Group: Development/Libraries
41Requires: %{name}-devel = %{version}-%{release}
42
43%description static
44Static libgweather library.
45
46%prep
47%setup -q
48
49%build
50%{__intltoolize}
51%{__libtoolize}
52%{__aclocal}
53%{__autoconf}
54%{__automake}
55%configure
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
65 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
bea62c18 66rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
c9828fba
PZ
67%find_lang libgweather
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post
73/sbin/ldconfig
74%gconf_schema_install gweather.schemas
75
76%preun
77%gconf_schema_uninstall gweather.schemas
78
79%postun -p /sbin/ldconfig
80
81%files -f libgweather.lang
82%defattr(644,root,root,755)
83%doc ChangeLog README
84%{_sysconfdir}/gconf/schemas/gweather.schemas
85%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
86%{_datadir}/libgweather
87
88%files devel
89%defattr(644,root,root,755)
90%attr(755,root,root) %{_libdir}/libgweather.so
91%{_libdir}/libgweather.la
92%{_includedir}/libgweather
93%{_pkgconfigdir}/gweather.pc
94
95%files static
96%defattr(644,root,root,755)
97%{_libdir}/libgweather.a
This page took 0.280109 seconds and 4 git commands to generate.