]> git.pld-linux.org Git - packages/enlightenment-module-slideshow.git/blob - enlightenment-module-slideshow.spec
- (B)R: enlightenmentDR17 -> enlightenment
[packages/enlightenment-module-slideshow.git] / enlightenment-module-slideshow.spec
1 #
2 %define         _module_name    slideshow
3
4 Summary:        Enlightenment DR17 module: %{_module_name}
5 Summary(pl.UTF-8):      Moduł Enlightenmenta DR17: slideshow
6 Name:           enlightenment-module-%{_module_name}
7 Version:        0.0.7
8 Release:        1
9 License:        BSD-like
10 Group:          X11/Window Managers/Tools
11 Source0:        http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz
12 # Source0-md5:  e20b828f71d0df75b67f63a2d9be63c8
13 URL:            http://www.get-e.org/Resources/Modules/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  edje
17 BuildRequires:  enlightenment-devel
18 BuildRequires:  libtool
19 BuildRequires:  sed >= 4.0
20 Requires:       enlightenment
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Very simple Enlightenment DR17 module used to change desktop
25 backgrounds.
26
27 %description -l pl.UTF-8
28 Bardzo prosty moduł Enlightenmenta DR17 służący do zmiany tła pulpitu.
29
30 %prep
31 %setup -q -n %{_module_name}
32 sed -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
36
37 %build
38 %{__libtoolize}
39 %{__aclocal}
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 %configure \
44         --disable-static
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS COPYING INSTALL README TODO
59 %dir %{_libdir}/enlightenment/modules_extra/%{_module_name}
60 %dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*
61 %attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so
62 # violates FHS
63 %{_libdir}/enlightenment/modules_extra/%{_module_name}/*.edj
64 %{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png
This page took 0.067299 seconds and 3 git commands to generate.