libgssglue/libgssglue.spec

Fri, 11 Mar 2011 21:36:51 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:36:51 +0100
changeset 1
4667f24fe848
parent 0
4f133201e207
permissions
-rw-r--r--

Adjust specification build configurations to port packages to MeeGo.

michael@0 1 %define _root_libdir /%{_lib}
michael@0 2
michael@1 3 Summary: Generic Security Services Application Programming Interface Library
michael@1 4 Vendor: Europalab Software
michael@1 5 Packager: Michael Schloh von Bennewitz
michael@1 6 Distribution: MeeGo Thirdparty
michael@1 7 Name: libgssglue
michael@1 8 Version: 0.1
michael@1 9 Release: 20101201
michael@1 10 URL: http://www.citi.umich.edu/projects/nfsv4/linux/
michael@1 11 License: GPL+
michael@1 12 Source0: http://www.citi.umich.edu/projects/nfsv4/linux/%{name}/%{name}-%{version}.tar.gz
michael@1 13 Group: System Environment/Libraries
michael@0 14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
michael@1 15 Requires: krb5-libs >= 1.5
michael@0 16
michael@1 17 Provides: libgssapi = %{version}-%{release}
michael@1 18 Provides: libgssapi-devel = %{version}-%{release}
michael@0 19 Obsoletes: libgssapi <= 0.11 libgssapi-devel <= 0.11
michael@0 20
michael@1 21 Patch0: libgssglue.patch
michael@0 22
michael@0 23 %description
michael@0 24 This library exports a gssapi interface, but doesn't implement any gssapi
michael@0 25 mechanisms itself; instead it calls gssapi routines in other libraries,
michael@0 26 depending on the mechanism.
michael@0 27
michael@0 28 %package devel
michael@1 29 Summary: Development files for the gssglue library
michael@1 30 Vendor: Europalab Software
michael@1 31 Packager: Michael Schloh von Bennewitz
michael@1 32 Distribution: MeeGo Thirdparty
michael@0 33 Group: Development/Libraries
michael@0 34 Requires: %{name} = %{version}-%{release}
michael@0 35 Requires: pkgconfig
michael@0 36
michael@0 37 %description devel
michael@0 38 This package includes header files and libraries necessary for
michael@0 39 developing programs which use the gssapi library.
michael@0 40
michael@0 41 %prep
michael@0 42 %setup -q
michael@0 43 %patch0 -p1
michael@0 44
michael@0 45 %build
michael@0 46 %configure
michael@0 47 make %{?_smp_mflags} all
michael@0 48
michael@0 49 %install
michael@0 50 rm -rf %{buildroot}
michael@0 51 mkdir -p %{buildroot}/%{_sysconfdir}
michael@0 52 mkdir -p %{buildroot}%{_root_libdir}
michael@0 53 mkdir -p %{buildroot}%{_libdir}/pkgconfig
michael@0 54 make DESTDIR=%{buildroot} install \
michael@0 55 libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig
michael@0 56 install -p -m 644 doc/gssapi_mech.conf %{buildroot}/%{_sysconfdir}/gssapi_mech.conf
michael@0 57 rm -f %{buildroot}/%{_root_libdir}/*.{a,la}
michael@0 58
michael@0 59 %post -p /sbin/ldconfig
michael@0 60
michael@0 61 %postun -p /sbin/ldconfig
michael@0 62
michael@0 63 %clean
michael@0 64 rm -rf %{buildroot}
michael@0 65
michael@0 66
michael@0 67 %files
michael@0 68 %defattr(-,root,root,-)
michael@0 69 %doc AUTHORS ChangeLog NEWS README
michael@0 70 %{_root_libdir}/libgssglue.so.*
michael@0 71 %config(noreplace) %{_sysconfdir}/gssapi_mech.conf
michael@0 72
michael@0 73 %files devel
michael@0 74 %defattr(0644,root,root,755)
michael@0 75 %{_root_libdir}/libgssglue.so
michael@0 76 %dir %{_includedir}/gssglue
michael@0 77 %dir %{_includedir}/gssglue/gssapi
michael@0 78 %{_includedir}/gssglue/gssapi/gssapi.h
michael@0 79 %{_libdir}/pkgconfig/libgssglue.pc
michael@0 80
michael@0 81 %changelog
michael@1 82 * Sat Dec 4 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.1-20101201
michael@1 83 - Repackage for MeeGo 1.1
michael@1 84
michael@0 85 * Thu Dec 2 2010 Steve Dickson <steved@redhat.com> 0.1-9
michael@0 86 - Moved the libraries from /usr/lib to /lib
michael@0 87
michael@0 88 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8
michael@0 89 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
michael@0 90
michael@0 91 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-7
michael@0 92 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
michael@0 93
michael@0 94 * Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1-6
michael@0 95 - Changed gssapi_mech.conf to use libgssapi_krb5.so.2
michael@0 96 instead of libgssapi_krb5.so (bz 447503)
michael@0 97
michael@0 98 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1-5
michael@0 99 - Autorebuild for GCC 4.3
michael@0 100
michael@0 101 * Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1-4
michael@0 102 - updated Obsoletes: (0.1-3)
michael@0 103 - Obsolete -devel package
michael@0 104
michael@0 105 * Mon Sep 17 2007 Steve Dickson <steved@redhat.com> 0.1-2
michael@0 106 - RPM review
michael@0 107
michael@0 108 * Tue Sep 11 2007 Steve Dickson <steved@redhat.com>
michael@0 109 - Initial commit

mercurial