libgnomeui.spec
changeset 199 b79a771b183e
parent 156 acc6f409a6eb
child 202 411c3cee61a0
equal deleted inserted replaced
198:cd8163a759b0 199:b79a771b183e
     1 #
       
     2 # Copyright (c) 2003 Sun Microsystems Inc.
       
     3 # This file and all modifications and additions to the pristine
       
     4 # package are under the same license as the package itself.
       
     5 #
       
     6 
       
     7 Name:         libgnomeui 
     1 Name:         libgnomeui 
     8 License:      LGPL
     2 License:      LGPL
     9 Group:        Development/Libraries/GNOME
     3 Group:        System/Libraries/GNOME
    10 Version:      2.2.0.1
     4 Version:      2.2.0.1
    11 Release:      1
     5 Release:      1
    12 Distribution: Mercury
     6 Distribution: Mercury
    13 Vendor:	      Sun Microsystems Inc.
     7 Vendor:	      Sun Microsystems Inc.
    14 Summary:      The GNOME User Interface Library  
     8 Summary:      GNOME User Interface Library  
    15 Source:       http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.2/libgnomeui-%{version}.tar.bz2
     9 Source:       http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.2/libgnomeui-%{version}.tar.bz2
    16 URL:          http://www.gnome.org
    10 URL:          http://www.gnome.org
    17 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
    11 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
    18 Autoreqprov:  on
    12 Autoreqprov:  on
    19 
    13 
    20 %define libxml2_version 2.4.23
    14 %define gtk_doc_version 1.0
    21 %define orbit2_version 2.6.1
       
    22 %define bonobo_activation_version 2.2.1
       
    23 %define libbonobo_version 2.2.1
       
    24 %define libgnomecanvas_version 2.2.0.2
       
    25 %define libgnome_version 2.2.0.1
       
    26 %define libart_lgpl_version 2.3.11
       
    27 %define libbonoboui_version 2.2.0
    15 %define libbonoboui_version 2.2.0
    28 %define glib2_version 2.2.1
       
    29 %define pango_version 1.2.1
       
    30 %define gtk2_version 2.2.1
       
    31 %define gconf_version 2.2.0
       
    32 %define gnome_vfs_version 2.2.3
       
    33 %define libglade_version 2.0.1
    16 %define libglade_version 2.0.1
    34 %define esound_version 0.2.28
    17 %define libbonobo_version 2.2.0
    35 %define XFree86_version 4.3.0
    18 %define libgnome_version 2.2.0
    36 
    19 
    37 Requires: ORBit2 >= %{orbit2_version}
       
    38 Requires: glib2 >= %{glib2_version}
       
    39 Requires: pango >= %{pango_version}
       
    40 Requires: gtk2 >= %{gtk2_version}
       
    41 Requires: GConf >= %{gconf2_version}
       
    42 Requires: gnome-vfs >= %{gnome_vfs_version}
       
    43 Requires: libgnomecanvas >= %{libgnomecanvas_version}
       
    44 Requires: bonobo-activation >= %{bonobo_activation_version}
       
    45 Requires: libbonobo >= %{libbonobo_version}
       
    46 Requires: libbonoboui >= %{libbonoboui_version}
    20 Requires: libbonoboui >= %{libbonoboui_version}
    47 Requires: libxml2 >= %{libxml2_version}
       
    48 Requires: libgnome >= %{libgnome_version}
       
    49 Requires: libart_lgpl >= %{libart_lgpl_version}
       
    50 Requires: libglade >= %{libglade_version}
    21 Requires: libglade >= %{libglade_version}
    51 Requires: esound >= %{esound_version}
       
    52 Requires: XFree86-libs >= %{XFree86_version}
       
    53 
       
    54 BuildRequires: zlib-devel
       
    55 BuildRequires: ORBit2-devel >= %{orbit2_version}
       
    56 BuildRequires: glib2-devel >= %{glib2_version}
       
    57 BuildRequires: pango-devel >= %{pango_version}
       
    58 BuildRequires: gtk2-devel >= %{gtk2_version}
       
    59 BuildRequires: GConf-devel >= %{gconf_version}
       
    60 BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
       
    61 BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version}
       
    62 BuildRequires: bonobo-activation-devel >= %{bonobo_activation_version}
       
    63 BuildRequires: libbonobo-devel >= %{libbonobo_version}
       
    64 BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
    22 BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
    65 BuildRequires: libxml2-devel >= %{libxml2_version}
    23 BuildRequires: gtk-doc >= %{gtk_doc_version}
    66 BuildRequires: libgnome-devel >= %{libgnome_version}
       
    67 BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
       
    68 BuildRequires: libglade-devel >= %{libglade_version}
       
    69 BuildRequires: esound-devel >= %{esound_version}
       
    70 BuildRequires: XFree86-devel >= %{XFree86_version}
       
    71 
    24 
    72 %description
    25 %description
    73 This library contains all the User-Interface related functions for GNOME based Software. You need the libgnomeui-devel package too if you want to develop GNOME 2.x based Software.
    26 libgnomeui is the GNOME User Interface Library, containing many widgets and 
    74 
    27 convenient API used to developer GNOME applications that is not in GTK+ 
       
    28 eg. About Dialog, Session Manager support
    75 
    29 
    76 %package devel
    30 %package devel
    77 Summary:      Developer's files for the GNOME User Interface Library
    31 Summary:      GNOME User Interface Development Library
    78 Group:        Development/Libraries/GNOME
    32 Group:        Development/Libraries/GNOME
    79 Autoreqprov:  on
    33 Requires:     %{name} = %{version}
    80 
    34 Requires:     libgnome-devel >= %{libgnome_version}
    81 Requires: zlib-devel
    35 Requires:     libbonoboui-devel >= %{libbonoboui_version}
    82 Requires: ORBit2-devel >= %{orbit2_version}
       
    83 Requires: glib2-devel >= %{glib2_version}
       
    84 Requires: pango-devel >= %{pango_version}
       
    85 Requires: gtk2-devel >= %{gtk2_version}
       
    86 Requires: GConf-devel >= %{gconf_version}
       
    87 Requires: gnome-vfs-devel >= %{gnome_vfs_version}
       
    88 Requires: libgnomecanvas-devel >= %{libgnomecanvas_version}
       
    89 Requires: bonobo-activation-devel >= %{bonobo_activation_version}
       
    90 Requires: libbonobo-devel >= %{libbonobo_version}
       
    91 Requires: libbonoboui-devel >= %{libbonoboui_version}
       
    92 Requires: libxml2-devel >= %{libxml2_version}
       
    93 Requires: libgnome-devel >= %{libgnome_version}
       
    94 Requires: libart_lgpl-devel >= %{libart_lgpl_version}
       
    95 Requires: libglade-devel >= %{libglade_version}
       
    96 Requires: esound-devel >= %{esound_version}
       
    97 
    36 
    98 %description devel
    37 %description devel
    99 This package contains all files needed to develop programs using the GNOME UI Library.
    38 libgnomeui is the GNOME User Interface Library, containing many widgets and 
       
    39 convenient API used to developer GNOME applications that is not in GTK+ 
       
    40 eg. About Dialog, Session Manager support
   100 
    41 
   101 %prep
    42 %prep
   102 %setup -q
    43 %setup -q
   103 
    44 
   104 %build
    45 %build
   105 touch libgnomeui/pixmaps/copyright.txt
    46 CFLAGS="$RPM_OPT_FLAGS"				\
   106 CFLAGS="$RPM_OPT_FLAGS" \
    47 ./configure --prefix=%{_prefix}			\
   107   ./configure \
    48 	    --sysconfdir=%{_sysconfdir}		\
   108 	--prefix=%{_prefix} \
    49 	    --mandir=%{_mandir}			\
   109 	--sysconfdir=%{_sysconfdir} \
    50 	    --disable-gtk-doc
   110 	--with-native-locale=yes \
       
   111 	--with-xinput=xfree \
       
   112 	--mandir=%{_mandir} \
       
   113 	--infodir=%{_infodir} \
       
   114 	--disable-gtk-doc
       
   115 
       
   116 make 
    51 make 
   117 
    52 
   118 %install
    53 %install
   119 make install DESTDIR=$RPM_BUILD_ROOT
    54 make DESTDIR=$RPM_BUILD_ROOT install
   120 
    55 
   121 %clean
    56 %clean
   122 rm -rf $RPM_BUILD_ROOT
    57 rm -rf $RPM_BUILD_ROOT
   123 
    58 
   124 %post -p /sbin/ldconfig
    59 %post
       
    60 /sbin/ldconfig
   125 
    61 
   126 %postun -p /sbin/ldconfig
    62 %postun
       
    63 /sbin/ldconfig
   127 
    64 
   128 %files
    65 %files
   129 %{_datadir}/locale/*/LC_MESSAGES/libgnomeui-2.0.mo
    66 %{_datadir}/locale/*/LC_MESSAGES/libgnomeui-2.0.mo
   130 %{_datadir}/pixmaps/*.png
    67 %{_datadir}/pixmaps/*.png
   131 %{_libexecdir}/*
    68 %{_libexecdir}/*