Mageia Bugzilla – Attachment 2480 Details for
Bug 1851
jabref, JabRef is a java application for bibtex databases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec file for version 2.8
jabref.spec (text/x-rpm-spec), 1.84 KB, created by
Olivier Delaune
on 2012-06-21 11:35:51 CEST
(
hide
)
Description:
spec file for version 2.8
Filename:
MIME Type:
Creator:
Olivier Delaune
Created:
2012-06-21 11:35:51 CEST
Size:
1.84 KB
patch
obsolete
>%define srcname JabRef > >Name: jabref >Version: 2.8 >Release: %mkrel 1 >Summary: JabRef project is a java application for bibtex databases > >Group: Databases >License: GPLv2 >URL: http://jabref.sourceforge.net/ >Source0: %{srcname}-%{version}-src.tar.bz2 >Source1: %{name}-app.png >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build > >BuildArch: noarch >Requires: java-openjdk >= 1.5.0 >Requires: ant > >%description >JabRef is an open source bibliography reference manager. The native file >format used by JabRef is BibTeX, the standard LaTeX bibliography format. >JabRef runs on the Java VM (version 1.5 or newer), and should work >equally well on Windows, Linux and Mac OS X. > >%prep >%setup -q > >%build >ant jars > >%install >rm -rf %{buildroot} >mkdir -p %{buildroot}%{_bindir} >install -D -m 0755 build/lib/%{srcname}-%{version}.jar %{buildroot}/%{_datadir}/%{name} > > >#mga menu entry >mkdir -p %{buildroot}%{_datadir}/applications >cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF >[Desktop Entry] >#Encoding=UTF-8 >Name=JabRef >Comment=GUI for editing BibTex bibliographies >Exec=%{_bindir}/%{name} >Icon=jabref >Terminal=false >Type=Application >Categories=Office;Database; >MimeType=text/x-bibtex; >EOF > ># install icon >install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png > ># install executable >install -d %{buildroot}/%{_bindir} >echo "#!/bin/bash >java -jar %{_datadir}/"%{name} " & " > %{buildroot}/%{_bindir}/%{name} >chmod 755 %{buildroot}/%{_bindir}/%{name} > > >%clean >rm -rf %{buildroot} > >%files >%defattr(-,root,root,-) >%doc src/txt/* >%{_bindir}/%{name} >%{_datadir}/%{name} >%{_datadir}/applications/%{name}.desktop >%{_datadir}/pixmaps/%{name}.png > >%changelog >* Tue Aug 16 2011 Olivier Delaune <olivier.delaune@wanadoo.fr> 2.8-1.mga2 >- Specfile adaptations for Mageia >
%define srcname JabRef Name: jabref Version: 2.8 Release: %mkrel 1 Summary: JabRef project is a java application for bibtex databases Group: Databases License: GPLv2 URL: http://jabref.sourceforge.net/ Source0: %{srcname}-%{version}-src.tar.bz2 Source1: %{name}-app.png BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build BuildArch: noarch Requires: java-openjdk >= 1.5.0 Requires: ant %description JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format. JabRef runs on the Java VM (version 1.5 or newer), and should work equally well on Windows, Linux and Mac OS X. %prep %setup -q %build ant jars %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} install -D -m 0755 build/lib/%{srcname}-%{version}.jar %{buildroot}/%{_datadir}/%{name} #mga menu entry mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] #Encoding=UTF-8 Name=JabRef Comment=GUI for editing BibTex bibliographies Exec=%{_bindir}/%{name} Icon=jabref Terminal=false Type=Application Categories=Office;Database; MimeType=text/x-bibtex; EOF # install icon install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png # install executable install -d %{buildroot}/%{_bindir} echo "#!/bin/bash java -jar %{_datadir}/"%{name} " & " > %{buildroot}/%{_bindir}/%{name} chmod 755 %{buildroot}/%{_bindir}/%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc src/txt/* %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Tue Aug 16 2011 Olivier Delaune <olivier.delaune@wanadoo.fr> 2.8-1.mga2 - Specfile adaptations for Mageia
View Attachment As Raw
Actions:
View
Attachments on
bug 1851
:
587
|
588
|
721
|
2479
| 2480