rpms/scratchpad/devel scratchpad-0.3.0-desktophidden.patch, NONE, 1.1 scratchpad.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Sindre Pedersen Bjørdal (sindrepb)
fedora-extras-commits at redhat.com
Sun May 6 14:25:38 UTC 2007
Author: sindrepb
Update of /cvs/extras/rpms/scratchpad/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19742/devel
Modified Files:
.cvsignore sources
Added Files:
scratchpad-0.3.0-desktophidden.patch scratchpad.spec
Log Message:
"add scatchpad, maintained by me"
scratchpad-0.3.0-desktophidden.patch:
--- NEW FILE scratchpad-0.3.0-desktophidden.patch ---
--- scratchpad-0.3.0/data/scratchpad.desktop.orig 2007-05-03 17:28:31.000000000 +0200
+++ scratchpad-0.3.0/data/scratchpad.desktop 2007-05-03 17:29:12.000000000 +0200
@@ -9,3 +9,4 @@ StartupNotify=true
MimeType=text/plain;
Icon=scratchpad
Categories=Application;Utility;TextEditor;
+Hidden=true
--- NEW FILE scratchpad.spec ---
Name: scratchpad
Version: 0.3.0
Release: 3%{?dist}
Summary: Spatial text editor for the GNOME desktop
Group: Applications/Editors
License: GPL
URL: http://dborg.wordpress.com/scratchpad/
Source0: http://braindump.chorse.org/stuff/scratchpad/%{name}-%{version}.tar.bz2
#Starting the application from the gnome menu just gives a popup window that
# states that the software is intended to be used by opening an existing file
# in the file manager.
#Patch adds Hidden=true to desktop file to hide it from the menu
Patch0: scratchpad-0.3.0-desktophidden.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtksourceview-devel, gnome-vfs2-devel, GConf2-devel
BuildRequires: desktop-file-utils
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
%description
Scratchpad is a spatial text editor for the GNOME desktop. It is based on
gtksourceview, which provides most essential features for source code
editing. On top of this Scratchpad offers a lightweight, intuitive and
forward-thinking user interface as well as additional editing features to
make your life easier.
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --vendor fedora --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Application \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
fi
%post
update-desktop-database &> /dev/null ||:
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
fi
%postun
update-desktop-database &> /dev/null ||:
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/*
%{_datadir}/scratchpad
%config(noreplace) %{_sysconfdir}/gconf/schemas/*
%{_datadir}/pixmaps/*
%{_datadir}/applications/*
%changelog
* Thu May 03 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.0-3
- Add patch for Hidden=true on .desktop-file
* Tue May 01 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.0-2
- Add NEWS file
- Fix broken url in Source
* Mon Mar 12 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.0-1
- Initial build
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/scratchpad/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 May 2007 05:40:54 -0000 1.1
+++ .cvsignore 6 May 2007 14:25:04 -0000 1.2
@@ -0,0 +1 @@
+scratchpad-0.3.0.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/scratchpad/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 May 2007 05:40:54 -0000 1.1
+++ sources 6 May 2007 14:25:04 -0000 1.2
@@ -0,0 +1 @@
+12ec467f5670150a79964c00f593157c scratchpad-0.3.0.tar.bz2
More information about the fedora-extras-commits
mailing list