From b1668d3a1ff65aa6fb9f1a93856a48e7edebeb8d Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jan 28 2014 13:00:31 +0000 Subject: import keybinder3-0.3.0-1.el7.src.rpm --- diff --git a/.keybinder3.metadata b/.keybinder3.metadata new file mode 100644 index 0000000..6ef799c --- /dev/null +++ b/.keybinder3.metadata @@ -0,0 +1 @@ +784e839e726e58511116cf247707d60fe5fa16fe SOURCES/keybinder-3.0-v0.3.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/keybinder3.spec b/SPECS/keybinder3.spec new file mode 100644 index 0000000..455efc2 --- /dev/null +++ b/SPECS/keybinder3.spec @@ -0,0 +1,71 @@ +Name: keybinder3 +Version: 0.3.0 +Release: 1%{?dist} +Summary: A library for registering global keyboard shortcuts +Group: Development/Libraries +License: MIT +URL: https://github.com/engla/keybinder/tree/keybinder-3.0 +Source0: https://github.com/engla/keybinder/archive/keybinder-3.0-v%{version}.tar.gz + +BuildRequires: gtk3-devel, gnome-common, gtk-doc, gobject-introspection-devel + +%description +Keybinder is a library for registering global keyboard shortcuts. +Keybinder works with GTK-based applications using the X Window System. + +The library contains: +- A C library, libkeybinder +- Gobject-Introspection bindings + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +This package contains the development files for %{name}. + +%package doc +Summary: Documentation for %{name} +Group: Documentation +BuildArch: noarch +Requires: %{name} = %{version}-%{release} +Requires: devhelp +%description doc +This package contains documentation for %{name}. + +%prep +%setup -qn keybinder-keybinder-3.0-v%{version} + +%build +./autogen.sh +%configure --prefix=/usr --libdir=%{_libdir} --enable-shared --enable-gtk-doc +make %{?_smp_mflags} V=1 + +%install +make install DESTDIR=%{buildroot} + +rm -rf %{buildroot}/%{_libdir}/libkeybinder-3.0.la + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%doc NEWS AUTHORS README COPYING +%{_libdir}/libkeybinder-3.0.so.* +%{_libdir}/girepository-1.0/Keybinder-3.0.typelib + +%files devel +%dir %{_includedir}/keybinder-3.0/ +%{_includedir}/keybinder-3.0/keybinder.h +%{_libdir}/pkgconfig/keybinder-3.0.pc +%{_libdir}/libkeybinder-3.0.so +%{_datadir}/gir-1.0/Keybinder-3.0.gir + +%files doc +%dir %{_datadir}/gtk-doc/html/keybinder-3.0/ +%{_datadir}/gtk-doc/html/keybinder-3.0/* + +%changelog +* Thu Aug 1 2013 TingPing - 0.3.0-1 +- Initial Package +