From 6a12a4b1ae44217be98a819ae024758e371bbe55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Sun, 23 Sep 2012 21:18:01 +0200 Subject: [PATCH] initial srpm import --- .gitignore | 1 + girara.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 84 insertions(+) create mode 100644 girara.spec diff --git a/.gitignore b/.gitignore index e69de29..8e0bfec 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/girara-0.1.3.tar.gz diff --git a/girara.spec b/girara.spec new file mode 100644 index 0000000..c369966 --- /dev/null +++ b/girara.spec @@ -0,0 +1,82 @@ +Name: girara +Version: 0.1.3 +Release: 6%{?dist} +Summary: Simple user interface library +Group: Development/Libraries +License: zlib +URL: http://pwmt.org/projects/girara/ +Source0: http://pwmt.org/projects/girara/download/%{name}-%{version}.tar.gz +BuildRequires: gtk2-devel gettext + + +%description +Girara is a library that implements a user interface that focuses on simplicity +and minimalism. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +CFLAGS='%{optflags}' make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} +chmod +x $RPM_BUILD_ROOT/%{_libdir}/libgirara-gtk?.so.1.0 +# fcami - I wish upstream used a consistent naming scheme +%find_lang lib%{name}-gtk2-1 +mv lib%{name}-gtk2-1.lang %{name}.lang + + +%files -f %{name}.lang +%doc AUTHORS LICENSE README +%{_libdir}/libgirara-gtk?.so.1 +%{_libdir}/libgirara-gtk?.so.1.0 + + +%files devel +%{_includedir}/%{name}/*.h +%{_libdir}/pkgconfig/girara-gtk2.pc +%{_libdir}/libgirara-gtk?.so +%{_libdir}/libgirara-gtk?.a + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%changelog +* Sun Aug 21 2012 François Cami - 0.1.3-6 +- really remove EL5-specific stuff (thanks to Mario B) + +* Sun Aug 21 2012 François Cami - 0.1.3-5 +- make -devel really depend on base package. (thanks to Mario B). +- remove el5 compatibility. + +* Sun Aug 19 2012 François Cami - 0.1.3-4 +- remove LICENSE from -devel; fix debuginfo (thanks to Mario B). + +* Sun Aug 12 2012 François Cami - 0.1.3-3 +- BuildRequires fixes suggested by Dennis Johnson. + +* Sat Aug 11 2012 François Cami - 0.1.3-2 +- fixes suggested by Mario Blättermann. + +* Fri Aug 10 2012 François Cami - 0.1.3-1 +- initial package, needed for zathura. + diff --git a/sources b/sources index e69de29..7258df2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +61b2a564c1b79b1b831a8bf517d4644e girara-0.1.3.tar.gz