Changeset 225 in pkcs11-helper


Ignore:
Timestamp:
11/11/11 21:52:56 (6 months ago)
Author:
alonbl
Message:

Fix rpm spec file

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.am

    r199 r225  
    6969dist_doc_DATA=README COPYING.GPL COPYING.BSD COPYING 
    7070noinst_HEADERS=config-w32-vc.h 
    71  
    72 # 
    73 # pkcs11-helper.spec must be on root for invalid RPM 
    74 # 
    75 dist-hook: 
    76         $(LN_S) "distro/rpm/pkcs11-helper.spec" "$(distdir)/pkcs11-helper.spec" 
  • trunk/configure.ac

    r221 r225  
    5555define([PACKAGE_VERSION_MINOR], [10]) 
    5656define([PACKAGE_VERSION_FIX], [0]) 
    57 define([PACKAGE_SUFFIX], [-svn]) 
     57define([PACKAGE_SUFFIX], [_svn]) 
    5858 
    5959AC_INIT([pkcs11-helper],[PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR[]PACKAGE_SUFFIX]) 
  • trunk/distro/rpm/pkcs11-helper.spec.in

    r140 r225  
     1# doc support 
     2%bcond_with doc 
     3 
    14%define         name            @PACKAGE@ 
    25%define         version         @VERSION@ 
    36%define         release         2 
    47%define         prefix          /usr 
    5 %define         with_doc        0 
    68 
    79Summary:        pkcs11-helper is a helper library for the use with smart cards and the PKCS#11 API 
    810Name:           %{name} 
    911Version:        %{version} 
    10 Release:        %{release}%{dist} 
     12Release:        %{release} 
    1113License:        GPL-2/BSD 
    1214Vendor:         The OpenSC Project, http://www.opensc-project.org 
    13 Packager:       Eddy Nigg <eddy_nigg@startcom.org> 
     15Packager:       Alon Bar-Lev <alon.barlev@gmail.com> 
    1416Group:          System/Crypto 
    1517Url:            http://www.opensc-project.org/pkcs11-helper 
    1618Source:         http://www.opensc-project.org/files/pkcs11-helper/%{name}-%{version}.tar.bz2 
    1719BuildRoot:      /var/tmp/%{name}-%{version}-%{release} 
    18 %if %{?with_doc} 
     20%if %{with doc} 
    1921BuildRequires:  doxygen 
    2022%endif 
     
    2224Requires:       openssl >= 0.9.7a 
    2325Provides:       %{name} = %{version} 
    24  
    2526%description 
    2627pkcs11-helper allows using multiple PKCS#11 providers at the same  
     
    3536Requires:       %{name} >= %{version} 
    3637Requires:       pkgconfig 
    37  
    3838%description devel 
    3939pkcs11-helper development files. 
    4040 
    4141%prep 
     42rm -rf "${RPM_BUILD_ROOT}" 
    4243%setup -q 
    4344 
     
    4546%configure -q \ 
    4647        --disable-rpath \ 
    47 %if %{?with_doc} 
     48%if %{with doc} 
    4849        --enable-doc 
    4950%endif 
     
    5253 
    5354%install 
    54 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi 
    55  
     55rm -rf "${RPM_BUILD_ROOT}" 
    5656%makeinstall  
    5757 
    5858%clean 
    59 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi 
     59rm -rf "${RPM_BUILD_ROOT}" 
    6060 
    6161%files 
     
    7171%{_libdir}/pkgconfig/* 
    7272%{_datadir}/aclocal/* 
    73 %if %{?with_doc} 
     73%if %{with doc} 
    7474%{_docdir}/%{name}/api/* 
    7575%endif 
    7676 
    7777%changelog 
     78* Fri Nov 11 2011 Aon Bar-Lev <alon.barlev@gmail.com> 
     79- Cleanups. 
     80 
    7881* Mon Feb 15 2007 Aon Bar-Lev <alon.barlev@gmail.com> 
    7982- Modify docs location. 
Note: See TracChangeset for help on using the changeset viewer.