Init package
This commit is contained in:
parent
5b6b4170b7
commit
37a7e80a27
BIN
garcon-0.7.0.tar.bz2
Normal file
BIN
garcon-0.7.0.tar.bz2
Normal file
Binary file not shown.
70
garcon.spec
Normal file
70
garcon.spec
Normal file
@ -0,0 +1,70 @@
|
||||
%global xfceversion 4.14
|
||||
Name: garcon
|
||||
Version: 0.7.0
|
||||
Release: 1
|
||||
Summary: Implementation of the freedesktop.org menu specification
|
||||
License: LGPLv2+ and GFDL
|
||||
URL: http://xfce.org/
|
||||
Source0: http://archive.xfce.org/src/libs/%{name}/0.7/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.30.0
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.30.0
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.30.0
|
||||
BuildRequires: pkgconfig(gthread-2.0) >= 2.30.0
|
||||
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.14.0
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: libxfce4ui-devel
|
||||
BuildRequires: libxfce4util-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: intltool
|
||||
|
||||
%description
|
||||
Garcon is a freedesktop.org compliant menu implementation based
|
||||
on GLib and GIO. It was started as a complete rewrite of the former
|
||||
Xfce menu library called libxfce4menu, which, in contrast to garcon,
|
||||
was lacking menu merging features essential for loading menus modified
|
||||
with menu editors.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: gtk2-devel
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use garcon.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-gtk-doc
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README
|
||||
%config(noreplace) %{_sysconfdir}/xdg/menus/xfce-applications.menu
|
||||
%{_libdir}/*.so.*
|
||||
%{_datadir}/desktop-directories/*.directory
|
||||
|
||||
%files devel
|
||||
%doc HACKING STATUS TODO
|
||||
%doc %{_datadir}/gtk-doc/
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
* Tue Jul 7 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.7.0-1
|
||||
- Init Package
|
||||
Loading…
x
Reference in New Issue
Block a user