From ecfa6127dd7e6eb71fddfd85067949e53993db26 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 11 2014 02:53:48 +0000 Subject: import libgsystem-2014.2-2.atomic.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1d65e9a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libgsystem-2014.2.tar.xz diff --git a/.libgsystem.metadata b/.libgsystem.metadata new file mode 100644 index 0000000..d960c76 --- /dev/null +++ b/.libgsystem.metadata @@ -0,0 +1 @@ +44a16a43e4a200a99ba622e657db7199ff7fd7ff SOURCES/libgsystem-2014.2.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +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/libgsystem.spec b/SPECS/libgsystem.spec new file mode 100644 index 0000000..f2519d2 --- /dev/null +++ b/SPECS/libgsystem.spec @@ -0,0 +1,71 @@ +Name: libgsystem +Version: 2014.2 +Release: 2.atomic%{?dist} +Summary: GIO-based library with Unix/Linux specific API + +License: LGPLv2+ +URL: https://wiki.gnome.org/Projects/LibGSystem +Source0: http://ftp.gnome.org/pub/GNOME/sources/libgsystem/%{version}/libgsystem-%{version}.tar.xz + +# We always run autogen.sh +BuildRequires: autoconf automake libtool +# For docs +BuildRequires: gtk-doc +# Core requirements +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: libattr-devel +BuildRequires: gobject-introspection-devel + +%description +LibGSystem is a GIO-based library targeted primarily +for use by operating system components. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: gobject-introspection-devel + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc README COPYING +%{_libdir}/%{name}.so.* +%{_libdir}/girepository-*/*.typelib + +%files devel +%{_includedir}/* +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc +%{_datadir}/gir-*/*.gir + + +%changelog +* Tue Apr 01 2014 Colin Walters +- New upstream version + +* Wed Mar 12 2014 Colin Walters - 2014.1-2 +- Move typelib into main package, where it should be + +* Tue Feb 18 2014 Patrick Uiterwijk - 2014.1-1 +- Initial packaging