source: projects/specs/trunk/o/obconf/obconf-vl.spec @ 5679

Revision 5679, 3.6 KB checked in by kudoh, 12 years ago (diff)
Line 
1Name:           obconf
2Version:        2.0.4
3Release:        1.git20120217%{?_dist_release}
4Summary:        A graphical configuration editor for the Openbox window manager
5Summary(ja):    Openbox ウインドウマネージャーのためのグラフィカルな設定エディター
6
7Group:          User Interface/X
8License:        GPLv2+
9URL:            http://openbox.org/wiki/ObConf:About
10Source0:        http://openbox.org/dist/obconf/%{name}-%{version}git20120217.tar.gz
11Source1:        obconf-2.0.3-ja.po
12Patch0:         fix_freedesktop_compliance.patch
13Patch1:         revert_new_button_layout.patch
14Patch2:         show_specific_tab.dpatch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18Requires:       openbox >= 3.4
19BuildRequires:  openbox-devel >= 3.4
20BuildRequires:  libglade2-devel
21BuildRequires:  startup-notification-devel
22BuildRequires:  pkgconfig
23BuildRequires:  desktop-file-utils
24BuildRequires:  libSM-devel
25
26%description
27ObConf is a graphical configuration editor for the Openbox window manager.
28
29%description -l ja
30ObConf は Openbox ウインドウマネージャーのためのグラフィカルな設定エディターです。
31
32%prep
33%setup -q -n obconf
34## for ja.po
35%{__cp} -f %{SOURCE1} po/ja.po
36pushd po
37%{__mv} LINGUAS LINGUAS.orig
38grep -v '^ja' LINGUAS.orig > LINGUAS
39echo 'ja' >> LINGUAS
40msgfmt -o ja.gmo ja.po
41popd
42
43%patch0 -p1
44%patch1 -p1
45%patch2 -p1
46
47%build
48./bootstrap
49%configure
50make %{?_smp_mflags}
51
52
53%install
54rm -rf %{buildroot}
55make install DESTDIR=%{buildroot}
56%find_lang %{name}
57desktop-file-install --vendor vine      \
58        --dir %{buildroot}%{_datadir}/applications      \
59        --add-category  X-System        \
60        --delete-original       \
61        %{buildroot}%{_datadir}/applications/%{name}.desktop
62
63
64%clean
65rm -rf %{buildroot}
66
67
68%post
69update-mime-database %{_datadir}/mime &> /dev/null
70update-desktop-database %{_datadir}/applications &> /dev/null
71:
72
73
74%postun
75update-mime-database %{_datadir}/mime &> /dev/null
76update-desktop-database %{_datadir}/applications &> /dev/null
77:
78
79
80%files -f %{name}.lang
81%defattr(-,root,root,-)
82%doc AUTHORS COPYING README
83%{_bindir}/%{name}
84%{_datadir}/%{name}/
85%{_datadir}/applications/vine-%{name}.desktop
86%{_datadir}/mime/packages/%{name}.xml
87%{_datadir}/mimelnk/
88%{_datadir}/pixmaps/%{name}.png
89
90
91%changelog
92* Sat Feb 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.4-1.git20120217
93- new upstream release
94  - built trunk snapshot
95- added patch0-3 from Debian sid
96- fixed Summary(ja) and description -l ja
97- changed URL and Source0
98
99* Fri Jul 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-4
100- rebuilt with current environment
101
102* Wed Mar 25 2009 IWAI, Masaharu <iwai@alib.jp> - 2.0.3-3
103- add ja.po (SOURCE1)
104  - update %%prep section for ja.po
105
106* Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-2vl5
107- fixed some little problem
108
109* Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-1vl5
110- initial build for VineSeed
111- fixed Requires: openbox >= 3.4
112
113* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
114- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
115
116* Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-2
117- Rebuild for new openbox
118
119* Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-1
120- Update to 2.0.3
121
122* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-2
123- Update license tag
124
125* Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-1
126- Update to 2.0.2
127
128* Thu Jun 14 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.1-1
129- Update to 2.0.1
130
131* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-3
132- Mass FC6 rebuild
133
134* Thu Jul 13 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-2
135- Add BR: libSM-devel to fix build issue.
136
137* Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-1
138- Initial packaging.
Note: See TracBrowser for help on using the repository browser.