rpms/emelfm2/devel emelfm2-0.1.2-makefile.config.patch, NONE, 1.1 emelfm2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christoph Wickert (cwickert) fedora-extras-commits at redhat.com
Tue Sep 27 15:16:18 UTC 2005


Author: cwickert

Update of /cvs/extras/rpms/emelfm2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24557/devel

Modified Files:
	.cvsignore sources 
Added Files:
	emelfm2-0.1.2-makefile.config.patch emelfm2.spec 
Log Message:
auto-import emelfm2-0.1.2-2.fc4 on branch devel from emelfm2-0.1.2-2.fc4.src.rpm

emelfm2-0.1.2-makefile.config.patch:

--- NEW FILE emelfm2-0.1.2-makefile.config.patch ---
--- Makefile.config.orig	2005-09-13 02:06:53.000000000 +0200
+++ Makefile.config	2005-09-22 04:01:53.000000000 +0200
@@ -2,7 +2,7 @@
 ### installation (where) ###
 ############################
 
-PREFIX ?= /usr/local
+PREFIX ?= %PREFIX%
 
 #on debian systems, install to X11R6/bin by default
 ifeq ($(shell ls /etc/debian_version 2>/dev/null), /etc/debian_version)
@@ -12,7 +12,7 @@
 endif
 
 # setting this to 1 makes the default docs dir include the current version no.
-DOCS_VERSION ?= 0
+DOCS_VERSION ?= 1
 
 #defaults for PLUGINS_DIR, DOC_DIR, ICON_DIR, LOCALE_DIR are set in Makefile
 
@@ -82,7 +82,7 @@
 
 # setting this to 1 includes code (not much) that is applicable  
 # only to Gtk versions > 2.4
-USE_LATEST ?= 0
+USE_LATEST ?= 1
 
 #########################
 ### documentation ###


--- NEW FILE emelfm2.spec ---
Name:           emelfm2
Version:        0.1.2
Release:        2%{?dist}
Summary:        A file manager that implements the popular two-pane design

Group:          Applications/File
License:        GPL
URL:            http://emelfm2.org/
Source0:        http://emelfm2.org/rel/emelfm2-%{version}.tar.gz
Patch0:		%{name}-0.1.2-makefile.config.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gtk2-devel >= 2.4.0, gettext, desktop-file-utils

%description
emelFM2 is the GTK+2 port of emelFM. emelFM2 is a file manager that implements 
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 -q
%patch0 -p0 -b .orig
sed -i 's!%PREFIX%'!'%{_prefix}!' Makefile.config
# fix broken icon in emelfm2.desktop
sed -i 's!emelfm2/icon_emelfm2_48.png!%{_datadir}/pixmaps/emelfm2/emelfm2_48.png!' docs/desktop_environment/%{name}.desktop

%build
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT%{_prefix}
make install_i18n PREFIX=$RPM_BUILD_ROOT%{_prefix}

%find_lang %{name}

desktop-file-install --vendor fedora                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
        --add-category X-Fedora                                 \
	--add-category Application                            	\
	--add-category Utility                                	\
	--delete-original                                       \
        ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc docs/ACTIONS docs/CHANGELOG docs/CONFIGURATION docs/CREDITS docs/HACKING 
%doc docs/PLUGINS docs/README docs/ROADMAP docs/TODO docs/USAGE docs/WARNING 
%doc docs/help.txt docs/GPL docs/LGPL
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/application-registry/%{name}.applications
%{_datadir}/pixmaps/%{name}

	
%changelog
* Mon Sep 26 2005 Christoph Wickert <wickerpms at arcor.de> - 0.1.2-2
- removed broken-icon.patch (using sed instead).
- removed hardcoded /usr from makefile.config-patch.
- Minor specfile changes (#168608).

* Sun Sep 18 2005 Christoph Wickert <wickerpms at arcor.de> - 0.1.2-1
- Update to 0.1.2.

* Sun Sep 11 2005 Christoph Wickert <wickerpms at arcor.de> - 0.1.1-2
- Using destop-file-install.
- Several fixes for FE.

* Sun Aug 21 2005 Christoph Wickert <wickerpms at arcor.de> - 0.1.1-1.fc4.cw
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/emelfm2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Sep 2005 15:14:49 -0000	1.1
+++ .cvsignore	27 Sep 2005 15:16:16 -0000	1.2
@@ -0,0 +1 @@
+emelfm2-0.1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/emelfm2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Sep 2005 15:14:49 -0000	1.1
+++ sources	27 Sep 2005 15:16:16 -0000	1.2
@@ -0,0 +1 @@
+33b0f1bd8f0119c9a6122f39d6073710  emelfm2-0.1.2.tar.gz




More information about the fedora-extras-commits mailing list