-
Notifications
You must be signed in to change notification settings - Fork 0
/
libdomainkeys.spec
107 lines (93 loc) · 4.05 KB
/
libdomainkeys.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Name: libdomainkeys
Summary: DomainKey library
Version: 0.69
Release: 0%{?dist}
License: Yahoo! DomainKeys Public License
Group: System Environment/Libraries
Vendor: QmailToaster
Packager: Eric Shubert <[email protected]>
URL: http://domainkeys.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/domainkeys/%{name}/0.69/%{name}-%{version}.tar.gz
BuildRequires: openssl-devel
Obsoletes: libdomainkeys-toaster
BuildRoot: %{_topdir}/BUILDROOT/%{name}-%{version}-%{release}.%{_arch}
%define debug_package %{nil}
#-------------------------------------------------------------------------------
%description
#-------------------------------------------------------------------------------
DomainKey Implementor's library.
#-------------------------------------------------------------------------------
%package -n %{name}-devel
#-------------------------------------------------------------------------------
Summary: DomainKey library development
Group: System Environment/Libraries
Provides: libdomainkeys-static = %{version}-%{release}
%description -n %{name}-devel
Headers and libraries for building packages which use the DomainKey library.
#-------------------------------------------------------------------------------
%prep
#-------------------------------------------------------------------------------
%setup -q
perl -pi -e's/CFLAGS=/CFLAGS=%{optflags} -fPIC /' Makefile
echo -- "-lresolv" > dns.lib
#-------------------------------------------------------------------------------
%build
#-------------------------------------------------------------------------------
make UNAME=Linux
#-------------------------------------------------------------------------------
%install
#-------------------------------------------------------------------------------
rm -rf %{buildroot}
# install directories
#-------------------------------------------------------------------------------
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_bindir}
# install files
#-------------------------------------------------------------------------------
install -p domainkeys.h \
dktrace.h %{buildroot}%{_includedir}
install -p libdomainkeys.a %{buildroot}%{_libdir}
install -p dknewkey dktest %{buildroot}%{_bindir}
#-------------------------------------------------------------------------------
%clean
#-------------------------------------------------------------------------------
rm -rf %{buildroot}
#-------------------------------------------------------------------------------
%files -n %{name}-devel
#-------------------------------------------------------------------------------
%defattr(-,root,root,-)
%doc README CHANGES *.html
%{_bindir}/*
%{_includedir}/*
%{_libdir}/libdomainkeys.a
#-------------------------------------------------------------------------------
%changelog
#-------------------------------------------------------------------------------
* Fri Nov 15 2013 Eric Shubert <[email protected]> 0.69-0.qt
- Migrated to github
- Removed -toaster designation
- Added CentOS 6 support
- Removed unsupported cruft
- Updated to upstream version
* Fri Jun 12 2009 Jake Vickers <[email protected]> 0.68-1.3.6
- Added Fedora 11 support
- Added Fedora 11 x86_64 support
* Tue Jun 02 2009 Jake Vickers <[email protected]> 0.68-1.3.6
- Added Mandriva 2009 support
* Wed Apr 22 2009 Jake Vickers <[email protected]> 0.68-1.3.5
- Added Fedora 9 x86_64 and Fedora 10 x86_64 support
* Fri Feb 13 2009 Jake Vickers <[email protected]> 0.68-1.3.4
- Added Suse 11.1 support
* Sun Feb 08 2009 Jake Vickers <[email protected]> 0.68-1.3.4
- Added Fedora 9 and 10 support
* Sat Apr 14 2007 Nick Hemmesch <[email protected]> 0.68-1.3.3
- Add CentOS 5 i386 support
- Add CentOS 5 x86_64 support
* Wed Nov 01 2006 Erik A. Espinoza <[email protected]> 0.68-1.3.2
- Added Fedora Core 6 support
* Fri Jun 02 2006 Nick Hemmesch <[email protected]> 0.68-1.3.1
- Make compatible with all supported distros
- Add SuSE 10.1 support
* Sun May 07 2006 Nick Hemmesch <[email protected]> 0.68-1.0.1
- Initial build