rpms/libmspack/devel libmspack.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marc Wiriadisastra (mwiriadi) fedora-extras-commits at redhat.com
Mon Jan 21 21:41:03 UTC 2008


Author: mwiriadi

Update of /cvs/pkgs/rpms/libmspack/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17313/devel

Modified Files:
	.cvsignore sources 
Added Files:
	libmspack.spec 
Log Message:
Initial release



--- NEW FILE libmspack.spec ---
Name:           libmspack
Version:        0.0
Release:        0.4.20060920alpha%{?dist}
Summary:        Library for CAB and related files compression and decompression

Group:          System Environment/Libraries
License:        LGPLv2
URL:            http://www.cabextract.org.uk/libmspack/
Source0:        http://www.cabextract.org.uk/libmspack/libmspack-0.0.20060920alpha.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
The purpose of libmspack is to provide both compression and decompression of 
some loosely related file formats used by Microsoft.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

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


%package        doc
Summary:        Documentation files for %{name}
Group:          Documentation


%description    doc
The %{name}-doc package contains the documentation for developing
applications using %{name}-devel.

%prep
%setup -q -n libmspack-0.0.20060920alpha
chmod a-x mspack/mspack.h

%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
rm $RPM_BUILD_ROOT%{_libdir}/libmspack.la

iconv -f ISO_8859-1 -t utf8 ChangeLog --output Changelog.utf8
touch -r ChangeLog Changelog.utf8
mv Changelog.utf8 ChangeLog

# install the html documentation in the main package directory
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html
install -p -m 0644 doc/*.html doc/*.gif doc/*.png doc/*.css \
   $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/
# install also the main package documentation files manually since
# %%doc isn't used for these files
install -p -m 0644 README TODO COPYING.LIB ChangeLog AUTHORS \
    $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/

%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%dir %{_docdir}/%{name}-%{version}/
%doc %{_docdir}/%{name}-%{version}/README
%doc %{_docdir}/%{name}-%{version}/TODO
%doc %{_docdir}/%{name}-%{version}/COPYING.LIB
%doc %{_docdir}/%{name}-%{version}/ChangeLog
%doc %{_docdir}/%{name}-%{version}/AUTHORS
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%doc 
%{_includedir}/*
%{_libdir}/*.so

%files doc
%defattr(-,root,root,-)
%dir %{_docdir}/%{name}-%{version}/
%doc %{_docdir}/%{name}-%{version}/html/

%changelog
* Sun Jan 20 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> - 0.0-0.4.20060920alpha
- installed documentation into html subdir
- manually installed doc's for main package

* Sun Jan 20 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> - 0.0-0.3.20060920alpha
- Got source using wget -N
- Removed some doc's
- Shifted doc line for doc package
- Added install -p

* Sun Jan 20 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> - 0.0-0.2.20060920alpha
- Changed install script for doc package
- Fixed rpmlint issue with debug package

* Fri Jan 18 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> - 20060920cvs.a-1
- Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libmspack/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Jan 2008 17:24:55 -0000	1.1
+++ .cvsignore	21 Jan 2008 21:40:25 -0000	1.2
@@ -0,0 +1 @@
+libmspack-0.0.20060920alpha.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libmspack/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Jan 2008 17:24:55 -0000	1.1
+++ sources	21 Jan 2008 21:40:25 -0000	1.2
@@ -0,0 +1 @@
+72003dfa5da2e843e3d5ae0c18f7c969  libmspack-0.0.20060920alpha.tar.gz




More information about the fedora-extras-commits mailing list