Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Archive
gnome-sdk-images
Commits
6203afd1
Commit
6203afd1
authored
Nov 25, 2014
by
Alexander Larsson
Browse files
Add json-glib
parent
2d18dc86
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
6203afd1
...
...
@@ -40,7 +40,7 @@ PACKAGES = \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme
\
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts
\
gtk2 gnome-themes-standard libproxy gsettings-desktop-schemas glib-networking libsoup
\
dconf gvfs desktop-file-utils
\
dconf gvfs desktop-file-utils
json-glib
\
$(NULL)
ALL_SPECS
=
$
(
PACKAGES:%
=
$(SPECS)
/%.spec
)
...
...
packages/SPECS/gnome-platform.spec
View file @
6203afd1
...
...
@@ -26,7 +26,7 @@ Requires: dconf libsoup
Requires: gsettings-desktop-schemas
Requires: gvfs
Requires: desktop-file-utils
Requires: json-glib
%description
Meta package for Gnome SDK dependencies
...
...
packages/SPECS/gnome-sdk.spec
View file @
6203afd1
...
...
@@ -22,10 +22,12 @@ BuildRequires: gobject-introspection
BuildRequires: libsoup
BuildRequires: gvfs
BuildRequires: desktop-file-utils
BuildRequires: json-glib
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
Requires: desktop-file-utils
Requires: json-glib-devel
Requires: gvfs-devel
Requires: librsvg2-devel
Requires: hicolor-icon-theme
...
...
packages/SPECS/json-glib.spec
0 → 100644
View file @
6203afd1
Name: json-glib
Version: 1.0.2
Release: 1%{?dist}
Summary: Library for JavaScript Object Notation format
Group: System Environment/Libraries
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/JsonGlib
#VCS: git:git://git.gnome.org/json-glib
Source0: http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
%description
%{name} is a library providing serialization and deserialization support
for the JavaScript Object Notation (JSON) format.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{name}-%{version}
%build
%configure --enable-static=no
make %{?_smp_mflags} V=1
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%find_lang json-glib-1.0
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f json-glib-1.0.lang
%doc COPYING NEWS
%{_libdir}/lib%{name}*.so.*
%{_libdir}/girepository-1.0/Json-1.0.typelib
%files devel
%{_libdir}/lib%{name}*.so
%{_libdir}/pkgconfig/%{name}-1.0.pc
%{_includedir}/%{name}-1.0/
%{_datadir}/gtk-doc/
%{_datadir}/gir-1.0/Json-1.0.gir
%{_bindir}/json-glib-format
%{_bindir}/json-glib-validate
%changelog
* Tue Nov 25 2014 Alexander Larsson <alexl@redhat.com> - 1.0.2-1
- Initial version, based on F21
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment