diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-03-14 00:47:25 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-03-14 00:47:25 -0500 |
commit | aadda2ecc9035e57377dc4137edca54c537d9795 (patch) | |
tree | ffc62e7a871f6c9f8c06b3733761c705c4470ac5 /cygwin-crypt.spec | |
download | cygwin-crypt-aadda2ecc9035e57377dc4137edca54c537d9795.tar.gz cygwin-crypt-aadda2ecc9035e57377dc4137edca54c537d9795.tar.xz cygwin-crypt-aadda2ecc9035e57377dc4137edca54c537d9795.zip |
cygwin-crypt 1.1-1
Diffstat (limited to 'cygwin-crypt.spec')
-rw-r--r-- | cygwin-crypt.spec | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/cygwin-crypt.spec b/cygwin-crypt.spec new file mode 100644 index 0000000..d098b7f --- /dev/null +++ b/cygwin-crypt.spec @@ -0,0 +1,76 @@ +%global __strip %{_cygwin_strip} +%global __objdump %{_cygwin_objdump} +%global _use_internal_dependency_generator 0 +%global __find_requires %{_cygwin_findrequires} +%global __find_provides %{_cygwin_findprovides} + +Name: cygwin-crypt +Version: 1.1 +Release: 1%{?dist} +Summary: Cygwin crypt library + +License: GPLv2+ +Group: Development/Libraries +URL: http://cygwin.com/ +Source0: ftp://sourceware.org/pub/cygwin/release/crypt/crypt-%{version}-1-src.tar.bz2 +Patch0: crypt-1.1-AR.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: cygwin-filesystem +BuildRequires: cygwin-gcc +BuildRequires: cygwin-binutils + + +%description +Cygwin crypt library. + +%package static +Summary: Static version of the Cygwin crypt library. +Group: Development/Libraries +Requires: cygwin-crypt = %{version}-%{release} + +%description static +Static version of the Cygwin crypt library. + + +%prep +%setup -q -n crypt-%{version}-1 +%patch0 -p1 + +%build +make %{?_smp_flags} \ + CC=%{_cygwin_cc} \ + AR=%{_cygwin_ar} \ + CFLAGS="%{_cygwin_cflags}" + + +%install +rm -rf $RPM_BUILD_ROOT + +%{_cygwin_makeinstall} + +rm -fr $RPM_BUILD_ROOT%{_cygwin_prefix}/share/doc/Cygwin + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc crypt.README +%{_cygwin_bindir}/cygcrypt-0.dll +%{_cygwin_bindir}/crypt.exe +%{_cygwin_includedir}/crypt.h +%{_cygwin_libdir}/libcrypt.dll.a + + +%files static +%defattr(-,root,root,-) +%{_cygwin_libdir}/libcrypt.a + + +%changelog +* Sun Mar 13 2011 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 1.1-1 +- Initial RPM release. |