Package driconf: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | %define name driconf %define version 0.9.1 %define release alt2 %setup_python_module %name Summary: DRI Configuration GUI Summary(ru_RU.KOI8-R): \xe7\xd2\xc1\xc6\xc9\xde\xc5\xd3\xcb\xc1\xd1 \xd5\xd4\xc9\xcc\xc9\xd4\xc1 \xc4\xcc\xd1 \xce\xc1\xd3\xd4\xd2\xcf\xca\xcb\xc9 DRI Name: %name Version: %version Release: alt2.qa1 Source0: %name-%version.tar.gz Source1: %name-0.9.0-ru.po Patch0: driconf-0.9.1-fix_i_j.patch License: GPL Group: System/Configuration/Hardware Url: http://dri.freedesktop.org/wiki/DriConf Packager: Ilya Mashkin <oddity@altlinux.ru> BuildArch: noarch BuildRequires(pre): python-dev BuildRequires: python-module-pygtk %description DRI configuration GUI This is the first graphical configuration tool for DRI. In order to use it you need a recent development verion of DRI. %description -l ru_RU.KOI8-R \xe7\xd2\xc1\xc6\xc9\xde\xc5\xd3\xcb\xc1\xd1 \xd5\xd4\xc9\xcc\xc9\xd4\xc1 \xc4\xcc\xd1 \xce\xc1\xd3\xd4\xd2\xcf\xca\xcb\xc9 DRI \xe4\xc1\xce\xce\xc1\xd1 \xd5\xd4\xc9\xcc\xc9\xd4\xc1 \xcd\xcf\xd6\xc5\xd4 \xd5\xd0\xd2\xc1\xd7\xcc\xd1\xd4\xd8 \xd0\xc1\xd2\xc1\xcd\xc5\xd4\xd2\xc1\xcd\xc9 3D \xd5\xd3\xcb\xcf\xd2\xc5\xce\xc9\xd1 \xc4\xcc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\xcf\xd6\xce\xcf\xd3\xd4\xd1\xcd DRI-\xd3\xcf\xd7\xcd\xc5\xd3\xd4\xc9\xcd\xcf\xc7\xcf \xc4\xd2\xc1\xca\xd7\xc5\xd2\xc1. %prep %setup -q install -m644 %SOURCE1 ru.po sed -i 's|\/usr\/local|\%_prefix|' setup.cfg driconf %patch -p2 %build make mo CFLAGS="%optflags" %__python setup.py build %install %__python setup.py install --root %buildroot --record=INSTALLED_FILES mkdir -p %buildroot%_desktopdir cat > %buildroot%_desktopdir/%name.desktop <<EOF [Desktop Entry] Version=1.0 Type=Application Name=driconf Comment=DRI Configuration GUI Icon=%name Exec=%name Terminal=true Categories=Settings;HardwareSettings;X-ALTLinux-VideoSettings; EOF %files -f INSTALLED_FILES %doc CHANGELOG README COPYING TODO %_desktopdir/%name.desktop %dir %_libexecdir/%name #_libdir/%name/*.pyo %changelog * Sun Oct 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.9.1-alt2.qa1 - NMU: applied repocop patch * Fri Jun 08 2018 Grigory Ustinov <grenka@altlinux.org> 0.9.1-alt2 - Fix program start (Closes: #31685). * Wed Oct 26 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.1-alt1.qa3.1 - Rebuild with Python-2.7 * Fri Apr 22 2011 Igor Vlasenko <viy@altlinux.ru> 0.9.1-alt1.qa3 - NMU: converted menu to desktop file * Mon Nov 16 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.1-alt1.1.1 - Rebuilt with python 2.6 * Sat Sep 19 2009 Ilya Mashkin <oddity@altlinux.ru> 0.9.1-alt1.1 - remove deprecated Requires * Sat May 02 2009 Ilya Mashkin <oddity@altlinux.ru> 0.9.1-alt1 - 0.9.1 * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 0.9.0-alt2.1 - Rebuilt with python-2.5. * Sun Jan 07 2007 L.A. Kostis <lakostis@altlinux.ru> 0.9.0-alt2 - make it truly noarch. * Sat Apr 01 2006 LAKostis <lakostis at altlinux dot ru> 0.9.0-alt1.1 - rebuild according policy. - add missing dir. * Sun Jan 29 2006 LAKostis <lakostis at altlinux dot ru> 0.9.0-alt1 - 0.9.0. - update translation. * Sat Aug 13 2005 LAKostis <lakostis at altlinux dot ru> 0.2.7-alt1 - 0.2.7. - translation merged to upstream. * Thu Aug 11 2005 LAKostis <lakostis at altlinux dot ru> 0.2.6-alt1.1 - update translation. * Mon Aug 08 2005 LAKostis <lakostis at altlinux dot ru> 0.2.6-alt1 - 0.2.6. * Sat Apr 02 2005 LAKostis <lakostis at altlinux dot ru> 0.2.5-alt1 - new upstream. - update URL. - cleanup buildreq/requires. - add russian translation. * Sat Jan 08 2005 LAKostis <lakostis at altlinux dot ru> 0.2.2-alt1 - initial build for Sisyphus. |