mirror of
https://abf.rosa.ru/djam/json-glib.git
synced 2025-02-23 18:22:51 +00:00
Automatic import for version 0.14.2
This commit is contained in:
parent
19ea078a88
commit
e338a9f0a1
2 changed files with 39 additions and 16 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
"json-glib-0.12.6.tar.xz": 755c19d2329877393884d66126b837ce51572d78
|
"json-glib-0.14.2.tar.xz": 077c5a7bfabdaefba1f4472100e29add9aa910a4
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
%define libver 1.0
|
%define libver 1.0
|
||||||
%define major 0
|
%define major 0
|
||||||
|
%define girmajor 1.0
|
||||||
|
|
||||||
%define libname %mklibname %{name} %{libver} %{major}
|
%define libname %mklibname %{name} %{libver} %{major}
|
||||||
%define develname %mklibname %{name} -d
|
%define develname %mklibname %{name} -d
|
||||||
|
%define girname %mklibname %{name}-gir %{girmajor}
|
||||||
|
|
||||||
|
%define url_ver %(echo %{version}|cut -d. -f1,2)
|
||||||
|
|
||||||
Name: json-glib
|
Name: json-glib
|
||||||
Version: 0.12.6
|
Version: 0.14.2
|
||||||
Release: %mkrel 1
|
Release: 1
|
||||||
Summary: Library for JavaScript Object Notation format
|
Summary: Library for JavaScript Object Notation format
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://live.gnome.org/JsonGlib
|
URL: http://live.gnome.org/JsonGlib
|
||||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.xz
|
Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
|
@ -25,8 +28,7 @@ for the JavaScript Object Notation (JSON) format.
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Shared libraries for %{name}
|
Summary: Shared libraries for %{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Provides: lib%%{name} = %{version}
|
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
%{name} is a library providing serialization and deserialization support
|
%{name} is a library providing serialization and deserialization support
|
||||||
|
@ -43,42 +45,63 @@ Requires: %{libname} = %{version}
|
||||||
The %{develname} package contains libraries and header files for
|
The %{develname} package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package -n %{girname}
|
||||||
|
Summary: GObject Introspection interface description for %name
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: %{libname} = %{version}-%{release}
|
||||||
|
Conflicts: %{mklibname %{name}1.0-gir 1.0} < 0.13.4-3
|
||||||
|
|
||||||
|
%description -n %{girname}
|
||||||
|
GObject Introspection interface description for %name.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure2_5x --enable-static=no
|
%configure2_5x --disable-static
|
||||||
%make
|
%make
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
%makeinstall_std
|
%makeinstall_std
|
||||||
|
|
||||||
|
# we don't want these
|
||||||
|
find %{buildroot} -name "*.la" -exec rm -rf {} \;
|
||||||
|
|
||||||
|
%find_lang %{name}-%{libver}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%make check
|
%make check
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files -f %{name}-%{libver}.lang
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/lib%{name}-%{libver}.so.%{major}*
|
%{_libdir}/lib%{name}-%{libver}.so.%{major}*
|
||||||
%_libdir/girepository-1.0/Json-%{libver}.typelib
|
|
||||||
|
%files -n %{girname}
|
||||||
|
%{_libdir}/girepository-1.0/Json-%{girmajor}.typelib
|
||||||
|
|
||||||
%files -n %{develname}
|
%files -n %{develname}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README NEWS ChangeLog
|
%doc README NEWS ChangeLog
|
||||||
%{_libdir}/lib%{name}-%{libver}.la
|
%doc %{_datadir}/gtk-doc/html/%{name}/
|
||||||
%{_libdir}/lib%{name}-%{libver}.so
|
%{_libdir}/lib%{name}-%{libver}.so
|
||||||
%{_libdir}/pkgconfig/%{name}-%{libver}.pc
|
%{_libdir}/pkgconfig/%{name}-%{libver}.pc
|
||||||
%{_includedir}/%{name}-%{libver}/
|
%{_includedir}/%{name}-%{libver}/
|
||||||
%{_datadir}/gtk-doc/html/%{name}/
|
%{_datadir}/gir-1.0/Json-%{girmajor}.gir
|
||||||
%{_datadir}/gir-1.0/Json-%{libver}.gir
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jun 15 2011 Götz Waschk <waschk@mandriva.org> 0.12.6-1mdv2011.0
|
* Mon Oct 31 2011 Matthew Dawkins <mattydaw@mandriva.org> 0.14.2-1
|
||||||
|
+ Revision: 708060
|
||||||
|
- new version 0.14.2
|
||||||
|
copied in changes from mga spec
|
||||||
|
|
||||||
|
* Wed Jun 15 2011 Götz Waschk <waschk@mandriva.org> 0.12.6-1
|
||||||
+ Revision: 685394
|
+ Revision: 685394
|
||||||
- new version
|
- new version
|
||||||
- xz tarball
|
- xz tarball
|
||||||
|
|
Loading…
Add table
Reference in a new issue