source: projects/specs/trunk/lib/libn/libnfsidmap/libnfsidmap-vl.spec @ 9364

Revision 9364, 3.1 KB checked in by inagaki, 9 years ago (diff)

2015-02-20 Ryoichi INAGAKI <ryo1@…>

  • libnfsidmap, libtirpc, nfs-utils: updated


Line 
1Summary:        NFSv4 ID Mapping Library
2Summary(ja):    NFSv4 ID マッピングライブラリ
3Name:           libnfsidmap
4Version:        0.26
5Release:        1%{?_dist_release}
6
7License:        BSD
8Group:          System Environment/Libraries
9URL:            http://nfs.sourceforge.net
10
11Source0:        https://fedorapeople.org/~steved/%{name}/%{version}/%{name}-%{version}.tar.bz2
12Patch10:        idmap.conf.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildRequires:  pkgconfig
16BuildRequires:  openldap-devel
17BuildRequires:  tcp_wrappers
18
19%description
20In NFSv4, identities of users are conveyed by names rather than user ID
21and group ID. Both the NFS server and client code in the kernel need to
22translate these to numeric IDs.
23
24%package devel
25Summary: Development files for the libnfsidmap library
26Group: Development/Libraries
27Requires: %{name} = %{version}-%{release}
28Requires: pkgconfig
29
30%description devel
31This package includes header files and libraries necessary for
32developing programs which use the libnfsidmap library.
33
34
35%prep
36%setup -q
37%patch10 -p1
38
39%build
40%configure --disable-static --with-pluginpath=%{_libdir}/%{name}
41make %{?_smp_mflags} all
42
43%install
44rm -rf $RPM_BUILD_ROOT
45make install DESTDIR=$RPM_BUILD_ROOT
46
47mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
48install -m 644 idmapd.conf $RPM_BUILD_ROOT%{_sysconfdir}/idmapd.conf
49
50# Delete unneeded files
51rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
52rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(-, root, root)
59%doc AUTHORS ChangeLog NEWS README COPYING
60%config(noreplace) /etc/idmapd.conf
61%{_libdir}/lib*.so.*
62%dir %{_libdir}/%{name}
63%{_libdir}/%{name}/*.so
64%{_mandir}/*/*
65
66%files devel
67%defattr(0644,root,root,755)
68%{_includedir}/nfsidmap.h
69%{_libdir}/lib*.so
70%{_libdir}/pkgconfig/libnfsidmap.pc
71
72
73%changelog
74* Wed Feb 18 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.26-1
75- updated to 0.26
76- split develop files into devel subpackage
77
78* Sat Oct 20 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.25-1
79- new upstream release
80- remove static libs
81
82* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.21-2
83- rebuilt with rpm-4.8.1 for pkg-config
84
85* Fri Jun 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.21-1
86- new upstream release
87
88* Sat Apr 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.20-3
89- rebuilt with openldap-2.4.11
90
91* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.20-2
92- spec in utf-8
93
94* Thu May 15 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.20-1
95- new versioning policy
96- add Patch10 and fix spec to install default idmapd.conf file
97- remove *.la
98
99* Wed Sep 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.20-0vl1
100- updated to 0.20
101
102* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 0.16-0vl3
103- rebuilt with openldap-2.3.27-0vl1
104
105* Sun Jul 02 2006 Satoshi MACHINO <machino@vinelinux.org> 0.16-0vl2
106- rebuilt with openldap-2.3.24-0vl1
107
108* Sun May 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16-0vl1
109- updated to 0.16
110- added pkgconfig files
111- changed Group to System Environment/Libraries
112
113* Tue Mar 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.12-0vl1
114- initial build for Vine Linux
115
Note: See TracBrowser for help on using the repository browser.