Package rss_glx: 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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | # vim: set ft=spec: -*- spec -*- %define program_prefix rss- Name: rss_glx Version: 0.9.0 Release: alt4 Summary: Really Slick Screensavers License: GNU GPL Group: Graphical desktop/Other Url: http://rss-glx.sourceforge.net/ Source: %name-%version-%release.tar.bz2 Packager: Michael Shigorin <mike@altlinux.org> # git://git.altlinux.org/people/mike/packages/rss_glx.git BuildRequires(pre): xscreensaver-devel kde-common-devel # Automatically added by buildreq on Sun Nov 09 2008 (-bi) BuildRequires: bzlib-devel gcc-c++ libImageMagick-devel libXt-devel libglew-devel %description The Really Slick Screensavers GLX port. A collection of fancy OpenGL screensavers ported from Windows to X for use with xscreensaver. %package -n xscreensaver-hacks-%name Summary: Really Slick Screensavers - xscreensaver modules Group: Graphical desktop/Other Requires: %name = %version-%release PreReq: xscreensaver >= 4.09-alt1 Provides: xscreensaver-hack %description -n xscreensaver-hacks-%name The Really Slick Screensavers GLX port. A collection of fancy OpenGL screensavers ported from Windows to X for use with xscreensaver. This package contains xscreensaver modules configs. %package kde Summary: Really Slick Screensavers - KDE modules Group: Graphical desktop/KDE Requires: %name = %version-%release PreReq: kde-common %description kde The Really Slick Screensavers GLX port. A collection of fancy OpenGL screensavers ported from Windows to X for use with xscreensaver. This package contains KDE menu entries. %package gnome Summary: Really Slick Screensavers - GNOME modules Group: Graphical desktop/GNOME Requires: %name = %version-%release PreReq: gnome-screensaver %description gnome The Really Slick Screensavers GLX port. A collection of fancy OpenGL screensavers ported from Windows to X for use with xscreensaver. This package contains GNOME menu entries. %prep %setup -n %name-%version-%release %build %autoreconf %configure \ --program-prefix=%program_prefix \ --with-configdir=%xss_conf_dir \ --with-kdessconfigdir=%_Kapplnk/System/ScreenSavers \ --disable-sound \ # %make_build # Get xscreensaver config grep '^\$screensavers' utils/rss-glx_install.pl | sed -e 's,^\$screensavers-.*= '\''\(.*\)'\'';,\1,; s,\\\(.\),\1,g; s,\([A-Za-z0-9_-]\+\) --root,%program_prefix\1 --root,' > %name.xss sed -i 's,%{program_prefix}matrixview --root,& -i %_datadir/%name-matrixvew,' %name.xss # Fixup KDE desktop files find . -name '*.desktop' -print0 | xargs -r0 sed -i 's,^\(Exec=\),\1%program_prefix,; s,^\(Exec=\)\(%program_prefix\)\(kxs\(config\|run\)\) ,\1\3 \2,;' -- %install mkdir -p %buildroot%xss_ad_dir %make_install DESTDIR=%buildroot install rm -f %buildroot%_bindir/*_install.pl for i in %buildroot%xss_conf_dir/*.xml; do d="${i%%/*}" f="${i##*/}" mv "$i" "$d/%program_prefix$f" done mkdir -p %buildroot/usr/share/applications/screensavers install -m644 gnome/* %buildroot/usr/share/applications/screensavers mkdir -p %buildroot/usr/libexec/gnome-screensaver/ pushd %buildroot/usr/libexec/gnome-screensaver/ for n in %buildroot/usr/bin/rss-* ; do ln -s ../../bin/$(basename $n) ;done popd install -m644 %name.xss %buildroot%xss_ad_dir/%name.xss %files %doc COPYING INSTALL README %_bindir/* %_man1dir/* %files -n xscreensaver-hacks-%name %doc README.xscreensaver %config %xss_ad_dir/%name.xss %config %xss_conf_dir/*.xml %files kde %_Kapplnk/System/ScreenSavers/*.desktop %files gnome /usr/share/applications/screensavers/*desktop /usr/libexec/gnome-screensaver/* %changelog * Mon Sep 13 2010 Anton Farygin <rider@altlinux.ru> 0.9.0-alt4 - rebuild with new ImageMagick * Fri Apr 23 2010 Anton Farygin <rider@altlinux.ru> 0.9.0-alt3 - rebuild with new ImageMagick * Tue Dec 29 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.9.0-alt2 - GNOME integration files added * Mon Aug 10 2009 Michael Shigorin <mike@altlinux.org> 0.9.0-alt1 - 0.9.0 * Fri Mar 20 2009 Michael Shigorin <mike@altlinux.org> 0.8.2-alt2 - adopted an orphan - fixed build with a patch from http://bugs.gentoo.org/213643 - applied hyperspace gentoo patch * Sun Nov 09 2008 Sir Raorn <raorn@altlinux.ru> 0.8.2-alt1 - [0.8.2] - Disabled sound in skyrocket due to OpenAL breakage * Thu Apr 17 2008 Sir Raorn <raorn@altlinux.ru> 0.8.1-alt2 - Add -i %%_datadir/%%name-matrixvew to default matrixview options (closes: #12934) * Wed Oct 11 2006 Sir Raorn <raorn@altlinux.ru> 0.8.1-alt1 - [0.8.1] - Added KDE desktop files (-kde subpackage) - Prefix all binaries with "rss-" (closes: #4608) - Generate xscreensaver AD module from rss-glx_install.pl - xscreensaver-hackes should PreReq xscreensaver package - Updated build dependencies - New hacks: + colorfire + hyperspace + matrixview + spirographx * Fri Aug 12 2005 Sir Raorn <raorn@altlinux.ru> 0.7.4-alt3.1.2 - Another rebuild with another new xscreensaver * Tue Aug 02 2005 Sir Raorn <raorn@altlinux.ru> 0.7.4-alt3.1.1 - Rebuilt with new xscreensaver * Wed Jan 19 2005 ALT QA Team Robot <qa-robot@altlinux.org> 0.7.4-alt3.1 - Rebuilt with libstdc++.so.6. * Wed Feb 11 2004 Sir Raorn <raorn@altlinux.ru> 0.7.4-alt3 - Fix gcc 3.3 build * Tue Apr 15 2003 Sir Raorn <raorn@altlinux.ru> 0.7.4-alt2 - Rebuilt with new xscreensaver - Split to rss_glx and xscreensaver-hacks-rss_glx * Thu Apr 03 2003 Alexander Bokovoy <ab@altlinux.ru> 0.7.4-alt1 - Initial build for Sisyphus |