commit dac2827befa21c7bcff05e6c6405aa167cc7fe2c93dc8f6d6a4ff9c5af6de91c Author: Dr. Werner Fink Date: Tue Jun 30 09:21:05 2015 +0000 Accepting request 314470 from GNOME:Factory I really consider this to belong in Base System - there is no 'GNOME' code in there - and the people maintaining it are more likely base system guys too OBS-URL: https://build.opensuse.org/request/show/314470 OBS-URL: https://build.opensuse.org/package/show/Base:System/libgudev?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..c94f334 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libgudev-1_0-0 diff --git a/libgudev-230.tar.xz b/libgudev-230.tar.xz new file mode 100644 index 0000000..058a270 --- /dev/null +++ b/libgudev-230.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2e77faced0c66d7498403adefcc0707105e03db71a2b2abd620025b86347c18 +size 257528 diff --git a/libgudev.changes b/libgudev.changes new file mode 100644 index 0000000..0369d58 --- /dev/null +++ b/libgudev.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Fri Jun 19 19:52:24 UTC 2015 - jengelh@inai.de + +- Transplant baselibs.conf from systemd.spec. Update package + metadata. + +------------------------------------------------------------------- +Tue Jun 2 11:04:22 UTC 2015 - zaitor@opensuse.org + +- Update to version 230: + + Bump version number so the package will supercede any gudev + sub-packages provided via systemd. We intend to drop gudev from + systemd-221, but lets be safe and just bump it to 230 now. + +------------------------------------------------------------------- +Tue May 19 16:02:57 UTC 2015 - crrodriguez@opensuse.org + +- Split from systemd/udev. + diff --git a/libgudev.spec b/libgudev.spec new file mode 100644 index 0000000..32a13f1 --- /dev/null +++ b/libgudev.spec @@ -0,0 +1,101 @@ +# +# spec file for package libgudev +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: libgudev +Version: 230 +Release: 0 +License: LGPL-2.0+ +Group: Development/Libraries/GNOME +Summary: Library that provides GObject bindings for libudev +Url: https://wiki.gnome.org/Projects/libgudev +Source0: https://download.gnome.org/sources/libgudev/%{version}/%{name}-%{version}.tar.xz +Source99: baselibs.conf +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(glib-2.0) >= 2.22.0 +BuildRequires: pkgconfig(gobject-2.0) >= 2.22.0 +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gtk-doc) >= 1.18 +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Library provides GObject bindings for libudev. + +%package -n libgudev-1_0-0 +Summary: GObject library, to access udev device information +Group: System/Libraries + +%description -n libgudev-1_0-0 +This package contains the GObject library libgudev, which provides +access to udev device information. + +%package -n typelib-1_0-GUdev-1_0 +Summary: GObject library, to access udev device information -- Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-GUdev-1_0 +This package provides the GObject Introspection bindings for libgudev, which +provides access to udev device information. + +%package -n libgudev-1_0-devel +Summary: Devel package for libgudev +Group: Development/Libraries/C and C++ +Requires: libgudev-1_0-0 = %{version} +Requires: typelib-1_0-GUdev-1_0 = %{version} + +%description -n libgudev-1_0-devel +This is the devel package for the GObject library libgudev, which +provides GObject access to udev device information. + +%prep +%setup -q + +%build +%configure \ + --disable-static \ + --enable-gtk-doc +make %{?_smp_mflags} V=1 + +%install +%makeinstall +find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print + +%post -n libgudev-1_0-0 -p /sbin/ldconfig + +%postun -n libgudev-1_0-0 -p /sbin/ldconfig + +%files -n libgudev-1_0-0 +%defattr(-,root,root) +%doc COPYING +%{_libdir}/libgudev-1.0.so.* + +%files -n typelib-1_0-GUdev-1_0 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/GUdev-1.0.typelib + +%files -n libgudev-1_0-devel +%defattr(-,root,root) +%{_includedir}/gudev-1.0/ +%{_libdir}/libgudev-1.0.so +%{_libdir}/pkgconfig/gudev-1.0.pc +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%{_datadir}/gtk-doc/html/gudev/ +%{_datadir}/gir-1.0/GUdev-1.0.gir + +%changelog