|
@@ -1,12 +1,16 @@
|
|
Name: libnih
|
|
Name: libnih
|
|
Version: 1.0.3
|
|
Version: 1.0.3
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
Summary: Lightweight application development library
|
|
Summary: Lightweight application development library
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: GPLv2
|
|
License: GPLv2
|
|
URL: https://launchpad.net/libnih
|
|
URL: https://launchpad.net/libnih
|
|
|
|
+
|
|
Source0: http://launchpad.net/libnih/1.0/%{version}/+download/%{name}-%{version}.tar.gz
|
|
Source0: http://launchpad.net/libnih/1.0/%{version}/+download/%{name}-%{version}.tar.gz
|
|
|
|
+
|
|
|
|
+Patch0: libnih_1.0.3-4ubuntu26.diff.gz
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
BuildRequires: autoconf >= 2.62
|
|
BuildRequires: autoconf >= 2.62
|
|
@@ -48,7 +52,7 @@ developing applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-
|
|
|
|
|
|
+%patch0 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
sed -i 's:$(prefix)/lib:$(prefix)/%{_lib}:g' nih{,-dbus}/Makefile.am
|
|
sed -i 's:$(prefix)/lib:$(prefix)/%{_lib}:g' nih{,-dbus}/Makefile.am
|
|
@@ -103,7 +107,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
-* Fri Feb 02 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
|
|
|
|
|
|
+* Sun Jun 22 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.0.3-2
|
|
|
|
+- apply ubuntu patch
|
|
|
|
+
|
|
|
|
+* Thu Feb 02 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|
|
* Sat Feb 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
|
|
* Sat Feb 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
|