rpms/json-glib/devel json-glib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Brian Pepple (bpepple) fedora-extras-commits at redhat.com
Sat May 31 00:05:00 UTC 2008


Author: bpepple

Update of /cvs/pkgs/rpms/json-glib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2840/devel

Modified Files:
	.cvsignore sources 
Added Files:
	json-glib.spec 
Log Message:
Initial import.



--- NEW FILE json-glib.spec ---
Name:		json-glib
Version:	0.6.0
Release:	1%{?dist}
Summary:	Library for JavaScript Object Notation format

Group:		System Environment/Libraries
License:	LGPLv2+
URL:		http://live.gnome.org/JsonGlib
Source0:	http://folks.o-hand.com/~ebassi/sources/%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	glib2-devel >= 2.15


%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} = %{version}-%{release}
Requires:	glib2-devel >= 2.15
Requires:	gtk-doc
Requires:	pkgconfig


%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q


%build
%configure --enable-static=no
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'

# Copy the files from the tarball to avoid the IDs generated by gtk-doc being
# different on different builds
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/


%check
#make check


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig


%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc COPYING README NEWS
%{_libdir}/lib%{name}*.so.*


%files devel
%defattr(-,root,root,-)
%{_libdir}/lib%{name}*.so
%{_libdir}/pkgconfig/%{name}-1.0.pc
%{_includedir}/%{name}-1.0/
%{_datadir}/gtk-doc/html/%{name}/


%changelog
* Mon May 19 2008 Brian Pepple <bpepple at fedoraproject.org> - 0.6.0-1
- Update 0.6.0.
- Disable tests for now.
- Add requires on gtk-doc.

* Sun Apr 20 2008 Brian Pepple <bpepple at fedoraproject.org> - 0.4.0-1
- Initial Fedora spec.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/json-glib/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 May 2008 23:53:28 -0000	1.1
+++ .cvsignore	31 May 2008 00:02:27 -0000	1.2
@@ -0,0 +1 @@
+json-glib-0.6.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/json-glib/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 May 2008 23:53:28 -0000	1.1
+++ sources	31 May 2008 00:02:27 -0000	1.2
@@ -0,0 +1 @@
+d4fd6b7975aad7ea6795e045aeff40fb  json-glib-0.6.0.tar.gz




More information about the fedora-extras-commits mailing list