base-specs/libgksuui.spec
author convert-repo
Tue, 28 Sep 2010 11:41:29 +0000
changeset 20122 34a34bffcb68
parent 17893 36619080451b
permissions -rw-r--r--
update tags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package libgksuui
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16426
diff changeset
     8
%define owner lin
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16426
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15569
diff changeset
    10
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15569
diff changeset
    11
%define OSR 4532:1.x
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15569
diff changeset
    12
15569
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    13
%include l10n.inc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Name:         libgksuui
14564
7553ba655f1f 2008-11-06 Jim Li <[email protected]>
jim
parents: 9397
diff changeset
    15
License:      LGPL v2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Group:        Applications/Utilities
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Version:      1.0.5
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Distribution: Java Desktop System
17893
36619080451b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17865
diff changeset
    20
Vendor:       www.nongnu.org/gksu
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Summary:      Shows dialogs for asking passwords
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source:       http://people.debian.org/~kov/gksu/old_stuff/libgksuui1.0/libgksuui1.0-%{version}.tar.gz
15569
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    23
Source1:      %{name}-po-sun-%{po_sun_version}.tar.bz2
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    24
Source2:      l10n-configure.sh
15334
a28a390c68a7 2009-03-10 Harry Lu <[email protected]>
harrylu
parents: 14564
diff changeset
    25
# date:2006-10-21 owner:lin type:feature
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Patch1:	      libgksuui1.0-01-Makefile.diff
15334
a28a390c68a7 2009-03-10 Harry Lu <[email protected]>
harrylu
parents: 14564
diff changeset
    27
# date:2006-10-21 owner:lin type:feature
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Patch2:	      libgksuui1.0-02-GUI-update.diff
15569
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    29
# date:2009-04-06 owner:fujiwara type:bug state:upstreamed
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    30
Patch3:	      libgksuui1.0-03-build.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
URL:          http://savannah.nongnu.org/projects/gksu/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Prereq:       GConf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires: gettext, bison, gtk-doc, pkgconfig, gtk2-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
Libgksuui uses the Gtk+2 library to show the dialog asking for the target
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
user's password when needed. It is used by gksu.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Summary: Header files, libraries and development documentation for %{name}.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Group: Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires: %{name} = %{version}-%{release}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
This package contains the header files, static libraries and development
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
documentation for %{name}. If you like to develop programs using %{name},
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
you will need to install %{name}-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%setup -n libgksuui1.0-%{version}
15569
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    56
sh -x %SOURCE2 --enable-sun-linguas
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    57
/bin/rm -f po/stamp-po
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    58
bzcat %SOURCE1 | tar xf -
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    59
cd po-sun; make; cd ..
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%patch1 -p1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%patch2 -p1
15569
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    62
%patch3 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
# libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
# aclocal $ACLOCAL_FLAGS
15569
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    78
autoheader
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
    79
autoconf
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
# automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
CFLAGS="$RPM_OPT_FLAGS" \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
  ./configure \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
	--prefix=%{_prefix} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
	--sysconfdir=%{_sysconfdir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
        --libexecdir=%{_libexecdir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
        --mandir=%{_mandir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
	--disable-scrollkeeper
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
make -i install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
/sbin/ldconfig 2>/dev/null
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
/sbin/ldconfig 2>/dev/null
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
# rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%doc AUTHORS ChangeLog COPYING INSTALL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%{_libdir}/libgksuui*.so.*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%{_datadir}/gtk-doc/html/libgksuui*/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%{_datadir}/libgksuui*/gksu-auth.png
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%{_datadir}/locale/*/*/libgksuui*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%{_includedir}/*.h
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%{_libdir}/libgksuui*.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%{_libdir}/libgksuui*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
# %exclude %{_libdir}/*.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%{_libdir}/pkgconfig/libgksuui*.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%changelog
15569
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
   120
* Mon Apr 06 2009 - [email protected]
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
   121
- Add l10n tarball.
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
   122
- Add patch build.diff for autoconf
f5ee708e987d 2009-04-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 15334
diff changeset
   123
- Update patch GUI-update.diff for SUN_BRANDING.
15334
a28a390c68a7 2009-03-10 Harry Lu <[email protected]>
harrylu
parents: 14564
diff changeset
   124
* Tue Mar 10, 2009 - [email protected]
a28a390c68a7 2009-03-10 Harry Lu <[email protected]>
harrylu
parents: 14564
diff changeset
   125
- Change owner to Lin Ma
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
* Sun Jan 28 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
- fix download url
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
* Sat Oct 21 2006 Jim Li <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- Add patch GUI-update.diff to support accessibility.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Sat Apr 08 2006 Dries Verachtert <[email protected]> - 1.0.7-1.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Rebuild for Fedora Core 5.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
* Thu Jan 05 2006 Dries Verachtert <[email protected]> - 1.0.7-1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- Initial package.