[flickcurl/f19: 2/2] New version.
Christopher Meng
cicku at fedoraproject.org
Mon Aug 26 05:01:20 UTC 2013
commit 92b18040732131425b86f29744dfca8a45d363f1
Author: Koji <koji at fedoraproject.org>
Date: Mon Aug 26 13:00:21 2013 +0800
New version.
.gitignore | 1 +
flickcurl.spec | 88 +++++++++++++++++++++++--------------------------------
sources | 2 +-
3 files changed, 39 insertions(+), 52 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6ca297d..f1f5b0a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
flickcurl-1.18.tar.gz
/flickcurl-1.22.tar.gz
+/flickcurl-1.24.tar.gz
diff --git a/flickcurl.spec b/flickcurl.spec
index 5c20171..02c68f5 100644
--- a/flickcurl.spec
+++ b/flickcurl.spec
@@ -1,89 +1,75 @@
-Name: flickcurl
-Version: 1.22
-Release: 4%{?dist}
-Summary: C library for the Flickr API
-
-Group: System Environment/Libraries
-License: LGPLv2+ or GPLv2+ or ASL 2.0
-URL: http://librdf.org/%{name}/
-Source0: http://download.dajobe.org/%{name}/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: libxml2-devel, libcurl-devel, chrpath, raptor2-devel
+Name: flickcurl
+Version: 1.24
+Release: 1%{?dist}
+Summary: C library for the Flickr API
+License: LGPLv2+ or GPLv2+ or ASL 2.0
+URL: http://librdf.org/flickcurl
+Source0: http://download.dajobe.org/%{name}/%{name}-%{version}.tar.gz
+BuildRequires: libxml2-devel libcurl-devel chrpath raptor2-devel
%description
-Flickcurl is a C library for the Flickr API, handling creating the
-requests, signing, token management, calling the API, marshalling
-request parameters and decoding responses. It uses libcurl to call the
-REST web service and libxml2 to manipulate the XML
-responses. Flickcurl supports 100% of the 2009-04-04 version of the
-API (see Flickcurl API coverage) including the functions for
-photo/video uploading, browsing, searching, adding and editing
-comments, groups, notes, photosets, categories, activity, blogs,
-favorites, places, tags, machine tags, institutions, pandas and
-photo/video metadata. It also includes a program flickrdf to turn
-photo metadata, tags, machine tags and places into an RDF triples
-description.
-
-%package devel
-Summary: Development files for %{name}
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}, libxml2-devel, libcurl-devel, raptor2-devel
-BuildRequires: pkgconfig
-
-%description devel
+Flickcurl is a C library for the Flickr API, handling creating the requests,
+signing, token management, calling the API, marshalling request parameters
+and decoding responses. It uses libcurl to call the REST web service and
+libxml2 to manipulate the XML responses. Flickcurl supports all of the API
+including the functions for photo/video uploading, browsing, searching,
+adding and editing comments, groups, notes, photosets, categories, activity,
+blogs, favorites, places, tags, machine tags, institutions, pandas and
+photo/video metadata. It also includes a program flickrdf to turn photo
+metadata, tags, machine tags and places into an RDF triples description.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release} libxml2-devel libcurl-devel raptor2-devel
+BuildRequires: pkgconfig
+
+%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
-
%prep
%setup -q
-
%build
%configure --disable-static
make %{?_smp_mflags}
-
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+make install DESTDIR=%{buildroot}
+find %{buildroot} -name '*.la' -delete
#removing rpaths with chrpath
-chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickcurl
-chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickrdf
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+chrpath --delete %{buildroot}%{_bindir}/flickcurl
+chrpath --delete %{buildroot}%{_bindir}/flickrdf
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-
%files
-%defattr(-,root,root,-)
-%doc COPYING AUTHORS README NOTICE
+%doc AUTHORS COPYING README NOTICE
%doc LICENSE-2.0.txt LICENSE.html COPYING.LIB
%doc coverage.html ChangeLog README.html NEWS.html
%{_libdir}/*.so.*
%{_bindir}/flickcurl
%{_bindir}/flickrdf
-%{_mandir}/man1/%{name}.1.gz
-%{_mandir}/man1/flickrdf.1.gz
+%{_mandir}/man1/%{name}.1*
+%{_mandir}/man1/flickrdf.1*
%files devel
-%defattr(-,root,root,-)
+%doc COPYING COPYING.LIB
%{_includedir}/*
%{_datadir}/gtk-doc/html/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_bindir}/flickcurl-config
-%{_mandir}/man1/%{name}-config.1.gz
+%{_mandir}/man1/%{name}-config.1*
%changelog
+* Sun Aug 25 2013 Christopher Meng <rpm at cicku.me> - 1.24-1
+- Update to new version.
+- SPEC cleanup and update the description.
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.22-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 1e15e18..a7ad396 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-33106156f9a9e538b5787f92db717f5d flickcurl-1.22.tar.gz
+7cf6a627465471d76a5f4dc31099d9cf flickcurl-1.24.tar.gz
More information about the scm-commits
mailing list