From 6154f582611503df6b77bc5304dee482d2bc2ab5 Mon Sep 17 00:00:00 2001 From: Christoph Wickert Date: Jul 10 2008 12:35:45 +0000 Subject: - Update 0.4.1 - Revove hal_flags.patch (fixed upstream) - Remove HAL support until it really works. To enable rebuild "--with hal" --- diff --git a/.cvsignore b/.cvsignore index 81014f1..5b63b7a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -emelfm2-0.4.tar.gz +emelfm2-0.4.1.tar.gz diff --git a/emelfm2.spec b/emelfm2.spec index 78abd4c..41f367d 100644 --- a/emelfm2.spec +++ b/emelfm2.spec @@ -1,20 +1,26 @@ +## Rebuild options: +# --with hal : Build with the hal support (default: without) +# +## To rebuild this package with hal support: +# rpmbuild -ba emelfm2.spec --with hal + Name: emelfm2 -Version: 0.4.0 +Version: 0.4.1 Release: 1%{?dist} Summary: A file manager that implements the popular two-pane design Group: Applications/File License: GPLv3+ URL: http://emelfm2.net/ -Source0: http://emelfm2.net/rel/emelfm2-0.4.tar.gz -Patch0: emelfm2-0.4-hal_flags.patch +Source0: http://emelfm2.net/rel/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel >= 2.6.0, libacl-devel, gettext, desktop-file-utils Requires: findutils >= 4.2, file, grep, sed, bzip2 -# for hal we need +%if 0%{?_with_hal:1} BuildRequires: hal-devel, dbus-glib-devel -#Requires: hal +Requires: hal +%endif %description emelFM2 is the GTK+2 port of emelFM. emelFM2 is a file manager that implements @@ -22,9 +28,9 @@ the popular two-pane design. It features a simple GTK+2 interface, a flexible file typing scheme, and a built-in command line for executing commands without opening an xterm. + %prep -%setup -qn emelfm2-0.4 -%patch0 -p1 -b .hal_flags +%setup -q # fix for x86_64 libs sed -i 's!$(PREFIX)/lib/$(TARGET)/$(LIBS)!$(PREFIX)/%{_lib}/$(TARGET)/$(LIBS)!' Makefile @@ -32,6 +38,7 @@ sed -i 's!$(PREFIX)/lib/$(TARGET)/$(LIBS)!$(PREFIX)/%{_lib}/$(TARGET)/$(LIBS)!' # fix broken icon in emelfm2.desktop sed -i 's!emelfm2/emelfm2_48.png!%{_datadir}/pixmaps/emelfm2/emelfm2_48.png!' docs/desktop_environment/%{name}.desktop + %build make %{?_smp_mflags} \ OPTIMIZE="${RPM_OPT_FLAGS}" \ @@ -42,8 +49,10 @@ make %{?_smp_mflags} \ WITH_KERNELFAM=1 \ USE_LATEST=1 \ NEW_COMMAND=1 \ - WITH_ACL=1 \ - WITH_HAL=1 + %if 0%{?_with_hal:1} + WITH_HAL=1 \ + %endif + WITH_ACL=1 %install @@ -60,6 +69,7 @@ desktop-file-install --vendor fedora \ --delete-original \ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop + %clean rm -rf $RPM_BUILD_ROOT @@ -78,6 +88,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jul 08 2008 Christoph Wickert - 0.4.1-1 +- Update 0.4.1 +- Revove hal_flags.patch (fixed upstream) +- Remove HAL support until it really works. To enable rebuild "--with hal" + * Wed Apr 02 2008 Christoph Wickert - 0.4.0-1 - Update 0.4.0 - Enable HAL support, but dont install hal by default diff --git a/sources b/sources index 3f1c043..87ea58a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0242f340b642d7de2c09ccc8963e3135 emelfm2-0.4.tar.gz +215d0a872350b4bdb22de940a8f2a4af emelfm2-0.4.1.tar.gz