]> git.pld-linux.org Git - packages/libgweather.git/blame - libgweather.spec
- updated to 2.22.1.1 (new soname)
[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
d8031f1a 4Version: 2.22.1.1
c9828fba
PZ
5Release: 1
6License: GPL v2+
7Group: X11/Libraries
580b0778 8Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.22/%{name}-%{version}.tar.bz2
d8031f1a 9# Source0-md5: 6b0e12931db8c640992bef75bd3cc24b
c9828fba 10URL: http://www.gnome.org/
580b0778 11BuildRequires: GConf2-devel >= 2.22.0
1b4360b9
MB
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake >= 1:1.9
14BuildRequires: gettext-devel
c9828fba 15BuildRequires: gnome-common >= 2.20.0
580b0778
MB
16BuildRequires: gnome-vfs2-devel >= 2.22.0
17BuildRequires: gtk+2-devel >= 2:2.12.8
1b4360b9 18BuildRequires: intltool >= 0.37.0
c9828fba 19BuildRequires: libtool
1b4360b9
MB
20BuildRequires: pkgconfig >= 1:0.19
21BuildRequires: sed >= 4.0
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}
580b0778
MB
40Requires: gnome-vfs2-devel >= 2.22.0
41Requires: gtk+2-devel >= 2:2.12.8
7da92f12 42Obsoletes: gnome-applets-devel <= 2.21.4
c9828fba
PZ
43
44%description devel
45Header files for libgweather.
46
244020ad
JB
47%description devel -l pl.UTF-8
48Pliki nagłówkowe biblioteki libgweather.
49
c9828fba
PZ
50%package static
51Summary: Static libgweather library
244020ad 52Summary(pl.UTF-8): Statyczna biblioteka libgweather
1b4360b9 53Group: X11/Development/Libraries
c9828fba
PZ
54Requires: %{name}-devel = %{version}-%{release}
55
56%description static
57Static libgweather library.
58
244020ad
JB
59%description static -l pl.UTF-8
60Statyczna biblioteka libgweather.
61
c9828fba
PZ
62%prep
63%setup -q
64
1b4360b9
MB
65sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
66mv po/sr@{Latn,latin}.po
67
c9828fba
PZ
68%build
69%{__intltoolize}
70%{__libtoolize}
71%{__aclocal}
72%{__autoconf}
1b4360b9 73%{__autoheader}
c9828fba
PZ
74%{__automake}
75%configure
76%{__make}
77
78%install
79rm -rf $RPM_BUILD_ROOT
80
81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
83
bea62c18 84rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
1b4360b9 85
c9828fba
PZ
86%find_lang libgweather
87
88%clean
89rm -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
This page took 0.080739 seconds and 4 git commands to generate.