]> git.pld-linux.org Git - packages/gnome-tweaks.git/commitdiff
- new
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 19 Mar 2011 19:19:56 +0000 (19:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnome-tweak-tool.spec -> 1.1
    pyc.patch -> 1.1

gnome-tweak-tool.spec [new file with mode: 0644]
pyc.patch [new file with mode: 0644]

diff --git a/gnome-tweak-tool.spec b/gnome-tweak-tool.spec
new file mode 100644 (file)
index 0000000..d9c6d02
--- /dev/null
@@ -0,0 +1,55 @@
+Summary:       A tool to customize advanced GNOME 3 options
+Summary(pl.UTF-8):     Narzędzie do dostosowywania zaawansowanych opcji GNOME 3
+Name:          gnome-tweak-tool
+Version:       2.91.92
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/2.91/%{name}-%{version}.tar.bz2
+# Source0-md5: cdd1cd3f2f3d2c161c4c86f234d100c6
+Patch0:                pyc.patch
+URL:           http://live.gnome.org/GnomeTweakTool
+BuildRequires: GConf2-devel
+BuildRequires: gsettings-desktop-schemas-devel >= 2.91.90
+BuildRequires: pkgconfig
+BuildRequires: python-pygobject-devel >= 2.28.0
+Requires:      gsettings-desktop-schemas >= 2.91.90
+Requires:      gtk+3 >= 3.0.0
+Requires:      python-pygobject >= 2.28.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A tool to customize advanced GNOME 3 options.
+
+%description -l pl.UTF-8
+Narzędzie do dostosowywania zaawansowanych opcji GNOME 3.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%attr(755,root,root) %{_bindir}/gnome-tweak-tool
+%dir %{py_sitescriptdir}/gtweak
+%{py_sitescriptdir}/gtweak/*.py[co]
+%dir %{py_sitescriptdir}/gtweak/tweaks
+%{py_sitescriptdir}/gtweak/tweaks/*.py[co]
+%{_datadir}/gnome-tweak-tool
+%{_desktopdir}/gnome-tweak-tool.desktop
diff --git a/pyc.patch b/pyc.patch
new file mode 100644 (file)
index 0000000..c5c893b
--- /dev/null
+++ b/pyc.patch
@@ -0,0 +1,12 @@
+diff -urN gnome-tweak-tool-2.91.92/gtweak/tweakmodel.py gnome-tweak-tool-2.91.92.new//gtweak/tweakmodel.py
+--- gnome-tweak-tool-2.91.92/gtweak/tweakmodel.py      2011-03-09 20:33:40.000000000 +0000
++++ gnome-tweak-tool-2.91.92.new//gtweak/tweakmodel.py 2011-03-19 12:46:22.703334424 +0000
+@@ -67,7 +67,7 @@
+         if 1:
+             tweak_files = [
+                     os.path.splitext(os.path.split(f)[-1])[0]
+-                        for f in glob.glob(os.path.join(self._tweak_dir, "tweak_*.py"))]
++                        for f in glob.glob(os.path.join(self._tweak_dir, "tweak_*.pyc"))]
+         else:
+             tweak_files = ["tweak_test"]
This page took 0.114599 seconds and 4 git commands to generate.