keybinder/keybinder.spec

104 lines
3.0 KiB
RPMSpec

Name: keybinder
Version: 0.3.0
Release: 1mamba
Summary: A library for registering global keyboard shortcuts
Group: System/X11
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/engla/keybinder/tree/keybinder-3.0
## GITSOURCE https://github.com/engla/keybinder.git v0.3.0
Source: https://github.com/engla/keybinder.git/v%{version}/keybinder-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXrender-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpython-devel
BuildRequires: libselinux-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
#Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Keybinder is a library for registering global keyboard shortcuts.
Keybinder works with GTK-based applications using the X Window System.
%package -n lib%{name}
Group: System/Libraries
Summary: A library for registering global keyboard shortcuts
%description -n lib%{name}
Keybinder is a library for registering global keyboard shortcuts.
Keybinder works with GTK-based applications using the X Window System.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libkeybinder.so.*
%{_libdir}/girepository-1.0/Keybinder-0.0.typelib
%dir %{python27_sitearch}/keybinder
%{python27_sitearch}/keybinder/*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/keybinder.h
%{_libdir}/libkeybinder.la
%{_libdir}/libkeybinder.so
%{_datadir}/gir-1.0/Keybinder-0.0.gir
%{_libdir}/pkgconfig/keybinder.pc
%doc ChangeLog.pre-git NEWS README
%changelog
* Mon Dec 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
- package created using the webbuild interface