libgnomeui.spec
changeset 1487 1f8ddafb24b2
parent 1245 a51d49ea7ca8
child 1504 a821d3f5947a
equal deleted inserted replaced
1486:b52e4a90ac55 1487:1f8ddafb24b2
     1 Name:         libgnomeui 
     1 Name:         libgnomeui 
     2 License:      LGPL
     2 License:      LGPL
     3 Group:        System/Libraries/GNOME
     3 Group:        System/Libraries/GNOME
     4 Version:      2.4.0.1
     4 Version:      2.5.1
     5 Release:      2
     5 Release:      1
     6 Distribution: Quicksilver
     6 Distribution: Quicksilver
     7 Vendor:	      Sun Microsystems, Inc.
     7 Vendor:	      Sun Microsystems, Inc.
     8 Summary:      GNOME User Interface Library  
     8 Summary:      GNOME User Interface Library  
     9 Source:       http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.4/libgnomeui-%{version}.tar.bz2
     9 Source:       http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.5/libgnomeui-%{version}.tar.bz2
    10 Source1:      libgnomeui-l10n-po.tar.bz2
    10 Source1:      libgnomeui-l10n-po-0.6.tar.bz2
       
    11 Source2:      libgnomeui-2.3.gz
    11 Patch1:       libgnomeui-01-file-entry-activate.diff
    12 Patch1:       libgnomeui-01-file-entry-activate.diff
    12 Patch2:       libgnomeui-02-full-icon-path.diff
    13 Patch2:       libgnomeui-02-auth-manager.diff
    13 Patch3:       libgnomeui-03-auth-manager.diff
       
    14 URL:          http://www.gnome.org
    14 URL:          http://www.gnome.org
    15 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
    15 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
    16 Autoreqprov:  on
    16 Autoreqprov:  on
    17 Prereq:       /sbin/ldconfig
    17 Prereq:       /sbin/ldconfig
    18 
    18 
    19 %define gtk_doc_version 1.1
    19 %define gtk_doc_version 1.1
    20 %define libbonoboui_version 2.4.0
    20 %define libbonoboui_version 2.4.0
    21 %define libglade_version 2.0.1
    21 %define libglade_version 2.0.1
    22 %define libbonobo_version 2.4.0
    22 %define libbonobo_version 2.4.0
    23 %define libgnome_version 2.4.0
    23 %define libgnome_version 2.4.0
       
    24 %define gnome_keyring_version 0.1
    24 
    25 
    25 Requires: libbonoboui >= %{libbonoboui_version}
    26 Requires: libbonoboui >= %{libbonoboui_version}
    26 Requires: libglade >= %{libglade_version}
    27 Requires: libglade >= %{libglade_version}
       
    28 Requires: gnome-keyring >= %{gnome_keyring_version}
    27 BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
    29 BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
       
    30 BuildRequires: libglade-devel >= %{libglade_version}
       
    31 BuildRequires: gnome-keyring-devel >= %{gnome_keyring_version}
    28 BuildRequires: gtk-doc >= %{gtk_doc_version}
    32 BuildRequires: gtk-doc >= %{gtk_doc_version}
    29 
    33 
    30 %description
    34 %description
    31 libgnomeui is the GNOME User Interface Library, containing many widgets and 
    35 libgnomeui is the GNOME User Interface Library, containing many widgets and 
    32 convenient API used to developer GNOME applications that is not in GTK+ 
    36 convenient API used to developer GNOME applications that is not in GTK+ 
    46 
    50 
    47 %prep
    51 %prep
    48 %setup -q
    52 %setup -q
    49 %patch1 -p1
    53 %patch1 -p1
    50 %patch2 -p1
    54 %patch2 -p1
    51 %patch3 -p1
       
    52 tar -jxf %SOURCE1
    55 tar -jxf %SOURCE1
    53 
    56 
    54 %build
    57 %build
    55 CFLAGS="$RPM_OPT_FLAGS"				\
    58 CFLAGS="$RPM_OPT_FLAGS"				\
    56 ./configure --prefix=%{_prefix}			\
    59 ./configure --prefix=%{_prefix}			\
    59 	    --disable-gtk-doc
    62 	    --disable-gtk-doc
    60 make 
    63 make 
    61 
    64 
    62 %install
    65 %install
    63 make DESTDIR=$RPM_BUILD_ROOT install
    66 make DESTDIR=$RPM_BUILD_ROOT install
       
    67 install -d $RPM_BUILD_ROOT/usr/share/man/man3
       
    68 install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/man/man3
       
    69 #Copy zh_HK from zh_TW
       
    70 #Fixes bug 4930405
       
    71 install -d $RPM_BUILD_ROOT/usr/share/locale/zh_HK/LC_MESSAGES
       
    72 install --mode=0644 $RPM_BUILD_ROOT/usr/share/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT/usr/share/locale/zh_HK/LC_MESSAGES/
    64 
    73 
    65 %clean
    74 %clean
    66 rm -rf $RPM_BUILD_ROOT
    75 rm -rf $RPM_BUILD_ROOT
    67 
    76 
    68 %post
    77 %post
    82 %{_libdir}/pkgconfig/*.pc
    91 %{_libdir}/pkgconfig/*.pc
    83 %{_includedir}/libgnomeui-2.0/libgnomeui/*.h
    92 %{_includedir}/libgnomeui-2.0/libgnomeui/*.h
    84 %{_includedir}/libgnomeui-2.0/*.h
    93 %{_includedir}/libgnomeui-2.0/*.h
    85 %{_libdir}/lib*.so
    94 %{_libdir}/lib*.so
    86 %{_datadir}/gtk-doc/html/libgnomeui
    95 %{_datadir}/gtk-doc/html/libgnomeui
       
    96 %{_mandir}/man3/*
    87 
    97 
    88 %changelog
    98 %changelog
       
    99 * Mon Dec 15 2003 - [email protected]
       
   100 - Update to 2.5.1
       
   101 
    89 * Mon Oct 13 2003 - [email protected]
   102 * Mon Oct 13 2003 - [email protected]
    90 - added auth manager patch (moved from nautilus)
   103 - added auth manager patch (moved from nautilus)
    91 
   104 
    92 * Thu Oct 09 2003 - [email protected]
   105 * Thu Oct 09 2003 - [email protected]
    93 - Updated for 2.4
   106 - Updated for 2.4