- NEW: very simple background changer DR17 module
authorsparky <sparky@pld-linux.org>
Tue, 6 Dec 2005 19:05:09 +0000 (19:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    enlightenment-module-slideshow.spec -> 1.1

enlightenment-module-slideshow.spec [new file with mode: 0644]

diff --git a/enlightenment-module-slideshow.spec b/enlightenment-module-slideshow.spec
new file mode 100644 (file)
index 0000000..39c43d8
--- /dev/null
@@ -0,0 +1,56 @@
+#
+%define                _module_name    slideshow
+
+Summary:       Enlightenment DR17 module: %{_module_name}
+Name:          enlightenment-module-%{_module_name}
+Version:       0.0.5
+Release:       1
+License:       BSD-like
+Group:         X11/Window Managers/Tools
+Source0:       http://www.get-e.org/Resources/Modules/_files/%{_module_name}-%{version}.tar.gz
+# Source0-md5: fe4ec88243aa9ba3cbf052098874f048
+URL:           http://www.get-e.org/Resources/Modules/
+BuildRequires: edje
+BuildRequires: enlightenmentDR17-devel
+BuildRequires: sed >= 4.0
+Requires:      enlightenmentDR17
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Very simple Enlightenment DR17 used to change desktop backgrounds.
+
+%prep
+%setup -q -n %{_module_name}
+sed -e 's|datadir=.*|datadir="`enlightenment-config --module-dir`/${PACKAGE}"|' \
+    -e '/PACKAGE_DATA_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`/${PACKAGE}"|' \
+    -e '/PACKAGE_LIB_DIR/s|"[^"]*"|"`enlightenment-config --module-dir`"|' \
+    -i configure.in
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING INSTALL README TODO
+%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}
+%dir %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*
+%attr(755,root,root) %{_libdir}/enlightenment/modules_extra/%{_module_name}/linux-gnu-*/module.so
+# violates FHS
+%{_libdir}/enlightenment/modules_extra/%{_module_name}/*.edj
+%{_libdir}/enlightenment/modules_extra/%{_module_name}/module_icon.png
This page took 0.055281 seconds and 4 git commands to generate.