From 598304f076d19ea4d9eda760450c90575a864b62 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 22 Feb 2013 18:34:32 +0100 Subject: [PATCH] initial import --- .gitignore | 1 + msitools.spec | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 99 insertions(+) create mode 100644 msitools.spec diff --git a/.gitignore b/.gitignore index e69de29..90dc95c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/msitools-0.91.tar.xz diff --git a/msitools.spec b/msitools.spec new file mode 100644 index 0000000..35ffc52 --- /dev/null +++ b/msitools.spec @@ -0,0 +1,97 @@ +Name: msitools +Version: 0.91 +Release: 3%{?dist} +Summary: Windows Installer tools + +License: GPLv2+ +URL: http://ftp.gnome.org/pub/GNOME/sources/%{name} +Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.xz + +Requires: libgsf >= 1.14.24-2 + +BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel +BuildRequires: intltool +BuildRequires: libgcab1-devel >= 0.2 +BuildRequires: libgsf-devel +BuildRequires: libuuid-devel +BuildRequires: vala-tools + +%description +msitools is a collection of utilities to inspect and create Windows +Installer files. It is useful in a cross-compilation environment such +as fedora-mingw. + +%package -n libmsi1 +Summary: A library to manipulate Windows .MSI files +License: LGPLv2+ + +%description -n libmsi1 +libmsi is a GObject library to work with Windows Installer files. It is +a port from the MSI library of the Wine project. + +%package -n libmsi1-devel +Summary: A library to manipulate Windows .MSI files +License: LGPLv2+ +Requires: libmsi1%{?_isa} = %{version}-%{release} + +%description -n libmsi1-devel +The libmsi1-devel package includes the header files for libmsi. + +%prep +%setup -q + + +%build +%configure --enable-fast-install +make %{?_smp_mflags} V=1 + + +%install +%make_install + +rm -f %{buildroot}%{_libdir}/*.a +rm -f %{buildroot}%{_libdir}/*.la + +%post -n libmsi1 -p /sbin/ldconfig +%postun -n libmsi1 -p /sbin/ldconfig + +%files +%doc COPYING TODO +%{_bindir}/msiinfo +%{_bindir}/msibuild +%{_bindir}/msiextract +%{_bindir}/wixl +%{_bindir}/wixl-heat +%{_datadir}/wixl-%{version} +%{_datadir}/bash-completion/completions/msitools + +%files -n libmsi1 +%doc COPYING.LIB +%{_libdir}/girepository-1.0/Libmsi-1.0.typelib +%{_libdir}/libmsi.so.0* + +%files -n libmsi1-devel +%{_datadir}/gir-1.0/Libmsi-1.0.gir +%{_datadir}/vala/vapi/libmsi-1.0.vapi +%{_includedir}/libmsi-1.0/* +%{_libdir}/libmsi.so +%{_libdir}/pkgconfig/libmsi-1.0.pc + + +%changelog +* Fri Feb 15 2013 Paolo Bonzini - 0.91-3 +- Add dependency of libmsi1-devel on libmsi1, reformatted descriptions. + +* Thu Feb 14 2013 Paolo Bonzini - 0.91-2 +- Remove invalid characters from package names, added vala-tools + BuildRequires. + +* Mon Jan 28 2013 Paolo Bonzini - 0.91-1 +- New upstream version. + +* Wed Jan 16 2013 Paolo Bonzini - 0.90-1 +- Added wixl and devel packages. + +* Thu Dec 6 2012 Paolo Bonzini - 0.01-1 +- Initial version. diff --git a/sources b/sources index e69de29..13fa5d6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bec9d9d884213309605528846f7549af msitools-0.91.tar.xz