liboauth/liboauth.spec

133 lines
3.9 KiB
RPMSpec
Raw Normal View History

2010-09-14 14:24:24 +00:00
Name: liboauth
2014-05-19 08:49:00 +00:00
Version: 1.0.3
Release: 5%{?dist}
2010-09-14 14:24:24 +00:00
Summary: OAuth library functions
Group: System Environment/Libraries
License: MIT
URL: http://liboauth.sourceforge.net/
Source0: http://liboauth.sourceforge.net/pool/liboauth-%{version}.tar.gz
2012-09-02 05:02:16 +00:00
%if 0%{?el5}
2010-09-14 14:24:24 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2012-09-02 05:02:16 +00:00
%endif
2010-09-14 14:24:24 +00:00
BuildRequires: curl-devel nss-devel
2010-09-14 14:24:24 +00:00
#Requires:
%description
liboauth is a collection of POSIX-c functions implementing the OAuth
Core RFC 5849 standard. liboauth provides functions to escape and
encode parameters according to OAuth specification and offers
high-level functionality to sign requests or verify OAuth signatures
as well as perform HTTP requests.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%if 0%{?el5}
Requires: pkgconfig curl-devel nss-devel
%endif
2010-09-14 14:24:24 +00:00
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure --disable-static --enable-nss
make %{?_smp_mflags}
%install
2012-09-02 05:02:16 +00:00
%if 0%{?el5}
2010-09-14 14:24:24 +00:00
rm -rf $RPM_BUILD_ROOT
2012-09-02 05:02:16 +00:00
%endif
2010-09-14 14:24:24 +00:00
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
2012-01-31 19:37:45 +00:00
%doc AUTHORS COPYING.MIT README
2010-09-14 14:24:24 +00:00
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
2012-01-31 19:37:45 +00:00
%doc ChangeLog
2010-09-14 14:24:24 +00:00
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/oauth.pc
%{_mandir}/man3/oauth.*
%changelog
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-19 08:49:00 +00:00
* Mon May 19 2014 Michel Salim <salimma@fedoraproject.org> - 1.0.3-1
- Update to 1.0.3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-03-15 08:53:24 +00:00
* Fri Mar 15 2013 Michel Salim <salimma@fedoraproject.org> - 1.0.1-1
- Update to 1.0.1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-09-02 05:02:16 +00:00
* Sun Sep 2 2012 Michel Salim <salimma@fedoraproject.org> - 0.9.7-1
- Update to 0.9.7
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-01-31 19:37:45 +00:00
* Tue Jan 31 2012 Michel Salim <salimma@fedoraproject.org> - 0.9.6-1
- Update to 0.9.6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-03-12 22:08:55 +00:00
* Sat Mar 12 2011 Michel Salim <salimma@fedoraproject.org> - 0.9.4-1
- Update to 0.9.4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-09-29 21:41:26 +00:00
* Wed Sep 29 2010 jkeating - 0.9.0-3.1
- Rebuilt for gcc bug 634757
* Fri Sep 17 2010 Michel Salim <salimma@fedoraproject.org> - 0.9.0-2.1
- [EL5] development package explicitly requires pkgconfig, {curl,nss}-devel
2010-09-14 14:24:24 +00:00
* Fri Sep 10 2010 Michel Salim <salimma@fedoraproject.org> - 0.9.0-2
- Move oauth.3 to devel subpackage
* Wed Sep 8 2010 Michel Salim <salimma@fedoraproject.org> - 0.9.0-1
- Initial package