Compare commits
No commits in common. "a9" and "c8" have entirely different histories.
@ -1,12 +1,15 @@
|
||||
### Abstract ###
|
||||
|
||||
Name: rarian
|
||||
Version: 0.8.1
|
||||
Release: 30%{?dist}
|
||||
Release: 19%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Base
|
||||
Summary: Documentation meta-data library
|
||||
URL: http://rarian.freedesktop.org/
|
||||
Source: http://download.gnome.org/sources/rarian/0.8/rarian-%{version}.tar.bz2
|
||||
Source1: scrollkeeper-omf.dtd
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
### Patch ###
|
||||
|
||||
@ -26,8 +29,7 @@ Requires: coreutils, util-linux, gawk
|
||||
|
||||
### Build Dependencies ###
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libxslt-devel
|
||||
|
||||
%description
|
||||
Rarian is a documentation meta-data library that allows access to documents,
|
||||
@ -35,6 +37,7 @@ man pages and info pages. It was designed as a replacement for scrollkeeper.
|
||||
|
||||
%package compat
|
||||
License: GPLv2+
|
||||
Group: System Environment/Base
|
||||
Summary: Extra files for compatibility with scrollkeeper
|
||||
Requires: rarian = %{version}-%{release}
|
||||
Requires(post): rarian
|
||||
@ -48,6 +51,7 @@ This package contains files needed to maintain backward-compatibility with
|
||||
scrollkeeper.
|
||||
|
||||
%package devel
|
||||
Group: Development/Languages
|
||||
Summary: Development files for Rarian
|
||||
Requires: rarian = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
@ -61,21 +65,24 @@ Rarian library ("librarian").
|
||||
%patch1 -p1 -b .categories
|
||||
|
||||
%build
|
||||
|
||||
%configure --disable-skdb-update
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
%make_build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
mkdir -p %buildroot%{_datadir}/xml/scrollkeeper/dtds
|
||||
cp %{SOURCE1} %buildroot%{_datadir}/xml/scrollkeeper/dtds
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/xml/scrollkeeper/dtds
|
||||
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xml/scrollkeeper/dtds
|
||||
|
||||
rm -rf %buildroot%{_libdir}/librarian.a
|
||||
rm -rf %buildroot%{_libdir}/librarian.la
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.a
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/librarian.la
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%post compat
|
||||
%{_bindir}/rarian-sk-update
|
||||
@ -89,6 +96,8 @@ CATALOG=/etc/xml/catalog
|
||||
"http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd" \
|
||||
"/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" $CATALOG >& /dev/null || :
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%postun compat
|
||||
|
||||
# Delete OMF DTD from XML catalog.
|
||||
@ -99,59 +108,26 @@ if [ $1 = 0 ]; then
|
||||
fi
|
||||
|
||||
%files
|
||||
%license COPYING COPYING.LIB COPYING.UTILS
|
||||
%doc README ChangeLog NEWS AUTHORS
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING COPYING.LIB COPYING.UTILS ChangeLog NEWS AUTHORS
|
||||
%{_bindir}/rarian-example
|
||||
%{_libdir}/librarian.so.*
|
||||
%{_datadir}/librarian
|
||||
%{_datadir}/help
|
||||
|
||||
%files compat
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/rarian-sk-*
|
||||
%{_bindir}/scrollkeeper-*
|
||||
%{_datadir}/xml/scrollkeeper
|
||||
|
||||
%files devel
|
||||
%defattr(644,root,root,755)
|
||||
%{_includedir}/rarian
|
||||
%{_libdir}/librarian.so
|
||||
%{_libdir}/pkgconfig/rarian.pc
|
||||
|
||||
%changelog
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Aug 20 2021 Yago Rubio Sanfiz <iagorubio@fedoraproject.org> - 0.8.1-29
|
||||
- Remove RPATH to fix fail to build on rawhide (rhbz 1987917)
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-26
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Jul 17 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.8.1-21
|
||||
- Add gcc-c++ as BR
|
||||
- spec cleanup
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user