source: trunk/third/atk/atk.spec.in @ 18245

Revision 18245, 1.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18244, which included commits to RCS files with non-trunk default branches.
Line 
1Name:           atk
2Summary:        Accessability Toolkit
3Version:        @VERSION@
4Release:        1
5License:        LGPL
6Group:          Development/Libraries
7Source:         ftp://ftp.gimp.org/pub/gtk/v1.3/%{name}-%{version}.tar.gz
8BuildRoot:      /var/tmp/%{name}-%{version}-root
9URL:            http://www.gtk.org
10Requires:       glib2 >= @GLIB_REQUIRED_VERSION@
11BuildRequires:  glib2-devel >= @GLIB_REQUIRED_VERSION@
12
13%description
14Handy library of accessability functions. Development libs and headers
15are in atk-devel.
16
17%package devel
18Summary:        Header, docs and development libraries for atk.
19Group:          Development/Libraries
20Requires:       %{name} = %{version}
21
22%description devel
23Header, docs and development libraries for atk.
24
25%prep
26%setup -q
27
28%build
29CFLAGS="$RPM_OPT_FLAGS"
30./configure --prefix=%{_prefix} \
31    --bindir=%{_bindir} --mandir=%{_mandir} \
32    --localstatedir=%{_localstatedir} --libdir=%{_libdir} \
33    --datadir=%{_datadir} --includedir=%{_includedir} \
34    --sysconfdir=%{_sysconfdir} --disable-gtk-doc
35make
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
41    mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
42    localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
43    datadir=$RPM_BUILD_ROOT%{_datadir} \
44    includedir=$RPM_BUILD_ROOT%{_includedir} \
45    sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post -p /sbin/ldconfig
51
52%postun -p /sbin/ldconfig
53
54%files
55%defattr(-, root, root)
56
57%doc AUTHORS COPYING ChangeLog NEWS README
58%{_libdir}/lib*.so.*
59
60%files devel
61%defattr(-, root, root)
62
63%{_libdir}/lib*.so
64%{_libdir}/*a
65%{_libdir}/pkgconfig/*.pc
66%{_includedir}/atk-1.0
67%{_datadir}/gtk-doc/html/atk
68
69%changelog
70* Mon Aug 27 2001 Jens Finke <jens@gnome.org>
71- glib2 package now required
72- updated source url
73
74* Wed Aug 15 2001 Jens Finke <jens@gnome.org>
75- created spec file
Note: See TracBrowser for help on using the repository browser.