9f1814861e
- Rebuild with gcc4
84 lines
1.8 KiB
RPMSpec
84 lines
1.8 KiB
RPMSpec
%define po_package gnome-menus
|
|
%define enable_debugging 0
|
|
|
|
Summary: A menu system for the GNOME project
|
|
Name: gnome-menus
|
|
Version: 2.9.90
|
|
Release: 3
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
URL: http://www.gnome.org/
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Requires: redhat-menus >= 1.0
|
|
|
|
%description
|
|
gnome-menus is an implementation of the draft "Desktop
|
|
Menu Specification" from freedesktop.org. This package
|
|
also contains the GNOME menu layout configuration files,
|
|
.directory files and assorted menu related utility programs.
|
|
|
|
%package devel
|
|
Summary: Libraries and include files for the GNOME menu system
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
This package provides the necessary development libraries for
|
|
writing applications that use the GNOME menu system.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
%if %{enable_debugging}
|
|
--enable-debug=yes
|
|
%else
|
|
--enable-debug=no
|
|
%endif
|
|
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/desktop-directories
|
|
|
|
%find_lang %{po_package}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{po_package}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
%doc
|
|
%{_libdir}/libgnome-menu.so.*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*
|
|
%{_includedir}/gnome-menus
|
|
%{_bindir}/gnome-menu-spec-test
|
|
|
|
|
|
%changelog
|
|
* Wed Mar 2 2005 Mark McLoughlin <markmc@redhat.com> 2.9.90-3
|
|
- Turn off debugging by default
|
|
- Rebuild with gcc4
|
|
|
|
* Tue Feb 1 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-2
|
|
- Don't include .directory and .menu files,
|
|
we want those from redhat-menus
|
|
|
|
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
|
|
- Initial build.
|
|
|