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

Revision 8781, 3.7 KB checked in by daisuke, 10 years ago (diff)

obconf:

  • rebuild with openbox-3.5
  • use 2.0.4 release tar ball
  • drop all patches
Line 
1Name:           obconf
2Version:        2.0.4
3Release:        2%{?_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}.tar.gz
11Source1:        obconf-2.0.3-ja.po
12#Patch0:         fix_freedesktop_compliance.patch
13#Patch1:         revert_new_button_layout.patch
14#Patch2:         show_specific_tab.dpatch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18Requires:       openbox >= 3.5
19BuildRequires:  openbox-devel >= 3.5
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
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%configure
49make %{?_smp_mflags}
50
51
52%install
53rm -rf %{buildroot}
54make install DESTDIR=%{buildroot}
55%find_lang %{name}
56desktop-file-install --vendor vine      \
57        --dir %{buildroot}%{_datadir}/applications      \
58        --add-category  X-System        \
59        --delete-original       \
60        %{buildroot}%{_datadir}/applications/%{name}.desktop
61
62
63%clean
64rm -rf %{buildroot}
65
66
67%post
68update-mime-database %{_datadir}/mime &> /dev/null
69update-desktop-database %{_datadir}/applications &> /dev/null
70:
71
72
73%postun
74update-mime-database %{_datadir}/mime &> /dev/null
75update-desktop-database %{_datadir}/applications &> /dev/null
76:
77
78
79%files -f %{name}.lang
80%defattr(-,root,root,-)
81%doc AUTHORS COPYING README
82%{_bindir}/%{name}
83%{_datadir}/%{name}/
84%{_datadir}/applications/vine-%{name}.desktop
85%{_datadir}/mime/packages/%{name}.xml
86%{_datadir}/mimelnk/
87%{_datadir}/pixmaps/%{name}.png
88
89
90%changelog
91* Fri Jul 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.0.4-2
92- rebuild with openbox-3.5
93- use 2.0.4 release tar ball
94- drop all patches
95
96* Sat Feb 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.4-1.git20120217
97- new upstream release
98  - built trunk snapshot
99- added patch0-3 from Debian sid
100- fixed Summary(ja) and description -l ja
101- changed URL and Source0
102
103* Fri Jul 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-4
104- rebuilt with current environment
105
106* Wed Mar 25 2009 IWAI, Masaharu <iwai@alib.jp> - 2.0.3-3
107- add ja.po (SOURCE1)
108  - update %%prep section for ja.po
109
110* Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-2vl5
111- fixed some little problem
112
113* Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-1vl5
114- initial build for VineSeed
115- fixed Requires: openbox >= 3.4
116
117* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
118- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
119
120* Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-2
121- Rebuild for new openbox
122
123* Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-1
124- Update to 2.0.3
125
126* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-2
127- Update license tag
128
129* Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-1
130- Update to 2.0.2
131
132* Thu Jun 14 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.1-1
133- Update to 2.0.1
134
135* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-3
136- Mass FC6 rebuild
137
138* Thu Jul 13 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-2
139- Add BR: libSM-devel to fix build issue.
140
141* Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-1
142- Initial packaging.
Note: See TracBrowser for help on using the repository browser.