update to 0.2.0

epel9
François Cami 11 years ago
parent d165d29d34
commit 28bded0492

1
.gitignore vendored

@ -4,3 +4,4 @@
/girara-0.1.6.tar.gz
/girara-0.1.7.tar.gz
/girara-0.1.9.tar.gz
/girara-0.2.0.tar.gz

@ -1,12 +1,12 @@
Name: girara
Version: 0.1.9
Version: 0.2.0
Release: 1%{?dist}
Summary: Simple user interface library
Group: Development/Libraries
License: zlib
URL: http://pwmt.org/projects/%{name}/
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz
BuildRequires: gtk2-devel gettext
BuildRequires: gtk3-devel gettext
%description
Girara is a library that implements a user interface that focuses on simplicity
@ -25,17 +25,14 @@ developing applications that use %{name}.
%setup -q
%build
# enforce gtk2
sed -i -e 's/^GIRARA_GTK_VERSION.*/GIRARA_GTK_VERSION ?= 2/g' config.mk
# build
CFLAGS='%{optflags}' make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} LIBDIR=%{_libdir}
chmod +x %{buildroot}/%{_libdir}/libgirara-gtk?.so.1.1
# fcami - I wish upstream used a consistent naming scheme
%find_lang lib%{name}-gtk2-1
mv lib%{name}-gtk2-1.lang %{name}.lang
%find_lang lib%{name}-gtk3-1
mv lib%{name}-gtk3-1.lang %{name}.lang
rm -f %{buildroot}/%{_libdir}/libgirara-gtk?.a
%files -f %{name}.lang
@ -44,7 +41,7 @@ rm -f %{buildroot}/%{_libdir}/libgirara-gtk?.a
%files devel
%{_includedir}/%{name}/*.h
%{_libdir}/pkgconfig/girara-gtk2.pc
%{_libdir}/pkgconfig/girara-gtk3.pc
%{_libdir}/libgirara-gtk?.so
%post -p /sbin/ldconfig
@ -52,6 +49,9 @@ rm -f %{buildroot}/%{_libdir}/libgirara-gtk?.a
%postun -p /sbin/ldconfig
%changelog
* Wed Mar 05 2014 François Cami <fcami@fedoraproject.org> - 0.2.0-1
* Update to 0.2.0 and switch to gtk3.
* Sat Dec 28 2013 François Cami <fcami@fedoraproject.org> - 0.1.9-1
- Update to latest upstream.
- Enforce building against gtk2 for now.

@ -1 +1 @@
0b51fc07b5763b506d46598576e5576e girara-0.1.9.tar.gz
cb965af58bc435f356296e62629716f5 girara-0.2.0.tar.gz

Loading…
Cancel
Save