THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

209363: xosd-2.2.14-alt7 +2 more

- build without xmms-xosd subpackage need obsoleted gdk-pixbuf-devel

wmmenu-1.2-alt2

- rebuild without gdk-pixbuf (TODO: update to 1.3 2015/01/24)

7colors-0.10-alt1

- return to gtk only version ported to gtk2
master
Vitaly Lipatov Vitaly Chikunov 1 year ago
parent
commit
645d7f4f26
5 changed files with 50 additions and 814 deletions
  1. 20
    20
      7/7colors/7colors.spec
  2. 0
    355
      g/gdk-pixbuf/gdk-pixbuf.spec
  3. 0
    435
      g/gnome-libs/gnome-libs.spec
  4. 4
    1
      w/wmmenu/wmmenu.spec
  5. 26
    3
      x/xosd/xosd.spec

+ 20
- 20
7/7colors/7colors.spec View File

@@ -1,23 +1,26 @@
%define rname sevencolors

Summary: Little addicting game, take over the gaming area with your color
Name: 7colors
Version: 0.80
Release: alt13
Source0: http://digilander.iol.it/sbel/7colors/%rname-%version.tar.bz2
Version: 0.10
Release: alt1
Epoch: 2

Summary: Little addicting game, take over the gaming area with your color

License: GPLv2
Group: Games/Boards
URL: http://digilander.libero.it/sbel/7colors.english.html
Packager: Sergei Epiphanov <serpiph@altlinux.ru>

# Source-url: https://github.com/slitvinov/7colors-gtk/archive/master.zip
Source: %rname-%version.tar

Source4: %name.menu
Source5: %name-16.xpm
Source6: %name-32.xpm
Source7: %name-48.xpm
Source8: %name.desktop
Patch0: %name-build.patch
License: GPLv2
Group: Games/Boards

# Automatically added by buildreq on Mon Jul 21 2008
BuildRequires: gnome-libs-devel gtk+-devel gtk+-devel
BuildRequires: libgtk+2-devel

%description
7colors is a game for XWindow, for one or two players, the goal is to color the
@@ -27,36 +30,33 @@ lower left for player 1, the upper right for player 2) to all the neighbour
rhombs with the same color.

%prep
%setup -n %rname-%version -q
%patch0 -p1
%setup -n %rname-%version

%build
%configure
%make_build

%install
install -D src/%rname %buildroot%_bindir/%rname
install -D src/%name %buildroot%_bindir/%name
ln -s %rname %buildroot%_bindir/%rname

#install -D -m644 %SOURCE4 %buildroot%_menudir/%name
install -D -m644 %SOURCE6 %buildroot%_niconsdir/%name.xpm
install -D -m644 %SOURCE5 %buildroot%_miconsdir/%name.xpm
install -D -m644 %SOURCE7 %buildroot%_liconsdir/%name.xpm
install -D -m644 %SOURCE8 %buildroot%_desktopdir/%name.desktop

%post

%postun

