]> git.pld-linux.org Git - packages/enlightenment-module-weather.git/blame - enlightenment-module-weather.spec
- tabs in preamble
[packages/enlightenment-module-weather.git] / enlightenment-module-weather.spec
CommitLineData
f184d34a 1%define _module_name weather
2%define _snap 20060420
3Summary: Enlightenment DR17 module: %{_module_name}
01644585 4Summary(pl.UTF-8): Moduł Enlightenmenta DR17: %{_module_name}
f184d34a 5# - confirm BR and Rs
6Name: enlightenment-module-%{_module_name}
161f2663 7Version: 0.0.3
8Release: 0.%{_snap}.1
f184d34a 9License: BSD
10Group: X11/Window Managers/Tools
11#Source0: http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz
12Source0: http://sparky.homelinux.org/snaps/enli/e_modules/%{_module_name}-%{_snap}.tar.bz2
13# Source0-md5: 45d15c086b761b804eeea3a89f5707f6
14URL: http://www.get-e.org/Resources/Modules/
15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: edje
18BuildRequires: enlightenmentDR17-devel
f184d34a 19BuildRequires: libtool
20BuildRequires: sed >= 4.0
21Requires: enlightenmentDR17
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
161f2663 25A weather forecast module.
f184d34a 26
9f7e9cae
JR
27%description -l pl.UTF-8
28Moduł prognozy pogody.
784ef9c5 29
f184d34a 30%prep
31%setup -q -n %{_module_name}
161f2663 32sed -e 's|datadir=.*|datadir="`enlightenment-config --module-dir`/${PACKAGE}"|' \
33 -e '/PACKAGE_DATA_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`/${PACKAGE}"|' \
34 -e '/PACKAGE_LIB_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`"|' \
35 -i configure.in
f184d34a 36
37%build
38%{__libtoolize}
39%{__aclocal}
40%{__autoconf}
41%{__autoheader}
42%{__automake}
43%configure \
44 --disable-static
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
161f2663 53%find_lang %{_module_name}
54
f184d34a 55%clean
56rm -rf $RPM_BUILD_ROOT
57
161f2663 58%files -f %{_module_name}.lang
f184d34a 59%defattr(644,root,root,755)
60%doc AUTHORS ChangeLog README
161f2663 61%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}
62%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*
63%attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so
64%{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png
65%{_libdir}/enlightenment/modules_extra/%{_module_name}/%{_module_name}.edj
66%{_libdir}/enlightenment/modules_extra/%{_module_name}/images
This page took 0.036853 seconds and 4 git commands to generate.