-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlibnss-mysql.spec
72 lines (56 loc) · 2.03 KB
/
libnss-mysql.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Summary: NSS library for MySQL.
Name: libnss-mysql
Version: 1.5
Release: 1
Source0: http://prdownloads.sourceforge.net/libnss-mysql/libnss-mysql-%{version}.tar.gz
URL: http://libnss-mysql.sourceforge.net
License: GPL
Group: System Environment/Base
BuildRoot: %{_tmppath}/%{name}-root
%description
Store your UNIX user accounts in MySQL
%prep
%setup -q -a 0
%build
./configure
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/{etc,lib}
make DESTDIR=$RPM_BUILD_ROOT install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%attr(0755,root,root) /lib/*.so*
%attr(0644,root,root) %config(noreplace) /etc/libnss-mysql.cfg
%attr(0600,root,root) %config(noreplace) /etc/libnss-mysql-root.cfg
%doc README ChangeLog AUTHORS THANKS NEWS COPYING FAQ DEBUGGING UPGRADING TODO
%doc sample
%changelog
* Sat Sep 3 2005 Ben Goodwin <[email protected]> 1.5-1
- Update to 1.4
* Sat Apr 10 2004 Ben Goodwin <[email protected]> 1.4-1
- Update to 1.4
* Sat Apr 10 2004 Ben Goodwin <[email protected]> 1.3-1
- Update to 1.3
- Remove manual static re-link (1.3 relieves the need for this)
- doc += TODO
* Sun Mar 28 2004 Ben Goodwin <[email protected]> 1.2-1
- Update to 1.2
* Tue Mar 02 2004 Ben Goodwin <[email protected]> 1.1-1
- s#exports.linux#.libs/libnss_mysql.ver#
- Oops, libs/*.o not *.lo
* Sat Jul 12 2003 Ben Goodwin <[email protected]> 1.0-2
- Link with version script
* Sat Jul 12 2003 Ben Goodwin <[email protected]> 1.0-1
- Update to 1.0
- Use *.lo instead of individual .lo names in re-link
- Removed -Bgroup and --allow-shlib-undefined linker options
* Thu Jun 19 2003 Ben Goodwin <[email protected]> 0.9-2
- Added ugly hack to relink some libraries static. It will probably
break rpm builds on some hosts ...
* Wed Jun 18 2003 Ben Goodwin <[email protected]> 0.9-1
- Update to 0.9
* Sun Dec 29 2002 Ben Goodwin <[email protected]> 0.8-1
- Initial version