diff options
author | Jens Finke <jens@gnome.org> | 2001-08-14 22:32:17 +0000 |
---|---|---|
committer | Jens Finke <jens@src.gnome.org> | 2001-08-14 22:32:17 +0000 |
commit | b17eaf6a4681e636bd9abb08c4f6ba83f70fc777 (patch) | |
tree | 2860f7af50a369f4cc38171142a6a6896668c84e /atk.spec.in | |
parent | 2e07b7601c6931eeb38afdf3ce306871e15e98eb (diff) | |
download | atk-b17eaf6a4681e636bd9abb08c4f6ba83f70fc777.tar.gz |
Added atk.spec and atk.spec.in files. Moved GLIB_REQUIRED_VERSION to top
2001-08-15 Jens Finke <jens@gnome.org>
* Makefile.am (EXTRA_DIST): Added atk.spec and atk.spec.in files.
* configure.in: Moved GLIB_REQUIRED_VERSION to top of file and
added a AC_SUBST for it. This is needed for the spec.in file.
Added atk.spec to output list.
* atk.spec.in: New file.
Diffstat (limited to 'atk.spec.in')
-rw-r--r-- | atk.spec.in | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/atk.spec.in b/atk.spec.in new file mode 100644 index 0000000..2564b93 --- /dev/null +++ b/atk.spec.in @@ -0,0 +1,72 @@ +Name: atk +Summary: Accessability Toolkit +Version: @VERSION@ +Release: 1 +License: LGPL +Group: Development/Libraries +Source: %{name}-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-%{version}-root +URL: http://www.gtk.org +Requires: glib >= @GLIB_REQUIRED_VERSION@ +BuildRequires: glib-devel >= @GLIB_REQUIRED_VERSION@ + +%description +Handy library of accessability functions. Development libs and headers +are in atk-devel. + +%package devel +Summary: Header, docs and development libraries for atk. +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Header, docs and development libraries for atk. + +%prep +%setup -q + +%build +CFLAGS="$RPM_OPT_FLAGS" +./configure --prefix=%{_prefix} \ + --bindir=%{_bindir} --mandir=%{_mandir} \ + --localstatedir=%{_localstatedir} --libdir=%{_libdir} \ + --datadir=%{_datadir} --includedir=%{_includedir} \ + --sysconfdir=%{_sysconfdir} --disable-gtk-doc +make + +%install +rm -rf $RPM_BUILD_ROOT + +make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \ + mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \ + localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \ + datadir=$RPM_BUILD_ROOT%{_datadir} \ + includedir=$RPM_BUILD_ROOT%{_includedir} \ + sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) + +%doc AUTHORS COPYING ChangeLog NEWS README +%{_libdir}/lib*.so.* + +%files devel +%defattr(-, root, root) + +%{_libdir}/lib*.so +%{_libdir}/*a +%{_libdir}/pkgconfig/*.pc +%{_includedir}/atk-1.0 +%{_datadir}/gtk-doc/html/atk + +%changelog + +* Wed Aug 15 2001 Jens Finke <jens@gnome.org> +- created spec file
\ No newline at end of file |