%files
%doc TODO README HISTORY
%doc TODO src/README HISTORY
%_bindir/*
#_menudir/*
%_niconsdir/*.xpm
%_miconsdir/*
%_liconsdir/*
%_desktopdir/*

%changelog
* Sun Jul 01 2018 Vitaly Lipatov <lav@altlinux.ru> 2:0.10-alt1
- return to gtk only version ported to gtk2

* Sun Jun 03 2012 Sergei Epiphanov <serpiph@altlinux.ru> 0.80-alt13
- Fix build


+ 0
- 355
g/gdk-pixbuf/gdk-pixbuf.spec View File

@@ -1,355 +0,0 @@
%def_with gnome1

Name: gdk-pixbuf
Version: 0.22.0
Release: alt11

Summary: An image loading and rendering library for Gdk
Group: System/Libraries
License: LGPL
Url: http://www.gnome.org/

Source: ftp://ftp.gnome.org/pub/GNOME/sources/unstable/%name/%name-%version.tar.bz2

Patch0: ltmain.sh-inst_prefix.patch

Patch1: %name-0.11.0-mdk-demolink.patch
Patch2: %name-0.22.0-mdk-libdir.patch
Patch3: %name-0.22.0-mdk-xbmcrash.patch

Patch4: %name-0.22.0-rh-bmp-colormap.patch
Patch5: %name-0.22.0-rh-bmploop.patch
Patch6: %name-0.22.0-rh-ico-width.patch
Patch7: %name-0.22.0-rh-m4.patch
Patch8: %name-0.22.0-rh-bmpcrash.patch
Patch9: %name-0.22.0-rh-noexecstack.patch

Patch10: %name-0.22.0-rh-alt-bound.patch
Patch11: %name-0.22.0-alt-linkage.patch
Patch12: %name-0.22.0-alt-libs.patch
Patch13: %name-0.22.0-alt-DSO.patch
Patch14: %name-0.22.0-alt-libpng15.patch

Provides: %name-loaders = %version-%release
Obsoletes: %name-loaders < %version-%release

# Automatically added by buildreq on Fri Oct 17 2008
BuildRequires: glib-devel gtk+-devel
BuildRequires: libjpeg-devel libpng-devel libtiff-devel zlib-devel
BuildRequires: libXt-devel xorg-cf-files
%if_with gnome1
BuildRequires: gnome-libs-devel
%endif

%package gnomecanvas
Summary: An image loading and rendering library for Gdk
Group: System/Libraries
Requires: %name = %version-%release

%package xlib
Summary: An image loading and rendering library for Gdk
Group: System/Libraries
Requires: %name = %version-%release

%package devel
Summary: Development tools for GdkPixBuf applications
Group: Development/GNOME and GTK+
%if_with gnome1
Requires: %name-gnomecanvas = %version-%release
%endif
Requires: %name-xlib = %version-%release

%description
The GdkPixBuf library provides a number of features:
+ Image loading facilities.
+ Rendering of a GdkPixBuf into various formats:
drawables (windows, pixmaps), GdkRGB buffers.

%description gnomecanvas
The GdkPixBuf library provides a number of features:
+ Image loading facilities.
+ Rendering of a GdkPixBuf into various formats:
drawables (windows, pixmaps), GdkRGB buffers.

This package provides GTK version of %name.

%description xlib
The GdkPixBuf library provides a number of features:
+ Image loading facilities.
+ Rendering of a GdkPixBuf into various formats:
drawables (windows, pixmaps), GdkRGB buffers.

This package provides Xlib version of %name.

%description devel
The include files and documentation needed for developing GdkPixBuf
applications. GdkPixBuf is an image loading and rendering library
for Gdk.

%prep
%setup
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p2
%patch14 -p2
find -type f -name \*.orig -delete -print

%build
%set_libtool_version 1.4
%set_automake_version 1.4
%set_autoconf_version 2.13
%undefine __libtoolize
libtoolize -c -f
#patch -p0 <%PATCH0
aclocal
# new gettext introduce new m4 macros which depend on fresh autoconf
# and automake; hopefully glib doesn't use gettext and its m4 macros.
subst -p 's,^AC_PREREQ(\[\?2\.5[0-9]\]\?),AC_PREREQ(2.13),' *.m4
autoheader
automake
autoconf
%configure --disable-static --with-libwrap --disable-gtk-doc

make

%install
%makeinstall libexecdir=$RPM_BUILD_ROOT%_libdir/%name/loaders
install -pm755 %name/pixops/timescale $RPM_BUILD_ROOT%_bindir/
subst 's,/lib$,/%_lib,g' $RPM_BUILD_ROOT%_bindir/*-config

%find_lang %name

%files -f %name.lang
%doc AUTHORS NEWS README
%_libdir/libgdk_pixbuf.so.*
%_bindir/timescale
%dir %_libdir/%name
%dir %_libdir/%name/loaders
%_libdir/%name/loaders/*.so*

%files xlib
%_libdir/*xlib.so.*

%if_with gnome1
%files gnomecanvas
%_libdir/*gnomecanvas*.so.*
%endif

%files devel
%_bindir/*-config
%_libdir/libgdk*.so
%if_with gnome1
%_libdir/libgnome*.so
%endif
%dir %_includedir/%name-1.0
%_includedir/%name-1.0/%name
%_datadir/aclocal/*
%_libdir/*.sh
%doc %_datadir/gnome/html/*

%changelog
* Sat Dec 23 2017 Michael Shigorin <mike@altlinux.org> 0.22.0-alt11
- introduce gnome1 knob (on by default)

* Wed Sep 26 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.22.0-alt10.2
- Rebuilt with libpng15

* Tue Jul 10 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.22.0-alt10.1
- Fixed build

* Fri Sep 23 2011 Alexey Tourbin <at@altlinux.ru> 0.22.0-alt10
- rebuilt for debuginfo
- merged gdk-pixbuf-loaders subpackage into gdk-pixbuf

* Thu Nov 25 2010 Igor Vlasenko <viy@altlinux.ru> 0.22.0-alt9.6.qa1
- rebuild using girar-nmu to require/provide setversion
by request of mithraen@

* Sat Jun 05 2010 Dmitry V. Levin <ldv@altlinux.org> 0.22.0-alt9.6
- Fixed build with gettext >= 0.18.

* Thu Nov 19 2009 Repocop Q. A. Robot <repocop@altlinux.org> 0.22.0-alt9.5.qa1
- NMU (by repocop): the following fixes applied:
* post_ldconfig for gdk-pixbuf
* postun_ldconfig for gdk-pixbuf
* post_ldconfig for gdk-pixbuf-gnomecanvas
* postun_ldconfig for gdk-pixbuf-gnomecanvas
* post_ldconfig for gdk-pixbuf-loaders
* postun_ldconfig for gdk-pixbuf-loaders
* post_ldconfig for gdk-pixbuf-xlib
* postun_ldconfig for gdk-pixbuf-xlib
* postclean-05-filetriggers for spec file

* Fri Oct 17 2008 Yury Aliaev <mutabor@altlinux.org> 0.22.0-alt9.5
- build dependencies fixed

* Wed May 14 2008 Yury Aliaev <mutabor@altlinux.org> 0.22.0-alt9.4
- build dependencies fixed

* Tue Feb 05 2008 Yury Aliaev <mutabor@altlinux.org> 0.22.0-alt9.3
- fix for new autotools

* Sun Nov 12 2006 Yury Aliaev <mutabor@altlinux.org> 0.22.0-alt9.2
- fixed build with --as-needed ld option
- fixed strange libtool issue (patch0 seems to be unneeded)

* Mon Jun 06 2005 Anton D. Kachalov <mouse@altlinux.org> 0.22.0-alt9.1
- Multilib support

* Fri Apr 08 2005 Dmitry V. Levin <ldv@altlinux.org> 0.22.0-alt9
- Fixed a double free in the bmp loader (RH).
- Marked libraries as non-execstack (RH).
- Disabled build of gtk docs.

* Sat Sep 18 2004 ALT QA Team Robot <qa-robot@altlinux.org> 0.22.0-alt8.1
- Rebuilt with libtiff.so.4.

* Fri Sep 17 2004 Dmitry V. Levin <ldv@altlinux.org> 0.22.0-alt8
- Fixed typo in rh-alt-bound patch introduced in 0.22.0-alt6.

* Mon Sep 06 2004 Dmitry V. Levin <ldv@altlinux.org> 0.22.0-alt7
- Cleaned up gdk-pixbuf-config library output.

* Fri Sep 03 2004 Dmitry V. Levin <ldv@altlinux.org> 0.22.0-alt6
- Merged few essential patches from RH package.
- Fixed build without %name-devel installed.
- Do not build and package static library by default.
- Fixed few potential overflows (CAN-2004-0782, CAN-2004-0783),
patch from Matthias Clasen (RH).

* Mon Dec 22 2003 Nazar Yurpeak <phoenix@altlinux.org> 0.22.0-alt5
- fixed BuildPreReq

* Tue Dec 03 2003 Nazar Yurpeak <phoenix@altlinux.org> 0.22.0-alt4
- removed *.la

* Tue Oct 21 2003 Nazar Yurpeak <phoenix@altlinux.org> 0.22.0-alt3
- updated BuildRequires

* Wed Oct 08 2003 Nazar Yurpeak <phoenix@altlinux.org> 0.22.0-alt2
- bug #3079 fix
- updated BuildRequires

* Wed May 07 2003 Nazar Yurpeak <phoenix@altlinux.ru> 0.22.0-alt1
- new version

* Wed Feb 5 2003 Alexander V. Nikolaev <avn@altlinux.ru> 0.18.0-alt2
- Add missing depends for -devel
- Add packager tag

* Mon Oct 28 2002 AEN <aen@altlinux.ru> 0.18.0-alt1
- new version

* Tue May 14 2002 Mikhail Zabaluev <mhz@altlinux.ru> 0.17.0-alt1
- 0.17.0
- loaders in a dedicated directory
- rebuilt BuildRequires
- wiped out requires from gdk-pixbuf-devel: half were crazy,
the other half obvious
- removed redundant HTML docs from the main package

* Mon Apr 08 2002 Sergey Vlasov <vsu@altlinux.ru> 0.16.0-alt2
- fixed XBM loader crash on invalid files

* Wed Jan 23 2002 AEN <aen@logic.ru> 0.16.0-alt1
- new version

* Mon Jan 21 2002 AEN <aen@logic.ru> 0.15.0-alt1
- new version

* Fri Dec 14 2001 AEN <aen@logic.ru> 0.14.0-alt1
- new release

* Fri Nov 09 2001 AEN <aen@logic.ru> 0.13.0-alt2
- remove gnome-libs from devel Requires

* Fri Oct 26 2001 AEN <aen@logic.ru> 0.13.0-alt1
- new version

* Thu Oct 11 2001 Dmitry V. Levin <ldv@altlinux.ru> 0.11.0-alt3
- Updated package requires.
- Rebuilt with libpng.so.3

* Tue May 15 2001 Dmitry V. Levin <ldv@altlinux.ru> 0.11.0-alt2
- Moved static libraries to devel-static subpackage.

* Fri May 11 2001 AEN <aen@logic.ru> 0.11.0-alt1
- new version

* Wed Mar 14 2001 AEN <aen@logic.ru> 0.10.1-ipl1mdk
- new version

* Sun Jan 07 2001 Dmitry V. Levin <ldv@fandra.org> 0.9.0-ipl4mdk
- Specfile cleanup.

* Mon Nov 28 2000 AEN <aen@logic.ru>
- build for RE

* Wed Sep 13 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.0-2mdk
- Split package in 3 flavors : Xlib, gtk, Gnome

* Fri Sep 8 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.0-1mdk
- Release 0.9.0
- more macroszification

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.8.0-2mdk
- automatically added BuildRequires

* Thu Jul 20 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 0.8.0-1mdk
- release 0.8.0
- BM
- use make macro

* Tue Apr 25 2000 Daouda Lo <daouda@mandrakesoft.com> 0.7.0-1mdk
- release for gnome-core 1.1.9 from helix.
- stable version
- add doc files

* Thu Apr 13 2000 Daouda Lo <daouda@mandrakesoft.com> 0.6.0-6mdk
- having some problems to build 1.1.8 on top of gdk_pixbuf 0.7.0
- retro build.

* Thu Apr 13 2000 Daouda Lo <daouda@mandrakesoft.com> 0.7.0-1mdk
- release 0.7.0

* Wed Apr 12 2000 Daouda Lo <daouda@mandrakesoft.com> 0.6.0-5mdk
- The <LIBRARY>Conf.sh missing file cause gnome-core failed at building!
- SMP build/check

* Wed Apr 12 2000 Daouda Lo <daouda@mandrakesoft.com> 0.6.0-4mdk
- rebuild for near future gnome (used in Helix).
- build with %prefix is suitable
- many minor changes in file sections

* Wed Apr 05 2000 Francis Galiegue <fg@mandrakesoft.com> 0.6.0-3mdk

- Changed group for -devel
- Some spec file corrections

* Wed Mar 22 2000 Francis Galiegue <fg@mandrakesoft.com> 0.6.0-2mdk

- Rebuilt on kenobi

* Mon Mar 13 2000 Francis Galiegue <francis@mandrakesoft.com> 0.6.0-1mdk

- 0.6.0
- Changed group to match those of 7.1
- Spec file corrections
- Let spec-helper do its job

* Mon Jan 24 2000 Pablo Saratxaga <pablo@mandrakesoft.com>
- updated to 0.5.0

* Mon Nov 01 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- First mandrake package


+ 0
- 435
g/gnome-libs/gnome-libs.spec View File

@@ -1,435 +0,0 @@
Name: gnome-libs
Version: 1.4.2
Release: alt11.3.qa2

Summary: Main GNOME libraries
License: LGPL
Group: System/Libraries
Url: http://www.gnome.org/
Packager: Yury Aliaev <mutabor@altlinux.ru>

Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%name/%name-%version.tar.bz2
Source1: conv_deskfiles.pl

%def_disable static
%define preferdb --enable-prefer-db1

# Red Hat patches
Patch1: RH-%name-rhsnddefs.patch
# rawhide - Enable setting canvas into a "bghack" mode with gtk_object_set_data
Patch2: %name-1.2.13-bghack.patch
# allow reading UTF-8 encoded .desktop
Patch3: %name-1.4.2-utf8menu.patch

# Mandrake patches
# (fc) search icons first in /usr/share/icons/large, normal and small
Patch5: %name-1.4.2-iconspath.patch
# (fc) 1.2.13-2mdk fix bug 3730 (nautilus should not draw desktop when called as help browser)
Patch7: %name-1.2.13-nautilus.patch
# (fc) 1.4.1.2-10mdk fix missing prototypes
Patch18: %name-1.4.1.3-prototypes.patch
# (fc) 1.4.1.4-2mdk fix font size in gtk-xmhtml
Patch19: %name-1.4.1.4-fonts.patch
# (fc) 1.4.1.4-3mdk fix parsing of escape sequence (beep when launching vim) (Debian)
#Patch20: %name-1.4.1.4-zvtescape.patch
# (fc) 1.4.1.4-3mdk fix numeric keypad switching (fix keypad in vim) (Debian)
Patch21: %name-1.4.1.4-keypad.patch
# (pablo) 1.4.1.4-4mdk patch to have gnome-terminal switch automatically
# to utf-8 mode if the locale is utf-8
Patch22: http://noa.tm/utf-8/patches/%name-zvt-utf8-autodetect.patch
# (fc) 1.4.1.7-2mdk don't add -L/usr/lib to ldflags
#Patch23: %name-1.4.1.7-libdir.patch
# (fc) 1.4.2-1mdk remove -I/usr/include from cflags
Patch24: %name-1.4.2-includedir.patch

# ALT patches
# fix cyrillic font specifications
Patch30: %name-1.4.2-alt-fonts.patch
# add belarussian translation and gtkrc
Patch31: %name-1.4.2-be.patch
# correct font in the about dialog
Patch32: %name-1.4.2-gtkrc.patch
Patch33: %name-1.2.8-ypcat.patch
Patch34: %name-1.4.2-autoconf2.5x.patch
# filter out -I/usr/include from output of gnome-config --cflags
Patch35: %name-1.4.2-gnome-config-cflags.patch
Patch36: %name-%version-configure_in-libs-alt.patch
Patch37: %name-%version-makefile_am-libs-alt.patch
Patch38: %name-%version-gcc41fix-alt.patch
Patch39: %name-1.4.2-alt-linking.patch
Patch40: %name-1.4.2-alt-libpng15.patch

Requires: gtk+ >= 1.2.8, ORBit, imlib, pulseaudio-daemon, alsa-plugins-pulse

%set_automake_version 1.4
%set_autoconf_version 2.13
%set_libtool_version 1.5
# Automatically added by buildreq on Wed Oct 08 2008
# Hand-edited by mutabor on the same date
BuildRequires: esound-devel gtk-doc imake imlib-devel libXpm-devel libXt-devel libdb1-devel xorg-cf-files
BuildRequires: docbook-dtds docbook-style-dsssl esound-devel gtk+-devel gtk-doc imlib-devel indent libaudiofile-devel libdb1-devel libjpeg-devel libpng-devel libtiff-devel libungif-devel openjade sgml-common xpm-devel zlib-devel
BuildRequires: libwrap-devel
BuildRequires: ORBit-devel >= 0.5.17-alt3

%description
GNOME (GNU Network Object Model Environment) is a user-friendly set of
GUI applications and desktop tools to be used in conjunction with a
window manager for the X Window System. The %name package
includes libraries that are needed to run GNOME.

%package devel
Summary: Include files for GNOME application development
Group: Development/GNOME and GTK+
Icon: %name-devel.xpm
Requires: %name = %version-%release
Requires: esound-devel gtk+-devel imlib-devel libaudiofile-devel libdb1-devel libjpeg-devel libORBit-devel libpng-devel libtiff-devel libungif-devel xpm-devel zlib-devel

%description devel
GNOME (GNU Network Object Model Environment) is a user-friendly set of
GUI applications and desktop tools to be used in conjunction with a
window manager for the X Window System. The %name-devel package
includes the libraries and include files that you will need to develop
GNOME applications.

You should install the %name-devel package if you would like to
develop GNOME applications. You don't need to install %name-devel
if you just want to use the GNOME desktop environment.

%if_enabled static
%package devel-static
Summary: Static libraries for GNOME application development
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release
Requires: libdb1-devel-static libORBit-devel-static libpng-devel-static XFree86-static-libs zlib-devel-static

%description devel-static
GNOME (GNU Network Object Model Environment) is a user-friendly set of
GUI applications and desktop tools to be used in conjunction with a
window manager for the X Window System. The %name-devel package
includes the libraries and include files that you will need to develop
GNOME applications.

You should install the %name-devel-static package if you would like to
develop statically linked GNOME applications. You don't need to install
%name-devel-static if you just want to use the GNOME desktop environment.
%endif # enabled static

%prep
%setup -q

%patch39 -p2

# Applying RH patches.
%patch1 -p1 -b .rhsnddefs
%patch2 -p1 -b .bghack
%patch3 -p1 -b .utf8

# Applying Mandrake patches.
%patch5 -p1 -b .icons
%patch7 -p1 -b .nodesktop
%patch18 -p1 -b .prototypes
%patch19 -p1 -b .fonts
#%patch20 -p1 -b .zvtescape
%patch21 -p1 -b .keypad
%patch22 -p1 -b .zvtutf8
#%patch23 -p1 -b .libdir
%patch24 -p1 -b .includedir

# Applying ALT patches.
%patch30 -p1 -b .alt-fonts
%patch31 -p1 -b .belo
%patch32 -p1 -b .gtkrc
%patch33 -p1 -b .ypcat
%patch35 -p1 -b .gcflags

perl -pi -e 's/az /az be /g' configure.in
perl -pi -e 's/gtkrc\.el/gtkrc\.be gtkrc\.el/g' libgnomeui/Makefile.am

ac_version=`%__autoconf --version | awk '{print $NF; exit}'`
ac_version_major="${ac_version%%.*}"
ac_version_minor="${ac_version#*.}"
if [ "$ac_version_major" -gt 2 -o \
"$ac_version_major" -eq 2 -a "$ac_version_minor" -ge 50 ]; then
%patch34 -p1
fi

%patch36 -p1 -b .libs
%patch37 -p1 -b .libs
%patch38 -p1 -b .gcc41
%patch40 -p2

%build
#needed by patches 24 & 37 and Makefile.am edit
automake
#needed by patches 22 & 23, configure.in edit,
# and the autoconf 2.5x fixes (patch 34)
autoconf
pushd libart_lgpl
autoconf
popd
libtoolize --copy --force

sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' configure
DOCDIR=$RPM_BUILD_ROOT%_docdir %configure \
%if_enabled static
--enable-static \
%else
--disable-static \
%endif
--with-kde-datadir=%_datadir %preferdb --disable-alsa --disable-gtk-doc
%make_build
%if_with test
%make check
%endif

%install
export LD_LIBRARY_PATH=%buildroot%_libdir
%makeinstall

cp %{SOURCE1} $RPM_BUILD_ROOT%_bindir

%find_lang %name

# TODO: pick up gnome-doc and mkstub tools and their manuals

%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README
%_libdir/libgnome*.so.*
%_libdir/libgnorba*.so.*
%_libdir/libzvt*.so.*
%_libdir/libart*.so.*
%_libdir/libgtkxmhtml*.so.*
%_bindir/dns-helper
%_bindir/gconfigger
%_bindir/gnome-bug
%_bindir/gnome-dump-metadata
%_bindir/gnome-gen-mimedb
%_bindir/gnome-moz-remote
%_bindir/gnome-name-service
%_bindir/gnome_segv
%_bindir/goad-browser
%_bindir/loadshlib
%_bindir/new-object
#%attr(2711,root,utmp) %_sbindir/gnome-pty-helper
%_sbindir/gnome-pty-helper
%_datadir/idl/*
%_datadir/pixmaps/*
%config(noreplace) %_datadir/gtkrc*
%_datadir/mime-info/*
%_datadir/type-convert/type.convert
%config(noreplace) %_sysconfdir/*
%_man1dir/*
%_man5dir/*

%files devel
%doc devel-docs/README*
%doc devel-docs/*.txt
%doc devel-docs/ChangeLog
%_bindir/*-config
%_bindir/conv_deskfiles.pl
%_libdir/lib*.so
#%_libdir/lib*.la
%_libdir/*.sh
%_libdir/%name
%_includedir/*
%_datadir/aclocal/*
%_datadir/gnome/help/*
%_datadir/gnome/html/*
%_datadir/gtk-doc/html/*

%if_enabled static
%files devel-static
%_libdir/*.a
%endif # enabled static

%changelog
* Thu Oct 15 2015 Andrey Cherepanov <cas@altlinux.org> 1.4.2-alt11.3.qa2
- Fix build

* Fri Apr 19 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.4.2-alt11.3.qa1
- NMU: rebuilt for updated dependencies.

* Sun Sep 30 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.2-alt11.3
- Fixed using of png_get_valid

* Wed Sep 26 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.2-alt11.2
- Rebuilt with libpng15

* Tue Jul 31 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.2-alt11.1
- Fixed build

* Wed Aug 17 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.2-alt11
- Rebuilt with new libjpeg

* Thu Oct 14 2010 Sergey V Turchin <zerg@altlinux.org> 1.4.2-alt10
- fix requires (ALT#24300)

* Fri Aug 21 2009 Dmitry V. Levin <ldv@altlinux.org> 1.4.2-alt9
- Fixed build in new build environment.

* Wed Oct 8 2008 Yury Aliaev <mutabor@altlinux.org> 1.4.2-alt8
- updated build dependencies

* Wed May 17 2006 Yury Aliaev <mutabor@altlinux.org> 1.4.2-alt7
- fixed build with --as-needed ld option and gcc-4.1

* Sat May 22 2004 Vitaly Lipatov <lav@altlinux.ru> 1.4.2-alt6
- rebuild without docs, without db2 references

* Sat Jan 03 2004 Vitaly Lipatov <lav@altlinux.ru> 1.4.2-alt5
- use autoconf 2.13, add require for autoconf_2.13
- rebuild without *.la files

* Sat Oct 04 2003 Dmitry V. Levin <ldv@altlinux.org> 1.4.2-alt4
- Updated build dependencies.

* Tue Feb 11 2003 Stanislav Ievlev <inger@altlinux.ru> 1.4.2-alt3.1
- removed suid on gnome-pty-helper (ldv request)
we must have only one /sbin/utempter sgid
- made check only with test

* Sat Feb 08 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.4.2-alt3
- Fixed stupid typo in the build script
- Fixed build under automake-1.{6,7}

* Thu Sep 26 2002 Mikhail Zabaluev <mhz@altlinux.ru> 1.4.2-alt2
- filter -I/usr/include out the output of gnome-config --cflags

* Sat Sep 14 2002 Mikhail Zabaluev <mhz@altlinux.ru> 1.4.2-alt1
- 1.4.2
- Synced patches with 1.4.2-1mdk
- Disabled static by default
- Saner font rc patches
- Patch for autoconf 2.5x
- Eliminated unnecessary doc duplication
- Listed *.la files in -devel
- Moved manuals to the main package
(sorry, too lazy to leave -config manuals in -devel)
- Listed libart documentation in /usr/share/gtk-doc
- /usr/share/{idl,mime-info,pixmaps} directories belong not in this package
- make check

* Wed Mar 13 2002 AEN <aen@logic.ru> 1.4.1.4-alt3
- new conv_deskfiles.pl

* Tue Mar 12 2002 AEN <aen@logic.ru> 1.4.1.4-alt2
- utf8menu patch

* Tue Jan 29 2002 AEN <aen@logic.ru> 1.4.1.4-alt1
- new version

* Mon Jan 21 2002 AEN <aen@logic.ru> 1.4.1.3-alt1
- patches 2, 29, 31, 32 removed

* Wed Jan 09 2002 AEN <aen@logic.ru> 1.4.1.2.90-alt2
- remove wrong dependences

* Sun Dec 29 2001 AEN <aen@logic.ru> 1.4.1.2.90-alt1
- sources from CVS

* Thu Dec 27 2001 AEN <aen@logic.ru> 1.4.1.2-alt3
- patch 8 added
- patch 14 removed

* Fri Nov 09 2001 AEN <aen@logic.ru> 1.4.1.2-alt2
- pango-devel requirements removed

* Thu Oct 11 2001 AEN <aen@logic.ru> 1.4.1.2-alt1
- new version

* Thu Sep 20 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.4.1.1-alt3
- Updated package dependencies.

* Thu Sep 06 2001 AEN <aen@logic.ru> 1.4.1.1-alt1
- new release

* Thu May 24 2001 AEN <aen@logic.ru> 1.2.13-alt2
- terminal patch from Aleksey Morozov

* Mon Mar 19 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.2.11-ipl4mdk
- Moved static libraries to devel-static subpackage.

* Tue Mar 13 2001 AEN <aen@logic.ru> 1.2.11-ipl3mdk
- rebuild in release environment

* Tue Feb 1 2001 AEN <aen@logic.ru>
- rebuild with oaf 0.6.1

* Sat Jan 27 2001 Dmitry V. Levin <ldv@fandra.org> 1.2.11-ipl1mdk
- 1.2.11

* Mon Jan 22 2001 Dmitry V. Levin <ldv@fandra.org> 1.2.9-ipl1mdk
- 1.2.9
- Updated IPL patches.

* Sat Jan 06 2001 Dmitry V. Levin <ldv@fandra.org> 1.2.8-ipl3mdk
- Specfile cleanup.
- Automatically added BuildRequires.
- Rebuild with db1.
- Patched gnome-bug to avoid false dependencies.

* Sun Nov 27 2000 AEN <aen@logic.ru>
- sync with RE
- be & fonts patches

* Tue Oct 24 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.8-1mdk
- Release 1.2.8

* Wed Oct 18 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.6-1mdk
- Release 1.2.6
- don't apply merged patches (3 & 6)
- Regenerate patch 4

* Thu Oct 5 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-8mdk
- Provides main gnome directories (close bug #614)

* Tue Sep 19 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-7mdk
- Change search for icons for new KDE2 paths

* Tue Sep 12 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-6mdk
- Merge fixes from RedHat for gnome-terminal (set background, delete key)

* Mon Sep 11 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-5mdk
- Search icons in /usr/share/icons subdirectories first

* Thu Aug 24 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-4mdk
- enhance support for xalf (start application notifier)
- add noreplace for config file

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.2.4-3mdk
- automatically added BuildRequires

* Thu Aug 3 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-2mdk
- Don't install gtkrc file (was breaking some gtk themes)

* Tue Jul 25 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-1mdk
- release 1.2.4 (from Helix)

* Tue Jul 25 2000 dam's <damien@mandrakesoft.com> 1.2.3-4mdk
- added disable-alsa.

* Fri Jul 21 2000 dam's <damien@mandrakesoft.com> 1.2.3-3mdk
- BM + macrozification.

* Tue Jul 18 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 1.2.3-2mdk
- added patch to support fontsets in scores and wizards windows

* Wed Jun 21 2000 dam's <damien@mandrakesoft.com> 1.2.3-1mdk
- updated to 1.2.3

* Tue Jun 20 2000 dam's <damien@mandrakesoft.com> 1.2.1-3mdk
- Rebuild due to bad provides.

* Tue Jun 20 2000 dam's <damien@mandrakesoft.com> 1.2.1-2mdk
- Rebuild due to bad provides.

* Fri Jun 9 2000 dam's <damien@mandrakesoft.com> 1.2.1-1mdk
- update from helix release.

* Thu Apr 06 2000 Daouda Lo <daouda@mandrakesoft.com> 1.0.58-1mdk
- build release 1.0.58

* Fri Mar 31 2000 Daouda Lo <daouda@mandrakesoft.com> 1.0.56-1mdk
- from Helix stuffs
- build release 1.0.56


+ 4
- 1
w/wmmenu/wmmenu.spec View File

@@ -3,7 +3,7 @@

Name: wmmenu
Version: 1.2
Release: alt1.qa1
Release: alt2

Packager: Sir Raorn <raorn@altlinux.ru>

@@ -64,6 +64,9 @@ want; dunno what it's useful for...).
%_x11mandir/man1/wmmenu.1*

%changelog
* Mon Jul 02 2018 Vitaly Lipatov <lav@altlinux.ru> 1.2-alt2
- rebuild without gdk-pixbuf (TODO: update to 1.3 2015/01/24)

* Tue May 10 2011 Andrey Cherepanov <cas@altlinux.org> 1.2-alt1.qa1
- Remove xorg-x11-devel build requires


+ 26
- 3
x/xosd/xosd.spec View File

@@ -1,6 +1,7 @@
%def_without xmms
Name: xosd
Version: 2.2.14
Release: alt6
Release: alt7

Summary: X On Screen Display, displays XMMS status information
License: GPL
@@ -9,10 +10,14 @@ Url: http://sourceforge.net/projects/libxosd/
Packager: Evgenii Terechkov <evg@altlinux.ru>

Source: %name-%version.tar
Patch1: xosd-2.2.14-Do-not-install-some-manual-pages-twice.patch
Patch2: %name-2.2.14-alt-aclocal-quoting.patch

# Automatically added by buildreq on Thu Nov 08 2007 (-bi)
BuildRequires: gcc-c++ gdk-pixbuf-devel imake libXinerama-devel libXt-devel libxmms-devel xorg-cf-files libXext-devel
BuildRequires: gcc-c++ imake libXinerama-devel libXt-devel xorg-cf-files libXext-devel
%ifdef xmms
BuildRequires: gdk-pixbuf-devel libxmms-devel
%endif

%description
This is a X On Screen Display library, modules and utilities.
@@ -70,14 +75,27 @@ This package contains an osd_cat.

%prep
%setup
%patch1 -p1
%patch2 -p1

%__subst 's|-rpath \$(libdir)||' src/libxosd/Makefile.in
%if_without xmms
# XMMS is dead, gdk-pixbuf-0 is dead. Dropping xmms plug-in.
sed -i -e '/AM_PATH_GTK/,+1 d' -e '/AM_PATH_XMMS/,+1 d' \
-e '/AM_PATH_GDK_PIXBUF/,+1 d' configure.ac
# Update config.sub to support aarch64, Redhat bug #926836
%autoreconf
%endif

%build
%configure --enable-new-plugin --disable-beep_media_player_plugin
%configure --enable-new-plugin --disable-beep_media_player_plugin --disable-dependency-tracking
%make_build

%install
make install DESTDIR=%buildroot
%if_without xmms
rm -rf %buildroot%_datadir/%name/
%endif

%files -n lib%name
%_libdir/*.so.*
@@ -95,16 +113,21 @@ make install DESTDIR=%buildroot
%files -n lib%name-devel-static
%_libdir/*.a

%if_with xmms
%files -n xmms-osd
%xmms_generaldir/*
%dir %_datadir/%name
%_datadir/%name/*.png
%endif

%files -n %name-utils
%_bindir/osd_cat
%_man1dir/osd_cat.1*

%changelog
* Sun Jul 01 2018 Vitaly Lipatov <lav@altlinux.ru> 2.2.14-alt7
- build without xmms-xosd subpackage need obsoleted gdk-pixbuf-devel

* Fri Sep 23 2011 Alexey Tourbin <at@altlinux.ru> 2.2.14-alt6
- Rebuilt for debuginfo
- Packaged %_datadir/%name directory

Loading…
Cancel
Save