source: projects/specs/trunk/x/xdg-user-dirs/xdg-user-dirs-vl.spec @ 6452

Revision 6452, 3.0 KB checked in by kudoh, 12 years ago (diff)

xdg-user-dirs-vl.spec

Line 
1Summary:        Handles user special directories
2Summary(ja):    ユーザー用の特別なディレクトリの設定
3Name:           xdg-user-dirs
4Version:        0.14
5Release:        1%{?_dist_release}
6Source0:        http://www.gnome.org/~alexl/%{name}-%{version}.tar.gz
7Source1:        xdg-user-dirs.sh
8Patch0:         xdg-user-dirs_update-ja.po.patch
9License:        GPL
10Group:          User Interface/Desktops
11URL:            http://freedesktop.org/wiki/Software/xdg-user-dirs
12
13## Requires:    %{_sysconfdir}/X11/xinit/xinitrc.d
14Requires:       xorg-x11-xinit
15BuildRequires:  gettext
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18%description
19Contains xdg-user-dirs-update that updates folders in a users
20homedirectory based on the defaults configured by the administrator.
21
22%description -l ja
23このパッケージは、システムの設定に基づいてユーザーのホームディレクトリ
24にある特別なフォルダの名前を更新する xdg-user-dirs-update コマンドを含
25んでいます。
26
27%prep
28%setup -q
29%patch0 -p1 -b .update
30
31%build
32%configure
33%{__make} %{?_smp_mflags}
34# compile ja.po
35pushd po
36  msgfmt ja.po -o ja.gmo
37popd
38
39%install
40%{__rm} -rf ${RPM_BUILD_ROOT}
41%{__make} install DESTDIR=${RPM_BUILD_ROOT}
42%{__mkdir} -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/X11/xinit/xinitrc.d
43%{__install} -p -m 755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/X11/xinit/xinitrc.d
44
45%find_lang %{name}
46
47%clean
48rm -rf ${RPM_BUILD_ROOT}
49
50
51%files -f %{name}.lang
52%defattr(-,root,root,-)
53%doc NEWS AUTHORS README ChangeLog COPYING
54%{_bindir}/*
55%config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf
56%config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults
57%{_sysconfdir}/X11/xinit/xinitrc.d/*
58
59%changelog
60* Wed Jun 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
61- new upstream release
62
63* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10-4
64- change Requires: xorg-x11-xinit instead of %%{_sysconfdir}/X11/xinit/xinitrc.d
65
66* Fri Jan 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-3
67- fix japanese translation update
68
69* Sat Nov 29 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-2
70- add Patch0 to modify japanese translation
71
72* Fri Nov 07 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-1
73- initial build for Vine Linux based on fedora package
74
75* Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.10-1
76- Update to 0.10 (new translations)
77
78* Tue Aug 21 2007 Alexander Larsson <alexl@redhat.com> - 0.9-1
79- Update to 0.9 (new translations)
80
81* Tue May 29 2007 Matthias Clasen <mclasen@redhat.com> - 0.8-2
82- Fix a possible crash.
83
84* Wed May 16 2007  <alexl@redhat.com> - 0.8-1
85- Update to 0.8, (only) fixing bug that always recreated deleted directories (#240139)
86
87* Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 0.6-1
88- Update to 0.6 (minor fixes)
89
90* Mon Mar 26 2007 Alexander Larsson <alexl@redhat.com> - 0.5-1
91- update to 0.5 (more translations)
92
93* Wed Mar  7 2007 Alexander Larsson <alexl@redhat.com> - 0.4-1
94- Update to 0.4
95
96* Thu Mar  1 2007 Alexander Larsson <alexl@redhat.com> - 0.3-1
97- Update to 0.3
98
99* Fri Feb 23 2007 Alexander Larsson <alexl@redhat.com> - 0.2-1
100- initial version
Note: See TracBrowser for help on using the repository browser.