rpms/file-browser-applet/F-9 fba-cflags.patch, NONE, 1.1 fba-libexecdir.patch, NONE, 1.1 file-browser-applet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Deji Akingunola (deji)
fedora-extras-commits at redhat.com
Tue Jun 3 19:35:48 UTC 2008
- Previous message: rpms/file-browser-applet/devel fba-cflags.patch, NONE, 1.1 fba-libexecdir.patch, NONE, 1.1 file-browser-applet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/file-browser-applet/F-8 fba-cflags.patch, NONE, 1.1 fba-libexecdir.patch, NONE, 1.1 file-browser-applet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: deji
Update of /cvs/pkgs/rpms/file-browser-applet/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17929/F-9
Modified Files:
.cvsignore sources
Added Files:
fba-cflags.patch fba-libexecdir.patch file-browser-applet.spec
Log Message:
Initial import
fba-cflags.patch:
--- NEW FILE fba-cflags.patch ---
--- CMakeLists.txt 2008-04-15 14:58:59.000000000 -0400
+++ CMakeLists.txt.new2 2008-05-26 20:14:09.000000000 -0400
@@ -1,7 +1,7 @@
PROJECT (FILE_BROWSER_APPLET C)
#compiler flags
-SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -g -Wall -ansi")
+SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ansi")
#install path options
IF (NOT DEFINED CMAKE_INSTALL_PATH)
fba-libexecdir.patch:
--- NEW FILE fba-libexecdir.patch ---
--- INSTALL 2008-04-15 14:58:59.000000000 -0400
+++ INSTALL.new 2008-05-26 19:53:34.000000000 -0400
@@ -21,6 +21,7 @@
There are 4 configuration options available:
* CMAKE_INSTALL_PATH
* CMAKE_INSTALL_LIB_DIR
+ * CMAKE_INSTALL_LIBEXEC_DIR
* CMAKE_INSTALL_GCONF_SCHEMA_DIR
* CMAKE_INSTALL_GLADEUI_DIR
@@ -29,10 +30,12 @@
CMAKE_INSTALL_PATH/share/pixmaps and
CMAKE_INSTALL_PATH/share/icons/hicolor/128x128/apps. The default is /usr.
-CMAKE_INSTALL_LIB_DIR specifies the installation prefix of the binary
-application file and bonobo server file which are installed in
-CMAKE_INSTALL_LIB_DIR/gnome-panel and CMAKE_INSTALL_LIB_DIR/bonobo/servers
-respectively. The default is CMAKE_INSTALL_PATH/lib.
+CMAKE_INSTALL_LIB_DIR specifies the installation prefix of the bonobo server
+file which are installed in CMAKE_INSTALL_LIB_DIR/bonobo/servers.
+The default is CMAKE_INSTALL_PATH/lib.
+
+CMAKE_INSTALL_LIBEXEC_DIR specifies the installation prefix of the binary
+application file. The default is CMAKE_INSTALL_PATH/libexec.
CMAKE_INSTALL_GCONF_SCHEMA_DIR specifies the installation prefix of the gconf schema
file. The default is CMAKE_INSTALL_PATH/share/gconf/schemas
--- CMakeLists.txt 2008-04-15 14:58:59.000000000 -0400
+++ CMakeLists.txt.new 2008-05-26 20:12:15.000000000 -0400
@@ -14,6 +14,11 @@
ENDIF (NOT DEFINED CMAKE_INSTALL_LIB_DIR)
MESSAGE ("Using CMAKE_INSTALL_LIB_DIR=${CMAKE_INSTALL_LIB_DIR}")
+IF (NOT DEFINED CMAKE_INSTALL_LIBEXEC_DIR)
+ SET (CMAKE_INSTALL_LIBEXEC_DIR "${CMAKE_INSTALL_PATH}/libexec")
+ENDIF (NOT DEFINED CMAKE_INSTALL_LIBEXEC_DIR)
+MESSAGE ("Using CMAKE_INSTALL_LIBEXEC_DIR=${CMAKE_INSTALL_LIBEXEC_DIR}")
+
IF(NOT DEFINED CMAKE_INSTALL_GCONF_SCHEMA_DIR)
SET(CMAKE_INSTALL_GCONF_SCHEMA_DIR "${CMAKE_INSTALL_PATH}/share/gconf/schemas")
ENDIF(NOT DEFINED CMAKE_INSTALL_GCONF_SCHEMA_DIR)
--- src/CMakeLists.txt 2008-04-15 14:58:59.000000000 -0400
+++ src/CMakeLists.txt.new 2008-05-26 19:55:09.000000000 -0400
@@ -37,7 +37,7 @@
SET (LIBS panel-applet-2 glade-2.0 gnome-desktop-2 gnomevfs-2)
TARGET_LINK_LIBRARIES (${EXEC} ${LIBS})
-INSTALL (TARGETS ${EXEC} DESTINATION "${CMAKE_INSTALL_LIB_DIR}/gnome-panel")
+INSTALL (TARGETS ${EXEC} DESTINATION "${CMAKE_INSTALL_LIBEXEC_DIR}")
#FIXME this tries to configure the glade xml file path
#CONFIGURE_FILE (${FILE_BROWSER_APPLET_SOURCE_DIR}/src/preferences.h ${FILE_BROWSER_APPLET_SOURCE_DIR}/src/preferences.h)
--- data/GNOME_FileBrowserApplet_Factory.server.in 2008-04-15 14:58:59.000000000 -0400
+++ data/GNOME_FileBrowserApplet_Factory.server.in.new 2008-05-26 19:56:03.000000000 -0400
@@ -2,7 +2,7 @@
<oaf_server iid="OAFIID:GNOME_FileBrowserApplet_Factory"
type="exe"
- location="${CMAKE_INSTALL_LIB_DIR}/gnome-panel/file-browser-applet">
+ location="${CMAKE_INSTALL_LIBEXEC_DIR}/file-browser-applet">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/GenericFactory:1.0"/>
--- NEW FILE file-browser-applet.spec ---
Name: file-browser-applet
Version: 0.5.6
Release: 2%{?dist}
Summary: File Browser Applet for the GNOME Panel
Group: User Interface/Desktops
License: GPLv2+
URL: http://code.google.com/p/gnome-menu-file-browser-applet/
Source0: http://gnome-menu-file-browser-applet.googlecode.com/files/%{name}-%{version}.tar.gz
Patch0: fba-libexecdir.patch
Patch1: fba-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake >= 2.4.5
BuildRequires: gnome-vfs2-devel
BuildRequires: libglade2-devel
BuildRequires: gnome-panel-devel
BuildRequires: gnome-desktop-devel
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun):GConf2
%description
File Browser Applet is an applet for the GNOME Panel. It lets you browse
and open files in your home directory from the gnome panel, without having to
open a file manager. It is _not_ intended as replacement to proper file
managers like nautilus. Sometimes you (like me) just want to open a file and
don't want to have to open a file manager, browse to and open the file, then
close the file manager. This Applet just saves you couple of clicks.
%prep
%setup -q
%patch0 -p0 -b .libexec
%patch1 -p0 -b .flags
%build
mkdir fedora
cd fedora
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
export FFLAGS="%{optflags}"
cmake -DCMAKE_INSTALL_PATH=%{_prefix} \
-DCMAKE_INSTALL_LIB_DIR=%{_libdir} \
-DCMAKE_INSTALL_LIBEXEC_DIR=%{_libexecdir} \
-DCMAKE_INSTALL_GCONF_SCHEMA_DIR=%{_sysconfdir}/gconf/schemas ..
make VERBOSE=1 %{?_smp_mflags}
%install
rm -rf %{buildroot}
cd fedora
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/file-browser-applet.schemas >/dev/null || :
fi
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/file-browser-applet.schemas > /dev/null || :
fi
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/file-browser-applet.schemas > /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%doc COPYING HISTORY README
%{_libdir}/bonobo/servers/GNOME_FileBrowserApplet_Factory.server
%{_libexecdir}/file-browser-applet
%{_datadir}/file-browser-applet/
%{_datadir}/icons/hicolor/128x128/apps/file-browser-applet.png
%{_datadir}/pixmaps/file-browser-applet.png
%{_sysconfdir}/gconf/schemas/file-browser-applet.schemas
%changelog
* Mon May 26 2008 Deji Akingunola <dakingun at gmail.com> - 0.5.6-2
- Fixes arising from Fedora Packaging review (#446160)
* Wed Mar 19 2008 Deji Akingunola <dakingun at gmail.com> - 0.5.6-1
- Initial packaging for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/file-browser-applet/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 3 Jun 2008 16:20:58 -0000 1.1
+++ .cvsignore 3 Jun 2008 19:35:03 -0000 1.2
@@ -0,0 +1 @@
+file-browser-applet-0.5.6.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/file-browser-applet/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 3 Jun 2008 16:20:58 -0000 1.1
+++ sources 3 Jun 2008 19:35:03 -0000 1.2
@@ -0,0 +1 @@
+ccd2ddc0ca85aaaa8ff66445668912cb file-browser-applet-0.5.6.tar.gz
- Previous message: rpms/file-browser-applet/devel fba-cflags.patch, NONE, 1.1 fba-libexecdir.patch, NONE, 1.1 file-browser-applet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/file-browser-applet/F-8 fba-cflags.patch, NONE, 1.1 fba-libexecdir.patch, NONE, 1.1 file-browser-applet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list