[svn] r5310 - in trunk/rpms: . artwiz-aleczapka-fonts bfr fluxbox libquicktime p7zip python-xdg vlc webcheck

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Tue Apr 24 12:47:39 CEST 2007


Author: dag
Date: 2007-04-24 12:47:37 +0200 (Tue, 24 Apr 2007)
New Revision: 5310

Added:
   trunk/rpms/artwiz-aleczapka-fonts/
   trunk/rpms/artwiz-aleczapka-fonts/artwiz-aleczapka-fonts.spec
   trunk/rpms/bfr/
   trunk/rpms/bfr/bfr.spec
   trunk/rpms/fluxbox/
   trunk/rpms/fluxbox/fluxbox-xdg-menu.py
   trunk/rpms/fluxbox/fluxbox.spec
   trunk/rpms/libquicktime/libquicktime-1.0.0-plugin_dir.patch
   trunk/rpms/python-xdg/
   trunk/rpms/python-xdg/python-xdg.spec
   trunk/rpms/webcheck/
   trunk/rpms/webcheck/webcheck.spec
Modified:
   trunk/rpms/libquicktime/libquicktime.spec
   trunk/rpms/p7zip/p7zip.spec
   trunk/rpms/vlc/vlc.spec
Log:
Updates

Added: trunk/rpms/artwiz-aleczapka-fonts/artwiz-aleczapka-fonts.spec
===================================================================
--- trunk/rpms/artwiz-aleczapka-fonts/artwiz-aleczapka-fonts.spec	                        (rev 0)
+++ trunk/rpms/artwiz-aleczapka-fonts/artwiz-aleczapka-fonts.spec	2007-04-24 10:47:37 UTC (rev 5310)
@@ -0,0 +1,58 @@
+# $Id$
+# Authority: dag
+
+%define fontdir %{_datadir}/fonts/artwiz-aleczapka
+
+Summary: Set of (improved) artwiz fonts
+%define real_name artwiz-aleczapka-en-sources
+Name: artwiz-aleczapka-fonts
+Version: 1.3
+Release: 1
+License: GPL
+Group: User Interface/X
+URL: http://artwizaleczapka.sourceforge.net/
+
+Source: http://dl.sf.net/artwizaleczapka/artwiz-aleczapka-en-sources-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+#BuildRequires: xorg-x11-font-utils
+
+%description
+artwiz-aleczapka-fonts is set of (improved) artwiz fonts.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+sh makepcf.sh
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -d -m0755 %{buildroot}%{fontdir}/artwiz-aleczapka/
+%{__install} -p -m0644 *.pcf %{buildroot}%{fontdir}/artwiz-aleczapka/
+
+touch %{buildroot}%{fontdir}/artwiz-aleczapka/fonts.cache-{1,2}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+%{_bindir}/fc-cache -f %{_datadir}/fonts/artwiz-aleczapka/ || :
+
+%postun
+if [ $1 -eq 0 ]; then
+        %{_bindir}/fc-cache -f %{_datadir}/fonts/artwiz-aleczapka/ || :
+fi
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS BUGS ChangeLog COPYING NEWS README VERSION
+%dir %{fontdir}/artwiz-aleczapka/
+%{fontdir}/artwiz-aleczapka/*.pcf
+%ghost %{fontdir}/artwiz-aleczapka/fonts.cache-1
+%ghost %{fontdir}/artwiz-aleczapka/fonts.cache-2
+
+%changelog
+* Tue Apr 24 2007 Dag Wieers <dag at wieers.com> - 1.3-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/artwiz-aleczapka-fonts/artwiz-aleczapka-fonts.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/bfr/bfr.spec
===================================================================
--- trunk/rpms/bfr/bfr.spec	                        (rev 0)
+++ trunk/rpms/bfr/bfr.spec	2007-04-24 10:47:37 UTC (rev 5310)
@@ -0,0 +1,61 @@
+# $Id$
+# Authority: dag
+
+Summary: General-purpose command-line pipe buffer
+Name: bfr
+Version: 1.6
+Release: 1
+License: GPL
+Group: System Environment/Base
+URL: http://www.glines.org/wiki/bfr
+
+Source: http://www.glines.org/bin/pk/bfr-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+Buffer is a general-purpose command-line pipe buffer. It buffers data from
+stdin and sends it to stdout, adjusting to best fit the pace stdout can
+handle. It can solve problems on either end of a pipe. For instance, if the
+incoming stream is slower than outgoing, performance is mainly dependent on
+the "start-stream threshold" you set. This can be used to group data into
+larger packets to, for an example, reduce seeking on a tape drive. In the
+case of the outgoing being slower, the "stop-stream threshold" prevents
+unnecessary CPU from being taken up by reading single-bytes and such (if the
+output stream accepts data one byte at a time, for instance), and will
+output-only until the buffer goes down to 97% or so. This speeds up certain
+procedures, such as creating a tar file, gzipping it, and putting it through
+a program such as "netcat". It boosts performance by allowing a certain level
+of detachment between the two... allowing tar and (especially) gzip to do its
+work at the same time the network is doing its work, so you're not sending
+one packet and THEN seeing gzip kick in to create the next.
+
+The Buffer distribution also contains a variant of buffer named Bufplay (bfp).
+Bufplay's purpose is to do the same sort of buffering as Buffer, but it is
+intended for use with OSS, configuring /dev/dsp for the type of sound data
+you specify and playing it. If, for some reason, you want to be cool like me
+and have 60 megs of RAM inbetween mpg123 and your sound card, you can. =)
+
+%prep
+%setup
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+										
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS COPYING NEWS README TODO
+%doc %{_mandir}/man1/bfr.1*
+%{_bindir}/bfp
+%{_bindir}/bfr
+
+%changelog
+* Sun Apr 22 2007 Dag Wieers <dag at wieers.com> - 1.6-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/bfr/bfr.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/fluxbox/fluxbox-xdg-menu.py
===================================================================
--- trunk/rpms/fluxbox/fluxbox-xdg-menu.py	                        (rev 0)
+++ trunk/rpms/fluxbox/fluxbox-xdg-menu.py	2007-04-24 10:47:37 UTC (rev 5310)
@@ -0,0 +1,260 @@
+#!/usr/bin/env python
+# vim: noexpandtab:ts=4:sts=4
+
+"""Menu Generator for Fluxbox
+
+Generates a menu for Fluxbox using the freedesktop.org standards
+
+Usage: fluxbox-xdg-menu.py [options]
+
+Options:
+  -l ..., --lang=...      create the menu using a language. Default = $LANG
+  -h, --help              show this help
+  -f ..., --file=...      output the menu into a file. Default = ~/.fluxbox/menu
+  -t ..., --theme=...     what icon theme you want to use
+  --with-icons            put icons for applications in the menu
+  --stdout                output the menu to standard output
+  --submenu               output to be used as an include/submenu with fluxbox
+  --with-backgrounds      creates a background menu. Default background_paths = 
+                          ~/.fluxbox/backgrounds, /usr/share/wallpapers,
+                          /usr/share/backgrounds
+  --backgrounds-only      do not regenerate menu, only do the bg menu.
+  --bg-path=              path to location to look for images 
+                          example: --bg-path=~/pics  
+			  may be used with --backgrounds-only but --bg-path= 
+			  must be first: --bg-path=~/some/path --backgrounds-only
+
+A nice example string to use: fluxbox-fdo-menugen.py --with-icons --with-backgrounds --bg-path=~/some/path
+To update only the backgrounds: fluxbox-fdo-menugen.py --bg-path=~/some/path --backgrounds-only
+"""
+
+__author__ = "Rudolf Kastl , Antonio Gomes, Michael Rice"
+__version__ = "$Revision: 1.2 $"
+__date__ = "$Date: 2006/10/21 09:38:14 $"
+__license__ = "GPL"
+
+
+import os,re,sys,glob,getopt
+import xdg.Menu,xdg.DesktopEntry,xdg.IconTheme
+from os.path import isfile
+
+def usage():
+	print __doc__
+
+def header(wm="fluxbox"):
+	return """
+[begin] (Fluxbox)
+	[exec] (Web Browser) {htmlview}
+	[exec] (Email) {evolution}
+	[exec] (Terminal) {$TERM}
+	[exec] (Irc) {xchat}
+	[separator]\n"""
+
+def footer(wm="fluxbox"):
+	return """
+	[submenu] (Fluxbox Menu)
+		[config] (Configure)
+		[submenu] (System Styles) {Choose a style...}
+			[stylesdir] (/usr/share/fluxbox/styles)
+			[stylesdir] (/usr/share/commonbox/styles/)
+		[end]
+		[submenu] (User Styles) {Choose a style...}
+			[stylesdir] (~/.fluxbox/styles)
+		[end]
+		[workspaces]   (Workspace List)
+		[submenu] (Tools)
+			[exec] (Window name) {xprop WM_CLASS|cut -d \" -f 2|xmessage -file - -center}
+			[exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
+			[exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
+			[exec] (Run) {fbrun }
+			[exec] (Regen Menu) {fluxbox-generate_menu --with-icons}
+		[end]
+		[submenu] (Window)
+			[restart] (kde) {startkde}
+			[restart] (openbox) {openbox}
+			[restart] (gnome) {gnome-session}
+		[end]
+		[exec] (Lock screen) {xscreensaver-command -lock}
+		[commanddialog] (Fluxbox Command)
+		[reconfig] (Reload config)
+		[restart] (Restart)
+		[separator]
+		[exit] (Exit)
+	[end]
+[end]\n"""	
+
+def checkWm(entry, wm="fluxbox"):
+	if entry.DesktopEntry.getOnlyShowIn() != []:
+		entry.Show = False
+	if entry.DesktopEntry.getNotShowIn() != []:
+		if isinstance(entry, xdg.Menu.MenuEntry):
+			if wm in entry.DesktopEntry.getNotShowIn():
+				entry.Show = False
+			else:
+				entry.Show = True 
+	
+def findIcon(icon, theme):
+	"""Finds the path and filename for the given icon name
+		e.g. gaim --> /usr/share/pixmaps/gaim.png
+		e.g. fart.png --> /usr/share/pixmaps/fart.png
+	"""
+	retval=str(xdg.IconTheme.getIconPath(icon, 48, theme))
+	if retval == "None":
+		retval=""
+
+	return (retval + "").encode('utf8')
+
+def parseMenu(menu,wm,use_icons,theme,depth=1):
+	if use_icons:
+		print "%s[submenu] (%s) <%s> " % ( (depth*"\t"), menu.getName().encode('utf8'),  findIcon(menu.getIcon(), theme) )
+	else:
+		print "%s[submenu] (%s) " % ( (depth*"\t"), menu.getName().encode('utf8'), )
+	depth += 1
+	for entry in menu.getEntries():
+		if isinstance(entry, xdg.Menu.Menu):
+			parseMenu(entry,wm,use_icons,theme,depth)
+		elif isinstance(entry, xdg.Menu.MenuEntry):
+			checkWm(entry,wm)
+			if entry.Show == False: continue
+			if use_icons:
+				print "%s[exec] (%s) {%s} <%s> " % ( (depth*"\t"), entry.DesktopEntry.getName().encode("utf8"), entry.DesktopEntry.getExec().split()[0], findIcon(entry.DesktopEntry.getIcon(), theme) )
+			else:
+				print "%s[exec] (%s) {%s} " % ( (depth*"\t"), entry.DesktopEntry.getName().encode("utf8"), entry.DesktopEntry.getExec().split()[0] )
+		elif isinstance(entry,xdg.Menu.Separator):
+			print "%s[separator]" % (depth*"\t")
+		elif isinstance(entry.xdg.Menu.Header):
+			print "%s%s" % ( (depth*"\t"), entry.Name )
+	depth -= 1
+	print "%s[end]" % (depth*"\t")
+
+def get_bgimgs_and_parse(xPath):
+    try:
+        if isfile(os.path.expanduser("~/.fluxbox/bgmenu")) == True:
+            os.unlink(os.path.expanduser("~/.fluxbox/bgmenu"))
+    except OSError:
+        pass
+    h = {}
+    bg_paths =["~/.fluxbox/backgrounds","/usr/share/wallpapers",
+		"/usr/share/backgrounds","/usr/share/backgrounds/images"]
+    try:
+        if xPath == None:
+           pass
+        else:
+            bg_paths.append(xPath)
+    except(TypeError):
+        pass
+    for dir in bg_paths:
+        for imgpth in bg_paths:
+            try:
+                imgs = os.listdir(os.path.expanduser(imgpth))
+                for i in imgs:
+                    h[i] = imgpth
+            except (OSError):
+                pass
+    bgMenu = open(os.path.expanduser("~/.fluxbox/bgmenu"),'w+')
+    num = len(h)
+    countNum = 1
+    bgPagCk = 1
+    bgPgNum = 1
+    bgMenu.write( "[submenu] (Backgrounds)\n" )
+    bgMenu.write( "[submenu] (Backgrounds) {Set Your Background}\n" )
+    bgMenu.write("\t[exec]  (Random Image)  {fbsetbg -r ~/.fluxbox/backgrounds}\n")
+	types = ["png","jpg","jpeg","gif"]
+    for i in h.keys():
+	    try:
+		    t = i.split(".")[-1].lower()
+			if t in types:
+			    print "Hello"
+			    bgMenu.write( "\t[exec]\t("+ i +") {fbsetbg -f "+ h[i] + "/" + i +"}\n" )
+				countNum = countNum + 1
+				num = num - 1
+				bgPagCk = bgPagCk + 1
+				if bgPagCk == 26:
+				    bgPgNum = bgPgNum + 1
+					bgMenu.write("[end]\n[submenu] (Backgrounds " + str(bgPgNum) +") \
+						{Set Your Background}\n")
+					bgPagCk = 1
+				if num == 0:
+				    bgMenu.write( "[end]\n[end]\n" )
+					bgMenu.close()
+		except(KeyError):
+		    print h[i]
+		    pass
+
+def main(argv):
+# Setting the default values
+	wm = "fluxbox"
+	file = "~/.fluxbox/menu"
+	use_icons = False
+    use_bg = False
+    bg_Xpath = False
+	theme = "gnome"
+	lang = os.getenv("LANG","C")
+	file = os.path.expanduser("~/.fluxbox/menu")
+	do_submenu = False
+	use_stdout = False
+	
+	try:
+		opts, args = getopt.getopt(argv, "hf:dl:d", ["help","lang=","file=","with-icons","stdout",\
+			"theme=","submenu","with-backgrounds","backgrounds-only","bg-path="])
+
+	except getopt.GetoptError:
+		usage()
+		sys.exit(2)
+	for opt, arg in opts:
+		if opt in ("-h", "--help"):
+			usage()
+			sys.exit()
+		elif opt in ("-l", "--lang"):
+			lang = arg
+		elif opt in ("-f", "--file"):
+			file = os.path.expanduser(arg)
+		elif opt == '--with-icons':
+			use_icons = True
+		elif opt in ("-t", "--theme"):
+			theme = arg
+		elif opt == '--stdout':
+			use_stdout = True
+		elif opt == '--stdout':
+			file = sys.stdout
+		elif opt == '--bg-path':
+		    bg_Xpath = True
+			xPath = os.path.expanduser(arg)
+		elif opt == '--with-backgrounds':
+		    use_bg = True
+		elif opt == '--backgrounds-only':
+		    if bg_Xpath:
+			    get_bgimgs_and_parse(xPath)
+			else:
+			    get_bgimgs_and_parse(None)
+				raise SystemExit
+			  
+		elif opt == '--submenu':
+			do_submenu = True
+
+	if not use_stdout:
+		fsock = open(file,'w')
+		saveout = sys.stdout
+		sys.stdout = fsock
+
+	menu=xdg.Menu.parse()
+# is done automatically now
+#	menu.setLocale(lang)
+
+	if not do_submenu:
+        print header()
+	parseMenu(menu,wm,use_icons,theme)
+	if not do_submenu and use_bg and bg_Xpath:
+	    get_bgimgs_and_parse(xPath) 
+	    print "[include] (~/.fluxbox/bgmenu)"
+	if not do_submenu and use_bg and not bg_Xpath:
+	    print "[include] (~/.fluxbox/bgmenu)"
+		get_bgimgs_and_parse(None)
+    if not do_submenu:
+        print footer()
+	if not use_stdout:
+		sys.stdout = saveout
+
+#	print menu
+if __name__ == "__main__":
+	main(sys.argv[1:])

Added: trunk/rpms/fluxbox/fluxbox.spec
===================================================================
--- trunk/rpms/fluxbox/fluxbox.spec	                        (rev 0)
+++ trunk/rpms/fluxbox/fluxbox.spec	2007-04-24 10:47:37 UTC (rev 5310)
@@ -0,0 +1,82 @@
+# $Id$
+# Authority: dag
+
+%{?dist: %{expand: %%define %dist 1}}
+
+%{!?dist:%define _with_modxorg 1}
+%{?fc7:  %define _with_modxorg 1}
+%{?el5:  %define _with_modxorg 1}
+%{?fc6:  %define _with_modxorg 1}
+%{?fc5:  %define _with_modxorg 1}
+
+Summary: Window Manager based on Blackbox
+Name: fluxbox
+Version: 0.9.15.1
+Release: 1
+License: MIT
+Group: User Interface/Desktops
+URL: http://fluxbox.sourceforge.net/
+
+Source0: http://dl.sf.net/fluxbox/fluxbox-%{version}.tar.bz2
+Source1: fluxbox-xdg-menu.py
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: zlib-devel, imlib2-devel, fontconfig-devel
+%{?_with_modxorg:BuildRequires: libICE-devel, libSM-devel, libX11-devel, libXext-devel, libXft-devel, libXinerama-devel, libXpm-devel, libXrandr-devel, libXrender-devel}
+%{!?_with_modxorg:BuildRequires: XFree86-devel}
+Requires: python-xdg, artwiz-aleczapka-fonts
+
+%description
+Fluxbox is yet another windowmanager for X. It's based on the Blackbox 0.61.1
+code. Fluxbox looks like blackbox and handles styles, colors, window placement
+and similar thing exactly like blackbox (100% theme/style compatibility). 
+
+%prep
+%setup
+
+%{__cat} <<EOF >fluxbox.desktop
+[Desktop Entry]
+Encoding=UTF-8
+Name=Fluxbox
+Comment=Very small and fast window manager
+Exec=startfluxbox
+Terminal=False
+TryExec=fluxbox
+
+[Window Manager]
+SessionManaged=true
+EOF
+
+%build
+%configure \
+	--x-includes="%{_includedir}" \
+	--x-libraries="%{_libdir}" \
+	--enable-gnome \
+	--enable-imlib2 \
+	--enable-kde \
+	--enable-nls \
+	--enable-xft \
+	--enable-xinerama
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%{__install} -Dp -m0644 fluxbox.desktop %{buildroot}%{_datadir}/xsessions/
+%{__install} -Dp -m0755 %{SOURCE1} %{buildroot}%{_bindir}/fluxbox-xdg-menu
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
+%doc %{_mandir}/man1/*.1*
+%{_bindir}/*
+%{_datadir}/fluxbox/
+%{_datadir}/xsessions/fluxbox.desktop
+
+%changelog
+* Tue Apr 24 2007 Dag Wieers <dag at wieers.com> - 0.9.15.1-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/fluxbox/fluxbox.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/libquicktime/libquicktime-1.0.0-plugin_dir.patch
===================================================================
--- trunk/rpms/libquicktime/libquicktime-1.0.0-plugin_dir.patch	                        (rev 0)
+++ trunk/rpms/libquicktime/libquicktime-1.0.0-plugin_dir.patch	2007-04-24 10:47:37 UTC (rev 5310)
@@ -0,0 +1,32 @@
+--- configure.ac.orig	2007-04-21 04:11:23.000000000 +0200
++++ configure.ac	2007-04-21 04:13:22.000000000 +0200
+@@ -669,11 +669,8 @@
+ dnl Plugin directory
+ dnl
+ 
+-if test "x$prefix" = xNONE; then
+-  prefix="${ac_default_prefix}"
+-fi
+-if test "x$exec_prefix" = xNONE; then
+-   exec_prefix="${prefix}"
++if test "x$libdir" = xNONE; then
++  libdir="${ac_default_libdir}"
+ fi
+ plugin_dir="$libdir/$PACKAGE"
+ 
+--- configure.orig	2007-04-21 04:11:28.000000000 +0200
++++ configure	2007-04-21 04:14:02.000000000 +0200
+@@ -30076,11 +30076,8 @@
+ 
+ 
+ 
+-if test "x$prefix" = xNONE; then
+-  prefix="${ac_default_prefix}"
+-fi
+-if test "x$exec_prefix" = xNONE; then
+-   exec_prefix="${prefix}"
++if test "x$libdir" = xNONE; then
++  prefix="${ac_default_libdir}"
+ fi
+ plugin_dir="$libdir/$PACKAGE"
+ 

Modified: trunk/rpms/libquicktime/libquicktime.spec
===================================================================
--- trunk/rpms/libquicktime/libquicktime.spec	2007-04-23 14:59:52 UTC (rev 5309)
+++ trunk/rpms/libquicktime/libquicktime.spec	2007-04-24 10:47:37 UTC (rev 5310)
@@ -12,37 +12,41 @@
 
 %{?fc1:%define _without_alsa 1}
 %{?fc1:%define _without_gtk24 1}
+
 %{?el3:%define _without_alsa 1}
 %{?el3:%define _without_gtk24 1}
+
 %{?rh9:%define _without_alsa 1}
 %{?rh9:%define _without_gtk24 1}
 %{?rh9:%define _without_x264 1}
+
 %{?rh8:%define _without_alsa 1}
 %{?rh8:%define _without_gtk24 1}
 %{?rh8:%define _without_x264 1}
+
 %{?rh7:%define _without_1394 1}
 %{?rh7:%define _without_alsa 1}
 %{?rh7:%define _without_gtk24 1}
 %{?rh7:%define _without_x264 1}
+
 %{?el2:%define _without_1394 1}
 %{?el2:%define _without_alsa 1}
 %{?el2:%define _without_gtk24 1}
 %{?el2:%define _without_x264 1}
+
 %{?yd3:%define _without_alsa 1}
 
 #define prever pre1
 
 Summary: Library for reading and writing quicktime files
 Name: libquicktime
-Version: 0.9.10
-Release: 3%{?prever:.%{prever}}
+Version: 1.0.0
+Release: 1%{?prever:.%{prever}}
 License: GPL
 Group: System Environment/Libraries
 URL: http://libquicktime.sourceforge.net/
 Source: http://dl.sf.net/libquicktime/libquicktime-%{version}%{?prever}.tar.gz
-Patch0: libquicktime-0.9.8-plugin_dir.patch
-Patch1: libquicktime-0.9.10-x264.patch
-Patch2: libquicktime-0.9.10-faad2.patch
+Patch0: libquicktime-1.0.0-plugin_dir.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: libdv-devel, libvorbis-devel, lame-devel
 BuildRequires: libpng-devel >= 1.0.8, libjpeg-devel, gcc-c++
@@ -88,9 +92,7 @@
 
 %prep
 %setup -n %{name}-%{version}%{?prever}
-%patch0 -p1 -b .plugin_dir
-%patch1 -p1 -b .x264
-%patch2 -p1 -b .faad2
+%patch0 -p0 -b .plugin_dir
 
 
 %build
@@ -102,7 +104,9 @@
 
 %install
 %{__rm} -rf %{buildroot}
-%makeinstall
+%{__make} install DESTDIR="%{buildroot}"
+%find_lang %{name}
+
 # Add compatibility symlink for "quicktime/lqt.h" includes
 # (for transcode 1.0.0beta3)
 %{__ln_s} lqt %{buildroot}%{_includedir}/quicktime
@@ -117,31 +121,34 @@
 %postun -p /sbin/ldconfig
 
 
-%files
+%files -f %{name}.lang
 %defattr(-, root, root, 0755)
 %doc COPYING README TODO
 %{_bindir}/lqtplay
 %{_bindir}/lqt_transcode
 %{_bindir}/qt*
-%{_libdir}/*.so.*
+%{_libdir}/libquicktime.so.*
 %dir %{_libdir}/libquicktime/
-%{_libdir}/libquicktime/*.so
-%{_mandir}/man1/*
+%{_libdir}/libquicktime/lqt_*.so
+%{_mandir}/man1/lqtplay.1*
 
 %files devel
 %defattr(-, root, root, 0755)
 %{?!_without_gtk24:%{_bindir}/libquicktime_config}
 %{_bindir}/lqt-config
+%{_datadir}/aclocal/*.m4
 %{_includedir}/lqt/
 %{_includedir}/quicktime
 %exclude %{_libdir}/*.la
 %{_libdir}/*.so
-%exclude %{_libdir}/%{name}/*.la
-%{_datadir}/aclocal/*.m4
+%exclude %{_libdir}/libquicktime/*.la
 %{_libdir}/pkgconfig/libquicktime.pc
 
 
 %changelog
+* Sat Apr 21 2007 Dag Wieers <dag at wieers.com> - 1.0.0-1
+- Updated to release 1.0.0.
+
 * Mon Jan  8 2007 Matthias Saou <http://freshrpms.net/> 0.9.10-3
 - Include patch to fix runtime against latest faad2.
 - Add explicit faac, faad2, x264 buildreqs (ffmpeg was pulling them in anyway).

Modified: trunk/rpms/p7zip/p7zip.spec
===================================================================
--- trunk/rpms/p7zip/p7zip.spec	2007-04-23 14:59:52 UTC (rev 5309)
+++ trunk/rpms/p7zip/p7zip.spec	2007-04-24 10:47:37 UTC (rev 5310)
@@ -3,7 +3,7 @@
 
 Summary: Very high compression ratio file archiver
 Name: p7zip
-Version: 4.44
+Version: 4.45
 Release: 1
 License: LGPL
 Group: Applications/Archiving
@@ -91,6 +91,9 @@
 
 
 %changelog
+* Sun Apr 22 2007 Dag Wieers <dag at wieers.com> - 4.45-1
+- Updated to release 4.45.
+
 * Fri Jan 26 2007 Dag Wieers <dag at wieers.com> - 4.44-1
 - Updated to release 4.44.
 

Added: trunk/rpms/python-xdg/python-xdg.spec
===================================================================
--- trunk/rpms/python-xdg/python-xdg.spec	                        (rev 0)
+++ trunk/rpms/python-xdg/python-xdg.spec	2007-04-24 10:47:37 UTC (rev 5310)
@@ -0,0 +1,48 @@
+# $Id$
+# Authority: dag
+
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
+
+Summary: Python library to access freedesktop.org standards
+%define real_name pyxdg
+Name: python-xdg
+Version: 0.15
+Release: 1
+License: LGPL
+Group: Development/Libraries
+URL: http://freedesktop.org/Software/pyxdg
+
+Source: http://www.freedesktop.org/~lanius/pyxdg-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: python-devel
+
+Obsoletes: pyxdg <= %{version}-%{release}
+Provides: pyxdg = %{version}-%{release}
+
+%description
+PyXDG is a python library to access freedesktop.org standards.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING README TODO
+%{python_sitelib}/xdg/
+%ghost %{python_sitelib}/xdg/*.pyo
+
+%changelog
+* Tue Apr 24 2007 Dag Wieers <dag at wieers.com> - 0.15-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/python-xdg/python-xdg.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/vlc/vlc.spec
===================================================================
--- trunk/rpms/vlc/vlc.spec	2007-04-23 14:59:52 UTC (rev 5309)
+++ trunk/rpms/vlc/vlc.spec	2007-04-24 10:47:37 UTC (rev 5310)
@@ -99,8 +99,8 @@
 
 Summary: The VideoLAN client, also a very good standalone video player
 Name: vlc
-Version: 0.8.6a
-Release: 4
+Version: 0.8.6b
+Release: 1
 License: GPL
 Group: Applications/Multimedia
 URL: http://www.videolan.org/
@@ -333,6 +333,9 @@
 
 
 %changelog
+* Sat Apr 21 2007 Dag Wieers <dag at wieers.com> - 0.8.6b-1
+- Updated to release 0.8.6b.
+
 * Wed Mar 28 2007 Matthias Saou <http://freshrpms.net/> 0.8.6a-4
 - Enable upnp support (Paul Stewart).
 

Added: trunk/rpms/webcheck/webcheck.spec
===================================================================
--- trunk/rpms/webcheck/webcheck.spec	                        (rev 0)
+++ trunk/rpms/webcheck/webcheck.spec	2007-04-24 10:47:37 UTC (rev 5310)
@@ -0,0 +1,78 @@
+# $Id$
+# Authority: dag
+
+Summary: Site Management Tool for webmasters
+Name: webcheck
+Version: 1.9.8
+Release: 1
+License: GPL
+Group: Applications/Internet
+URL: http://ch.tudelft.nl/~arthur/webcheck/
+
+Source: http://ch.tudelft.nl/~arthur/webcheck/webcheck-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: python-devel
+Requires: python
+
+Obsoletes: linbot <= %{version}-%{release}
+
+%description
+Webcheck (fka Linbot) allows webmasters to:
+ - View the structure of a site
+ - Track down broken links
+ - Find potentially outdated web pages
+ - List links pointing to external sites
+ - View portfolio of inline images
+ - Do all this periodically and without user intervention
+
+%prep
+%setup
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+
+%{__install} -Dp -m0644 favicon.ico %{buildroot}%{_localstatedir}/www/webcheck/favicon.ico
+%{__install} -Dp -m0644 webcheck.1 %{buildroot}%{_mandir}/man1/webcheck.1
+
+%{__install} -Dp -m0755 webcheck.css %{buildroot}%{_libdir}/webcheck/webcheck.css
+%{__install} -p -m0755 *.py %{buildroot}%{_libdir}/webcheck/
+#%{__cp} -av contrib/ fancytooltips/ parsers/ plugins/ schemes/ %{buildroot}%{_libdir}/webcheck/
+%{__cp} -av fancytooltips/ parsers/ plugins/ schemes/ %{buildroot}%{_libdir}/webcheck/
+
+%{__install} -d -m0755 %{buildroot}%{_bindir}
+%{__ln_s} -f ../lib/webcheck/webcheck.py %{buildroot}%{_bindir}/webcheck
+
+### Generate normal (.pyc) and optimized (.pyo) byte-compiled files.
+%{__python} -c 'import compileall; compileall.compile_dir("%{buildroot}", 10, "/", 1)' 
+%{__python} -O -c 'import compileall; compileall.compile_dir("%{buildroot}", 10, "/", 1)'
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO
+%doc %{_mandir}/man1/webcheck.1*
+%config %{_libdir}/webcheck/config.py
+%{_bindir}/webcheck
+%{_libdir}/webcheck/
+%{_localstatedir}/www/webcheck/
+%ghost %{_libdir}/webcheck/*.pyo
+%ghost %{_libdir}/webcheck/*/*.pyo
+
+%changelog
+* Sat Apr 21 2007 Dag Wieers <dag at wieers.com> - 1.9.8-1
+- Cosmetic changes.
+
+* Tue Apr 17 2007 R P Herrold <info at owlriver.com> 1.9.8-1orc
+- pick up latest, there was a security matter in the intervening time
+  since our last packaging
+
+* Mon Oct 23 2000 Arnaldo Carvalho de Melo <acme at conectiva.com.br>
+- more macros
+- /usr/lib/linbot is part of this package
+
+* Wed Sep 13 2000 Rodrigo Barbosa <rodrigob at conectiva.com>
+- Adopted rpm macros
+- Spec changes to build as non-root


Property changes on: trunk/rpms/webcheck/webcheck.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native



More information about the svn-commits mailing list