89b9740ed5
gnome-menus-2.9.90-1.src.rpm
68 lines
1.4 KiB
RPMSpec
68 lines
1.4 KiB
RPMSpec
%define po_package gnome-menus
|
|
|
|
Summary: A menu system for the GNOME project
|
|
Name: gnome-menus
|
|
Version: 2.9.90
|
|
Release: 1
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
URL: http://www.gnome.org/
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
%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
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
%find_lang %{po_package}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{po_package}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
%doc
|
|
%{_sysconfdir}/xdg/menus
|
|
%{_libdir}/libgnome-menu.so.*
|
|
%{_datadir}/desktop-directories
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*
|
|
%{_includedir}/gnome-menus
|
|
%{_bindir}/gnome-menu-spec-test
|
|
|
|
|
|
%changelog
|
|
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
|
|
- Initial build.
|
|
|