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

Sebastian Vahl (svahl) fedora-extras-commits at redhat.com
Thu Nov 22 22:24:04 UTC 2007


Author: svahl

Update of /cvs/extras/rpms/libzip/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29093/devel

Modified Files:
	.cvsignore sources 
Added Files:
	libzip.spec 
Log Message:



--- NEW FILE libzip.spec ---
# Fedora Review Request #393041
# https://bugzilla.redhat.com/show_bug.cgi?id=393041

Name:           libzip
Version:        0.8
Release:        3%{?dist}
Summary:        C library for reading, creating, and modifying zip archives

Group:          System Environment/Libraries
License:        BSD
URL:            http://www.nih.at/libzip/index.html
Source0:        http://www.nih.at/libzip/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  zlib-devel >= 1.2.2

%description
libzip is a C library for reading, creating, and modifying zip archives. Files
can be added from data buffers, files, or compressed data copied directly from 
other zip archives. Changes made without closing the archive can be reverted. 
The API is documented by man pages.

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

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


%prep
%setup -q

# Avoid lib64 rpaths
%if "%{_libdir}" != "/usr/lib"
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%endif


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


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


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS NEWS README THANKS TODO
%{_bindir}/*
%{_libdir}/*.so.*
%{_mandir}/man1/*zip*

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*zip*


%changelog
* Wed Nov 20 2007 Sebastian Vahl <fedora at deadbabylon.de> 0.8-3
- require pkgconfig in devel subpkg
- move api description to devel subpkg
- keep timestamps in %%install
- avoid lib64 rpaths 

* Thu Nov 15 2007 Sebastian Vahl <fedora at deadbabylon.de> 0.8-2
- Change License to BSD

* Thu Nov 15 2007 Sebastian Vahl <fedora at deadbabylon.de> 0.8-1
- Initial version for Fedora


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libzip/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Nov 2007 19:59:13 -0000	1.1
+++ .cvsignore	22 Nov 2007 22:23:32 -0000	1.2
@@ -0,0 +1 @@
+libzip-0.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libzip/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Nov 2007 19:59:13 -0000	1.1
+++ sources	22 Nov 2007 22:23:32 -0000	1.2
@@ -0,0 +1 @@
+b0087c2a12b312f8ec2df1052b2acb4f  libzip-0.8.tar.gz




More information about the fedora-extras-commits mailing list