]> git.pld-linux.org Git - packages/gexiv2.git/blame - gexiv2.spec
- updated to 0.10.3
[packages/gexiv2.git] / gexiv2.spec
CommitLineData
a87b73d6
JB
1#
2# Conditional build:
3%bcond_without static_libs # static library
4#
7cbb7954
JB
5Summary: GObject-based wrapper around the Exiv2 library
6Summary(pl.UTF-8): Oparte na GObject obudowanie biblioteki Exiv2
819f5fc4 7Name: gexiv2
23053dc8
JB
8Version: 0.10.3
9Release: 1
7cbb7954
JB
10License: GPL v2
11Group: Libraries
6f8130d9 12Source0: http://ftp.gnome.org/pub/GNOME/sources/gexiv2/0.10/%{name}-%{version}.tar.xz
23053dc8 13# Source0-md5: f255100a009027d4eaa0f075bb79c655
a87b73d6 14URL: https://wiki.gnome.org/Projects/gexiv2
3be85c32 15BuildRequires: exiv2-devel >= 0.21
a87b73d6
JB
16BuildRequires: glib2-devel >= 1:2.26.1
17BuildRequires: gobject-introspection-devel >= 0.10
7cbb7954
JB
18BuildRequires: libstdc++-devel
19BuildRequires: libtool >= 2:1.5
20BuildRequires: m4
a87b73d6
JB
21BuildRequires: pkgconfig >= 1:0.26
22BuildRequires: python >= 2
23BuildRequires: python-pygobject3-devel >= 3
6f8130d9 24BuildRequires: python3 >= 1:3.2
a87b73d6
JB
25BuildRequires: python3-pygobject3-devel >= 3
26BuildRequires: rpmbuild(macros) >= 1.219
3be85c32 27Requires: exiv2-libs >= 0.21
a87b73d6 28Requires: glib2 >= 1:2.26.1
819f5fc4
CM
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
dfb42d93 32gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes
819f5fc4
CM
33the basic features of Exiv2 available to GNOME applications.
34
7cbb7954
JB
35%description -l pl.UTF-8
36gexiv2 to oparte na GObject obudowanie biblioteki Exiv2. Udostępnia
37podstawowe możliwości Exiv2 aplikacjom GNOME.
38
819f5fc4 39%package devel
7cbb7954
JB
40Summary: Header files for gexiv2 library
41Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gexiv2
dfb42d93 42Group: Development/Libraries
b23ae6ce 43Requires: %{name} = %{version}-%{release}
7cbb7954 44Requires: exiv2-devel >= 0.21
a87b73d6 45Requires: glib2-devel >= 1:2.26.1
7cbb7954 46Requires: libstdc++-devel
819f5fc4
CM
47
48%description devel
7cbb7954
JB
49Header files for gexiv2 library.
50
51%description devel -l pl.UTF-8
52Pliki nagłówkowe biblioteki gexiv2.
819f5fc4
CM
53
54%package static
7cbb7954
JB
55Summary: Static gexiv2 library
56Summary(pl.UTF-8): Statyczna biblioteka gexiv2
dfb42d93 57Group: Development/Libraries
7cbb7954 58Requires: %{name}-devel = %{version}-%{release}
819f5fc4
CM
59
60%description static
7cbb7954
JB
61Static gexiv2 library.
62
63%description static -l pl.UTF-8
64Statyczna biblioteka gexiv2.
65
a87b73d6
JB
66%package -n python-gexiv2
67Summary: Python 2 binding for gexiv2 library
68Summary(pl.UTF-8): Wiązanie Pythona 2 do biblioteki gexiv2
69Group: Development/Languages/Python
70Requires: %{name} = %{version}-%{release}
4b9da47c 71Requires: python-pygobject3 >= 3
a87b73d6
JB
72
73%description -n python-gexiv2
74Python 2 binding for gexiv2 library.
75
76%description -n python-gexiv2 -l pl.UTF-8
77Wiązanie Pythona 2 do biblioteki gexiv2.
78
79%package -n python3-gexiv2
80Summary: Python 3 binding for gexiv2 library
81Summary(pl.UTF-8): Wiązanie Pythona 3 do biblioteki gexiv2
82Group: Development/Languages/Python
83Requires: %{name} = %{version}-%{release}
4b9da47c 84Requires: python3-pygobject3 >= 3
a87b73d6
JB
85
86%description -n python3-gexiv2
87Python 3 binding for gexiv2 library.
88
89%description -n python3-gexiv2 -l pl.UTF-8
90Wiązanie Pythona 3 do biblioteki gexiv2.
91
7cbb7954
JB
92%package -n vala-gexiv2
93Summary: Vala binding for gexiv2 library
94Summary(pl.UTF-8): Wiązanie języka vala do biblioteki gexiv2
95Group: Development/Languages
96Requires: %{name}-devel = %{version}-%{release}
97
98%description -n vala-gexiv2
99Vala binding for gexiv2 library.
100
101%description -n vala-gexiv2 -l pl.UTF-8
102Wiązanie języka vala do biblioteki gexiv2.
819f5fc4
CM
103
104%prep
a87b73d6 105%setup -q
819f5fc4
CM
106
107%build
a87b73d6
JB
108%configure \
109 --enable-introspection \
110 %{?with_static_libs:--enable-static}
819f5fc4 111
a87b73d6 112%{__make}
7cbb7954 113
819f5fc4
CM
114%install
115rm -rf $RPM_BUILD_ROOT
116
117%{__make} install \
a87b73d6
JB
118 DESTDIR=$RPM_BUILD_ROOT
119
120%py_comp $RPM_BUILD_ROOT%{py_sitedir}/gi/overrides
121%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/gi/overrides
122%py_postclean
819f5fc4
CM
123
124%clean
125rm -rf $RPM_BUILD_ROOT
126
7cbb7954
JB
127%post -p /sbin/ldconfig
128%postun -p /sbin/ldconfig
129
819f5fc4
CM
130%files
131%defattr(644,root,root,755)
a87b73d6 132%doc AUTHORS NEWS README THANKS
7cbb7954 133%attr(755,root,root) %{_libdir}/libgexiv2.so.*.*.*
56265065 134%attr(755,root,root) %ghost %{_libdir}/libgexiv2.so.2
a87b73d6 135%{_libdir}/girepository-1.0/GExiv2-0.10.typelib
819f5fc4
CM
136
137%files devel
138%defattr(644,root,root,755)
7cbb7954
JB
139%attr(755,root,root) %{_libdir}/libgexiv2.so
140%{_libdir}/libgexiv2.la
a87b73d6 141%{_datadir}/gir-1.0/GExiv2-0.10.gir
7cbb7954
JB
142%{_includedir}/gexiv2
143%{_pkgconfigdir}/gexiv2.pc
819f5fc4 144
a87b73d6 145%if %{with static_libs}
819f5fc4
CM
146%files static
147%defattr(644,root,root,755)
7cbb7954 148%{_libdir}/libgexiv2.a
a87b73d6
JB
149%endif
150
151%files -n python-gexiv2
152%defattr(644,root,root,755)
153%{py_sitedir}/gi/overrides/GExiv2.py[co]
154
155%files -n python3-gexiv2
156%defattr(644,root,root,755)
157%{py3_sitedir}/gi/overrides/GExiv2.py
7cbb7954
JB
158
159%files -n vala-gexiv2
160%defattr(644,root,root,755)
161%{_datadir}/vala/vapi/gexiv2.vapi
This page took 0.089094 seconds and 4 git commands to generate.