glib2.spec
author gman
Tue, 27 May 2003 13:22:57 +0000
changeset 164 319ee2a42951
parent 163 f6b064cb23e5
child 168 d2b208a9e94b
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     1
Name:         glib2 
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
     2
License:      LGPL
163
f6b064cb23e5 Fix up Group
gman
parents: 160
diff changeset
     3
Group:        System/Libraries
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
     4
Version:      2.2.1
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
     5
Release:      1
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
     6
Distribution: Mercury
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
     7
Vendor:       Sun Microsystems Inc.
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     8
Summary:      Low level core compatibility library for GTK+ and GNOME
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
     9
Source:       http://ftp.gnome.org/pub/GNOME/sources/glib/2.2/glib-%version.tar.bz2
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    10
URL:          http://www.gtk.org
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    11
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    12
Docdir:	      %{_defaultdocdir}/doc
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    13
AutoReqProv:  on
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    14
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    15
BuildRequires: pkgconfig
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    16
BuildRequires: gtk-doc
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    17
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    18
%description
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    19
Glib is the base compatibility library for GTK+ and GNOME. It provides data
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    20
structure handling for C, portability wrappers, and interfaces for such
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    21
runtime functionality as an event loop, threads, dynamic laoding, and an
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    22
object system
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    23
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    24
%package devel
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    25
Summary:        GIMP Toolkit and GIMP Drawing Kit support library
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    26
Group:          Low level core compatibility development library for GTK+ and GNOME
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    27
Requires:       %{name} = %{version}-%{release}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    28
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    29
%description devel
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    30
Glib is the base compatibility library for GTK+ and GNOME. It provides data
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    31
structure handling for C, portability wrappers, and interfaces for such
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    32
runtime functionality as an event loop, threads, dynamic laoding, and an
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    33
object system
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    34
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    35
%prep
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    36
%setup -q -n glib-%{version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    37
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    38
%build
164
319ee2a42951 *** empty log message ***
gman
parents: 163
diff changeset
    39
CFLAGS="$RPM_OPT_FLAGS"			\
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    40
./configure --prefix=%{_prefix}		\
164
319ee2a42951 *** empty log message ***
gman
parents: 163
diff changeset
    41
	    --sysconfdir=%{_sysconfdir}
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    42
make
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    43
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    44
%install
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    45
make DESTDIR=$RPM_BUILD_ROOT install
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    46
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    47
%clean
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    48
rm -rf $RPM_BUILD_ROOT
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    49
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    50
%post
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    51
/sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    52
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    53
%postun
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    54
/sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    55
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    56
%files
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    57
%defattr(-,root,root)
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    58
%{_prefix}/lib/lib*.so.*
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    59
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    60
%files devel
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    61
%defattr(-,root,root)
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    62
%{_prefix}/bin/*
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    63
%{_prefix}/lib/*a
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    64
%{_prefix}/include/glib-2.0/*.h
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    65
%{_prefix}/lib/glib-2.0/include/*.h
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    66
%{_prefix}/lib/pkgconfig/*.pc
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    67
%{_prefix}/share/aclocal/*.m4
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    68
%{_prefix}/share/glib-2.0/*
164
319ee2a42951 *** empty log message ***
gman
parents: 163
diff changeset
    69
%{_prefix}/share/gtk-doc/html/glib/*
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    70
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    71
%changelog
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents:
diff changeset
    72
* Thu May 12 2003 - [email protected]
160
ba98da116e51 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    73
- Initial spec file for glib2