rpms/uzbl/F-11 import.log, NONE, 1.1 uzbl.desktop, NONE, 1.1 uzbl.patch, NONE, 1.1 uzbl.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Daiki Ueno ueno at fedoraproject.org
Fri Mar 26 03:15:49 UTC 2010


Author: ueno

Update of /cvs/pkgs/rpms/uzbl/F-11
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4934/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log uzbl.desktop uzbl.patch uzbl.spec 
Log Message:
Import uzbl.



--- NEW FILE import.log ---
uzbl-0-0_8_20100221gitabbffe5c3:F-11:uzbl-0-0.8.20100221gitabbffe5c3.src.rpm:1269573276


--- NEW FILE uzbl.desktop ---
[Desktop Entry]
Name=Uzbl
GenericName=Uzbl Web Browser
Comment=Browse the Web
Exec=uzbl-browser
Icon=uzbl
Terminal=false
Type=Application
Categories=Network;WebBrowser;

uzbl.patch:
 Makefile |   24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

--- NEW FILE uzbl.patch ---
diff -ru uzbl-abbffe5c3.orig/Makefile uzbl-abbffe5c3/Makefile
--- uzbl-abbffe5c3.orig/Makefile	2010-02-19 05:51:18.000000000 +0900
+++ uzbl-abbffe5c3/Makefile	2010-03-13 18:17:35.103876347 +0900
@@ -1,15 +1,14 @@
 # first entries are for gnu make, 2nd for BSD make.  see http://lists.uzbl.org/pipermail/uzbl-dev-uzbl.org/2009-July/000177.html
 
-CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -lgthread-2.0 -DCOMMIT="\"$(shell ./misc/hash.sh)\"" $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic
+CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DCOMMIT="\"$(shell ./misc/hash.sh)\"" $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic ${RPM_OPT_FLAGS}
 CFLAGS!=echo -std=c99 `pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -ggdb -Wall -W -DARCH='"\""'`uname -m`'"\""' -lgthread-2.0 -DCOMMIT='"\""'`./misc/hash.sh`'"\""' $(CPPFLAGS) -fPIC -W -Wall -Wextra -pedantic
 
-LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -pthread $(LDFLAGS)
+LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0 x11) -pthread $(LDFLAGS)
 LDFLAGS!=echo `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -pthread $(LDFLAGS)
 
 SRC = $(wildcard src/*.c)
 HEAD = $(wildcard src/*.h)
-TOBJ = $(SRC:.c=.o)
-OBJ = $(foreach obj, $(TOBJ), $(notdir $(obj)))
+OBJ = $(SRC:.c=.o)
 
 all: uzbl-browser options
 
@@ -23,17 +22,12 @@
 
 
 .c.o:
-	@echo COMPILING $<
-	@${CC} -c ${CFLAGS} $<
-	@echo ... done.
+	${CC} -o $@ -c ${CFLAGS} $<
 
 ${OBJ}: ${HEAD}
 
-uzbl-core: ${TOBJ} # why doesn't ${OBJ} work?
-	@echo
-	@echo LINKING object files
-	@${CC} -o $@ ${OBJ} ${LDFLAGS}
-	@echo ... done.
+uzbl-core: ${OBJ}
+	${CC} -o $@ ${OBJ} ${LDFLAGS}
 
 
 uzbl-browser: uzbl-core
@@ -100,14 +94,9 @@
 
 install-uzbl-core: all
 	install -d $(INSTALLDIR)/bin
-	install -d $(INSTALLDIR)/share/uzbl/docs
 	install -d $(INSTALLDIR)/share/uzbl/examples
-	cp -rp docs         $(INSTALLDIR)/share/uzbl/
-	cp -rp src/config.h $(INSTALLDIR)/share/uzbl/docs/
 	cp -rp examples     $(INSTALLDIR)/share/uzbl/
 	install -m755 uzbl-core    $(INSTALLDIR)/bin/uzbl-core
-	install -m644 AUTHORS      $(INSTALLDIR)/share/uzbl/docs
-	install -m644 README       $(INSTALLDIR)/share/uzbl/docs
 	sed -i 's#^set prefix.*=.*#set prefix     = $(RUN_PREFIX)#' $(INSTALLDIR)/share/uzbl/examples/config/config
 
 install-uzbl-browser:
@@ -117,6 +106,7 @@
 	install -m755 examples/data/scripts/uzbl-event-manager $(INSTALLDIR)/bin/uzbl-event-manager
 	sed -i 's#^PREFIX=.*#PREFIX=$(RUN_PREFIX)#' $(INSTALLDIR)/bin/uzbl-browser
 	sed -i "s#^PREFIX = .*#PREFIX = '$(RUN_PREFIX)'#" $(INSTALLDIR)/bin/uzbl-event-manager
+	cp -r icons $(INSTALLDIR)/share
 
 install-uzbl-tabbed:
 	install -d $(INSTALLDIR)/bin


--- NEW FILE uzbl.spec ---
%global		uzblcommit	abbffe5c3
Name:		uzbl
Version:	0
Release:	0.8.20100221git%{uzblcommit}
License:	GPLv3
URL:		http://www.uzbl.org
# The source for this package was pulled from upstream's vcs.  Use the
# following commands to generate the tarball:
#  git clone git://github.com/Dieterbe/uzbl.git
#  cd uzbl
#  export uzblcommit=abbffe5c3
#  git archive --format tar --prefix uzbl-${uzblcommit}/ ${uzblcommit} |\
#      gzip -c > ../uzbl-${uzblcommit}.tar.gz
Source0:	%{name}-%{uzblcommit}.tar.gz
Source1:	%{name}.desktop
Patch0:		%{name}.patch
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	webkitgtk-devel, desktop-file-utils
Requires: perl, bash

Summary:	Lightweight WebKit browser following the UNIX philosophy
Group:		Applications/Internet

%description
Uzbl is a lightweight web browser based on WebKit/Gtk+.  Uzbl follows
the UNIX philosophy - "Write programs that do one thing and do it
well. Write programs to work together. Write programs to handle text
streams, because that is a universal interface."

%prep
%setup -q -n %{name}-%{uzblcommit}
%patch0 -p1
mkdir -p icons/hicolor/32x32/apps
mv examples/data/uzbl.png icons/hicolor/32x32/apps

%build
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} install
cp -pr icons ${RPM_BUILD_ROOT}%{_datadir}
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE1}


%clean
rm -rf $RPM_BUILD_ROOT


%post
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :


%postun
if [ $1 -eq 0 ]; then
  touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
fi


%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :


%files
%defattr(-, root, root, -)
%doc AUTHORS LICENSE README docs/* src/config.h
%{_bindir}/*
%{_datadir}/%{name}/
%{_datadir}/icons/*/*/apps/%{name}.*
%{_datadir}/applications/%{name}.desktop

%changelog
* Fri Mar 19 2010 Daiki Ueno <ueno at unixuser.org> - 0-0.8.20100221gitabbffe5c3
- use the macro "global" instead of "define".

* Thu Mar 18 2010 Daiki Ueno <ueno at unixuser.org> - 0-0.7.20100221gitabbffe5c3
- copy files under /usr/share/uzbl/ only once.

* Tue Mar 16 2010 Daiki Ueno <ueno at unixuser.org> - 0-0.6.20100221gitabbffe5c3
- preserve timestamp of installed files.
- include scriptlets for icon cache.
- claim ownership of the directory "uzbl" under datadir.

* Sat Mar 13 2010 Daiki Ueno <ueno at unixuser.org> - 0-0.5.20100221gitabbffe5c3
- install 32x32 icon under the standard icon path.
- fix the executable name in uzbl.desktop.
- prevent re-compilation on "make install".
- install examples/* under /usr/share/uzbl/examples, since the path is
  hard-coded in bundled scripts.

* Mon Mar  8 2010 Daiki Ueno <ueno at unixuser.org> - 0-0.4.20100221gitabbffe5c3
- make sure support scripts are not executable.

* Sun Mar  7 2010 Daiki Ueno <ueno at unixuser.org> - 0-0.3.20100221gitabbffe5c3
- use LDFLAGS from x11.pc to follow the F-13 DSO linking change.

* Sun Mar  7 2010 Daiki Ueno <ueno at unixuser.org> - 0-0.2.20100221gitabbffe5c3
- don't use Epoch.
- make the build log more verbose.
- don't use the makeinstall macro and use _prefix macro.
- include uzbl.desktop.
- install all document files under /usr/share/doc/uzbl-0.

* Sun Feb 21 2010 Daiki Ueno <ueno at unixuser.org> - 1:0-0.1.20100221gitabbffe5c3
- initial packaging for fedora.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/uzbl/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	25 Mar 2010 20:59:29 -0000	1.1
+++ .cvsignore	26 Mar 2010 03:15:48 -0000	1.2
@@ -0,0 +1 @@
+uzbl-abbffe5c3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/uzbl/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	25 Mar 2010 20:59:29 -0000	1.1
+++ sources	26 Mar 2010 03:15:48 -0000	1.2
@@ -0,0 +1 @@
+0faa2940b9331461ff0b88a0cc8ee2ac  uzbl-abbffe5c3.tar.gz



More information about the scm-commits mailing list