avatar
Rosa has added 1638e20b15
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "libgexiv2-0.3.0.tar.bz2": bf1186d480078cc87020db7d9f24f20b1e73a171
view file @ 1638e20b15
... ... --- /dev/null
... ... +++ b/libgexiv2-0.2.1-link.patch
... ... @@ -0,0 +1,9 @@
1
--- Makefile.link	2010-12-05 06:19:43.000000000 +0100
2
+++ Makefile	2010-12-05 06:20:00.000000000 +0100
3
@@ -167,5 +167,5 @@
4
 	libtool --mode=compile --tag=CC $(CXX) -c $(EXT_PKGS_CFLAGS) $(CFLAGS) -I. -o $@ $<
5
 
6
 $(LIBRARY_BIN): $(EXPANDED_OBJ_FILES)
7
-	libtool --mode=link --tag=CC $(CXX) -rpath $(PREFIX)/$(LIB) $(EXPANDED_LO_FILES) $(EXT_PKGS_LDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(LIBRARY_BIN)
8
+	libtool --mode=link --tag=CC $(CXX) -rpath $(PREFIX)/$(LIB) $(EXPANDED_LO_FILES) $(EXT_PKGS_LDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(LIBRARY_BIN) -lm -lstdc++
9
 
view file @ 1638e20b15
... ... --- /dev/null
... ... +++ b/libgexiv2.spec
... ... @@ -0,0 +1,97 @@
1
%define major 0
2
%define libname %mklibname gexiv2_ %major
3
%define develname %mklibname -d gexiv2
4
5
Summary:	A GObject-based wrapper around the Exiv2 library
6
Name:		libgexiv2
7
Version:	0.3.0
8
Release:	%mkrel 2
9
License:	GPLv2+
10
Group:		Graphics
11
Source0:	http://yorba.org/download/gexiv2/0.3/%{name}-%{version}.tar.bz2
12
Patch1:		libgexiv2-0.2.1-link.patch
13
Url:		http://trac.yorba.org/wiki/gexiv2
14
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
15
BuildRequires:	libexiv-devel >= 0.21
16
BuildRequires:	glib2-devel
17
BuildRequires:	libtool
18
BuildRequires:	sed
19
20
%description
21
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes
22
the basic features of Exiv2 available to GNOME applications.
23
24
%package -n %libname
25
Summary: A GObject-based wrapper around the Exiv2 library
26
Group: Graphics
27
28
%description -n %libname
29
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes
30
the basic features of Exiv2 available to GNOME applications.
31
32
%package -n %develname
33
Group: Development/C
34
Summary: A GObject-based wrapper around the Exiv2 library
35
Requires: %libname = %version-%release
36
Provides: %name-devel = %version-%release
37
38
%description -n %develname
39
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes
40
the basic features of Exiv2 available to GNOME applications.
41
42
%prep
43
%setup -q -n %{name}-%{version}
44
%patch1 -p0
45
sed -i -e 's#libdir=.*#libdir=${exec_prefix}/%{_lib}#' gexiv2.m4
46
47
%build
48
%configure2_5x
49
%make
50
51
%install
52
rm -rf ${RPM_BUILD_ROOT}
53
%makeinstall_std LIB=%{_lib}
54
55
%find_lang %{name}
56
57
%clean
58
rm -rf $RPM_BUILD_ROOT
59
60
%files -n %libname
61
%defattr(-,root,root)
62
%{_libdir}/*.so.%{major}*
63
64
%files -n %develname
65
%defattr(-,root,root)
66
%{_includedir}/gexiv2
67
%{_libdir}/*.so
68
%{_libdir}/*.la
69
%{_libdir}/*.a
70
%{_libdir}/pkgconfig/*.pc
71
%{_datadir}/vala/vapi/gexiv2.vapi
72
73
74
%changelog
75
* Sun Feb 27 2011 Funda Wang <fwang@mandriva.org> 0.3.0-2mdv2011.0
76
+ Revision: 640542
77
- update BR
78
- rebuild to obsolete old packages
79
80
* Sun Jan 30 2011 Funda Wang <fwang@mandriva.org> 0.3.0-1
81
+ Revision: 634101
82
- New version 0.3.0
83
84
* Sun Jan 30 2011 Funda Wang <fwang@mandriva.org> 0.2.2-1
85
+ Revision: 634083
86
- update to new version 0.2.2
87
88
* Sun Dec 05 2010 Funda Wang <fwang@mandriva.org> 0.2.1-1mdv2011.0
89
+ Revision: 609601
90
- new version 0.2.1
91
92
* Tue Aug 03 2010 Funda Wang <fwang@mandriva.org> 0.1.0-2mdv2011.0
93
+ Revision: 565536
94
- bump rel
95
- import libgexiv2
96
97

Comments