Browse Source

nanny, python-hachoir-regex: new package, others: fix spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4628 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 13 years ago
parent
commit
4c5adf1af9

+ 1 - 1
g/gnome-panel/gnome-panel-vl.spec

@@ -284,7 +284,7 @@ fi
 
 
 %changelog
-* Sat Aug 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
+* Sat Aug 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
 - new upstream release
 - drop old Patches
 - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel

+ 116 - 0
n/nanny/nanny-vl.spec

@@ -0,0 +1,116 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
+
+%define pkg_version 2.31.1
+%define pkg_release 1%{?_dist_release}
+
+Summary:	An easy way to control what your kids are doing in the computer.
+Summary(ja):	子どもがコンピュータ上で操作できる内容を簡単に制限する
+Name:		nanny
+Version:	%{pkg_version}
+Release:	%{pkg_release}
+
+Source0:	%{name}-%{version}.tar.bz2
+Source1:	initd.nanny
+
+Patch0:		nanny-fix-admin-console-desktop.patch
+
+License:	GPL2
+Group:		Applications/System 
+URL:		http://projects.gnome.org/nanny/ 
+
+Requires:	python >= 2.6
+Requires:	gnome-python-libgtop2
+Requires:	python-hachoir-regex
+Requires:	python-imaging
+Requires:	python-twisted
+
+BuildRequires:	python-devel >= 2.6
+BuildRequires:	glib2-devel >= 2.16.0
+BuildRequires:	gtk2-devel >= 2.17.4
+BuildRequires:	gnome-desktop-devel >= 2.26.0
+BuildRequires:	GConf2-devel >= 2.16.0
+BuildRequires:	cairo-devel
+BuildRequires:	dbus-glib-devel
+BuildRequires:	dbus-python-devel
+BuildRequires:	glade3-devel
+BuildRequires:	libgtop2-devel
+BuildRequires:	pango-devel
+BuildRequires:	pygtk2-devel
+
+BuildRequires:	python-twisted
+BuildRequires:	python-imaging
+BuildRequires:	python-hachoir-regex
+BuildRequires:	gnome-python-libgtop2
+BuildRequires:	gnome-doc-utils >= 0.3.2
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: Takemikaduchi
+
+
+%description
+Gnome Nanny is an easy way to control what your kids are doing in the computer.
+You can limit how much time a day each one of them is browsing the web, chatting
+or doing email. You can also decide at which times of the day the can do this
+things. Gnome Nanny filters what web pages are seen by each user, so you can block
+all undesirable webs and have your kids enjoy the internet with ease of mind,
+no more worries!
+
+%prep
+%setup -q
+%patch0
+
+
+%build
+%configure --with-init-scripts=redhat
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
+
+install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/nanny
+
+%find_lang %{name} --with-gnome
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%post
+touch --no-create %{_datadir}/icons/hicolor & > /dev/null
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+update-desktop-database &> /dev/null ||:
+
+%postun
+update-desktop-database -q & > /dev/null || :
+if [ $1 -eq 0 ]; then
+	touch --no-create %{_datadir}/icons/hicolor & > /dev/null
+	%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor & > /dev/null
+fi
+
+
+%files -f %{name}.lang
+%defattr(-,root,root)
+%doc COPYING ChangeLog NEWS README
+%config %{_sysconfdir}/dbus-1/system.d/nanny-daemon.conf
+%{_sysconfdir}/%{name}/applists/*
+%{_sysconfdir}/rc.d/init.d/nanny
+%{_sysconfdir}/xdg/autostart/nanny-systray.desktop
+%{_bindir}/nanny-systray
+%{python_sitelib}/%{name}/*
+%{_sbindir}/nanny-admin-console
+%{_sbindir}/nanny-desktop-blocker
+%{_datadir}/applications/nanny-admin-console.desktop
+%{_datadir}/icons/hicolor/*/apps/*
+%{_datadir}/%{name}/*
+%{_datadir}/polkit-1/actions/org.gnome.nanny.policy
+
+
+%changelog
+* Sat Aug 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.31.1-1
+- initial build for Vine Linux
+

+ 51 - 0
p/python-hachoir-regex/python-hachoir-regex-vl.spec

@@ -0,0 +1,51 @@
+# sitelib for noarch packages, sitearch for others (remove the unneeded one)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
+%{!?python_version: %global python_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print get_python_version()")}
+
+Name:       python-hachoir-regex
+Version:    1.0.5
+Release:    1%{?_dist_release}
+Summary:    A python library for regular expression (regex or regexp) manupulation.
+
+Group:      System Environment/Libraries
+License:    GPLv2+
+URL:        https://bitbucket.org/haypo/hachoir/wiki/hachoir-regex
+Source0:    http://cheeseshop.python.org/packages/source/h/hachoir-regex/hachoir-regex-%{version}.tar.gz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:  noarch
+
+BuildRequires:  python-devel
+
+Vendor: Project Vine
+Distribution: Vine Linux
+
+%description
+choir-regex is a Python library for regular expression (regex or regexp)
+manupulation. You can use a|b (or) and a+b (and) operators. Expressions are
+optimized during the construction: merge ranges, simplify repetitions, etc.
+It also contains a class for pattern matching allowing to search multiple
+strings and regex at the same time.
+
+
+%prep
+%setup -q -n hachoir-regex-%{version}
+
+%build
+%{__python} ./setup.py build
+
+%install
+rm -rf %buildroot
+%{__python} ./setup.py install --root $RPM_BUILD_ROOT
+
+%clean
+rm -rf %buildroot
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README AUTHORS
+%{python_sitelib}/hachoir_regex/
+%{python_sitelib}/hachoir_regex-%{version}-py%{python_version}.egg-info
+
+%changelog
+* Sat Aug 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp 1.0.5-1
+- initial build for Vine Linux

+ 3 - 2
x/xorg-x11-drv-intel/xorg-x11-drv-intel-vl.spec

@@ -86,7 +86,7 @@ Debugging tools for Intel graphics chips
 
 %patch101 -p1 -b .copy-fb
 
-%patch200 -p1 -b .disable-dri
+#%patch200 -p1 -b .disable-dri
 
 %build
 autoreconf -vi
@@ -147,8 +147,9 @@ fi ||:
 
 
 %changelog
-* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.15.0-6
+* Sat Aug 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.15.0-6
 - rebuild with xcb-util-0.3.8
+- drop Patch200
 
 * Tue Jul 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.0-5
 - update to disable copy_fb on sandybridge/ivybridge