Split off a devel package
This commit is contained in:
parent
5e385e5310
commit
1ccd7a9c19
@ -7,9 +7,9 @@
|
||||
Summary: Metacity window manager
|
||||
Name: metacity
|
||||
Version: %{metacity_version}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
URL: http://ftp.gnome.org/pub/gnome/sources/metacity/
|
||||
Source0: %{metacity_filename}.tar.bz2
|
||||
Source0: http://ftp.gnome.org/pub/gnome/sources/metacity/2.18/%{metacity_filename}.tar.bz2
|
||||
License: GPL
|
||||
Group: User Interface/Desktops
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -32,6 +32,7 @@ Requires: redhat-artwork >= 0.62
|
||||
Requires: pkgconfig
|
||||
|
||||
Requires(post): GConf2 >= 2.14
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(pre): GConf2 >= 2.14
|
||||
Requires(preun): GConf2 >= 2.14
|
||||
|
||||
@ -40,6 +41,20 @@ Requires(preun): GConf2 >= 2.14
|
||||
Metacity is a simple window manager that integrates nicely with
|
||||
GNOME 2.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Headers and libraries for metacity
|
||||
Requires: gtk2-devel, libX11-devel
|
||||
Requires: pkgconfig
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
|
||||
This package contains the files needed for compiling programs using
|
||||
the metacity-private library. Note that you are not supposed to write
|
||||
programs using the metacity-private library, since it is a private
|
||||
API. This package exists purely for technical reasons.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{metacity_filename}
|
||||
|
||||
@ -70,14 +85,14 @@ done
|
||||
make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS"
|
||||
|
||||
%install
|
||||
#rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
||||
|
||||
/bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
/bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
%find_lang %{gettext_package}
|
||||
|
||||
@ -106,18 +121,31 @@ fi
|
||||
%files -f %{gettext_package}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt doc/metacity-theme.dtd
|
||||
%{_bindir}/*
|
||||
%{_bindir}/metacity
|
||||
%{_bindir}/metacity-message
|
||||
%{_libexecdir}/*
|
||||
%{_datadir}/gnome/wm-properties/metacity.desktop
|
||||
%{_sysconfdir}/gconf/schemas/*.schemas
|
||||
%{_datadir}/metacity
|
||||
%{_datadir}/themes
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_mandir}/man1/metacity.1.gz
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/metacity-theme-viewer
|
||||
%{_bindir}/metacity-window-demo
|
||||
%{_includedir}/*
|
||||
%{_libdir}/lib*.so*
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man1/metacify-theme-viewer.1.gz
|
||||
%{_mandir}/man1/metacify-window-demo.1.gz
|
||||
|
||||
%changelog
|
||||
* Tue Apr 3 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-2
|
||||
- Split off a devel package (#203547)
|
||||
- Some spec file cleanups (#21573)
|
||||
|
||||
* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
|
||||
- Update to 2.18.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user