2013-02-08 14:23:36 +00:00
|
|
|
Name: gcab
|
2013-02-08 15:40:58 +00:00
|
|
|
Version: 0.4
|
2013-02-12 15:03:27 +00:00
|
|
|
Release: 2%{?dist}
|
2013-02-08 14:23:36 +00:00
|
|
|
Summary: Cabinet file library and tool
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
#VCS: git:git://git.gnome.org/gcab
|
|
|
|
URL: http://ftp.gnome.org/pub/GNOME/sources/gcab
|
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/gcab/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: vala-tools
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
gcab is a tool to manipulate Cabinet archive.
|
|
|
|
|
|
|
|
%package -n libgcab1
|
|
|
|
Summary: Library to create Cabinet archives
|
|
|
|
|
|
|
|
%description -n libgcab1
|
|
|
|
libgcab is a library to manipulate Cabinet archive using GIO/GObject.
|
|
|
|
|
|
|
|
%package -n libgcab1-devel
|
|
|
|
Summary: Development files to create Cabinet archives
|
|
|
|
Requires: glib2-devel
|
2013-02-12 15:03:27 +00:00
|
|
|
Requires: pkgconfig
|
2013-02-08 14:23:36 +00:00
|
|
|
|
|
|
|
%description -n libgcab1-devel
|
|
|
|
libgcab is a library to manipulate Cabinet archive.
|
|
|
|
|
|
|
|
Libraries, includes, etc. to compile with the gcab library.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
# --enable-fast-install is needed to fix libtool "cannot relink `gcab'"
|
|
|
|
%configure --disable-silent-rules --disable-static --enable-fast-install
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.a
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post -n libgcab1 -p /sbin/ldconfig
|
|
|
|
%postun -n libgcab1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING NEWS
|
|
|
|
%{_bindir}/gcab
|
|
|
|
%{_mandir}/man1/gcab.1*
|
|
|
|
|
|
|
|
%files -n libgcab1 -f %{name}.lang
|
|
|
|
%doc COPYING NEWS
|
|
|
|
%{_libdir}/girepository-1.0/GCab-1.0.typelib
|
|
|
|
%{_libdir}/libgcab-1.0.so.*
|
|
|
|
|
|
|
|
%files -n libgcab1-devel
|
|
|
|
%{_datadir}/gir-1.0/GCab-1.0.gir
|
|
|
|
%{_datadir}/gtk-doc/html/gcab/*
|
|
|
|
%{_datadir}/vala/vapi/libgcab-1.0.vapi
|
|
|
|
%{_includedir}/libgcab-1.0/*
|
|
|
|
%{_libdir}/libgcab-1.0.so
|
|
|
|
%{_libdir}/pkgconfig/libgcab-1.0.pc
|
|
|
|
|
|
|
|
%changelog
|
2013-02-12 15:03:27 +00:00
|
|
|
* Tue Feb 12 2013 Simone Caronni <negativo17@gmail.com> - 0.4-2
|
|
|
|
- Removed rpm 4.5 macros/tags, it cannot be built with the vala in el5/el6.
|
|
|
|
- Removed redundant requirement on libgcab1%%{_isa}, added automatically by rpm.
|
|
|
|
|
2013-02-08 15:40:58 +00:00
|
|
|
* Fri Feb 8 2013 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.4-1
|
|
|
|
- Update to upstream v0.4.
|
|
|
|
|
2013-02-08 14:23:36 +00:00
|
|
|
* Fri Feb 8 2013 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.3-3
|
|
|
|
- Align more fields.
|
|
|
|
- Use double percentage in comment.
|
|
|
|
- Include COPYING file in gcab package too.
|
|
|
|
|
|
|
|
* Fri Feb 8 2013 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.3-2
|
|
|
|
- Untabify.
|
|
|
|
- Use %%{buildroot} consitantly.
|
|
|
|
- Do not use -1.0 in package names.
|
|
|
|
- Add more tags based on the el5 spec template.
|
|
|
|
- Re-add --enable-fast-install trick, to make gcab relink.
|
|
|
|
|
2013-02-08 14:42:36 +00:00
|
|
|
* Sun Jan 26 2013 Marc-André Lureau <marcandre.lureau@redhat.com> - 0.3-1
|
2013-02-08 14:23:36 +00:00
|
|
|
- Initial package (rhbz#895757)
|