1.0 release

This commit is contained in:
Mamoru Tasaka 2012-08-15 00:58:04 +09:00
parent 52ee8a06b5
commit c914902937
3 changed files with 21 additions and 26 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ libfm-0.1.12.tar.gz
/libfm-0.1.15-D20110807gitd22b41fd2f.tar.gz
/libfm-0.1.16.tar.gz
/libfm-0.1.17.tar.gz
/libfm-1.0.tar.gz

View File

@ -20,8 +20,8 @@
%global build_doc 1
Name: libfm
Version: 0.1.17
Release: %{fedorarel}%{?dist}.1
Version: 1.0
Release: %{fedorarel}%{?dist}
Summary: GIO-based library for file manager-like programs
Group: System Environment/Libraries
@ -35,15 +35,15 @@ Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.
# Fedora specific patches
Patch0: libfm-0.1.9-pref-apps.patch
BuildRequires: libexif-devel
BuildRequires: gtk2-devel >= 2.16.0
BuildRequires: menu-cache-devel >= 0.3.2
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: desktop-file-utils
# For Patch1
BuildRequires: automake
BuildRequires: libtool
BuildRequires: gtk-doc
BuildRequires: vala
%if 0%{?build_doc} < 1
Obsoletes: %{name}-devel-docs < 0.1.15
@ -111,22 +111,10 @@ This package containg development documentation files for %{name}.
%setup -q
%patch0 -p1 -b .orig
# Remove -DG_DISABLE_DEPRECATED for G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME
# on GLib <= 2.27
%if 0%{?fedora} < 15
sed -i.deprecated \
-e '\@-DG_DISABLE_DEPRECATED@d' \
src/Makefile.am
%endif
# ???
#mkdir m4 || :
#sh autogen.sh
# ???
mkdir -p docs/reference/libfm
touch docs/{reference{/libfm/,},}/Makefile.in
# treak rpath
sed -i.libdir_syssearch \
-e '/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib /lib64 |' \
@ -153,7 +141,7 @@ echo '%%defattr(-,root,root,-)' > gtk-header.files
for f in $RPM_BUILD_ROOT%_includedir/%name/%name/*.h
do
bf=$(basename $f)
for dir in base job
for dir in actions base job
do
if [ -f src/$dir/$bf ]
then
@ -185,21 +173,21 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%files -f %{name}.lang
%defattr(-,root,root,-)
# FIXME: Add ChangeLog and NEWS if not empty
%doc AUTHORS COPYING README
%doc AUTHORS
%doc COPYING
%doc README
%dir %{_sysconfdir}/xdg/libfm/
%config(noreplace) %{_sysconfdir}/xdg/libfm/pref-apps.conf
%config(noreplace) %{_sysconfdir}/xdg/libfm/libfm.conf
%{_libdir}/%{name}.so.*
%if 0%{?fedora} < 15
%{_libdir}/gio/modules/libgiofm.so
%endif
%{_libdir}/%{name}.so.3*
%{_datadir}/mime/packages/libfm.xml
%files gtk
%defattr(-,root,root,-)
%{_mandir}/man1/libfm-pref-apps.1.*
%{_bindir}/libfm-pref-apps
%{_libdir}/%{name}-gtk.so.*
%{_libdir}/%{name}-gtk.so.3*
#%%dir %{_libdir}/libfm/
#%%{_libdir}/libfm/gnome-terminal
%{_datadir}/libfm/
@ -231,6 +219,12 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%endif
%changelog
* Wed Aug 15 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.0-1
- 1.0 release
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.17-1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.17-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1 +1 @@
a97e03d973e6ac727f28d0934d6c9ad5 libfm-0.1.17.tar.gz
9f978eb58c72a6623021504832a9da1b libfm-1.0.tar.gz